[gmyth] don't include curl/types.h, it was empty anyway and got removed from the latest curl

Karsten Hopp karsten at fedoraproject.org
Tue Jul 12 12:25:19 UTC 2011


commit b1cec5a4c0faaeb2371c4e47790a5091f00f2de3
Author: Karsten Hopp <karsten at redhat.com>
Date:   Tue Jul 12 14:27:01 2011 +0200

    don't include curl/types.h, it was empty anyway and got removed from the latest curl

 gmyth-0.7.1-curlheader.patch |   11 +++++++++++
 gmyth.spec                   |    3 +++
 2 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/gmyth-0.7.1-curlheader.patch b/gmyth-0.7.1-curlheader.patch
new file mode 100644
index 0000000..5157181
--- /dev/null
+++ b/gmyth-0.7.1-curlheader.patch
@@ -0,0 +1,11 @@
+diff -up gmyth-0.7.1/gmyth/gmyth_http.h.curlheader gmyth-0.7.1/gmyth/gmyth_http.h
+--- gmyth-0.7.1/gmyth/gmyth_http.h.curlheader	2011-07-11 18:36:54.856814495 +0200
++++ gmyth-0.7.1/gmyth/gmyth_http.h	2011-07-11 18:37:03.648814496 +0200
+@@ -42,7 +42,6 @@
+ #include "gmyth_recprofile.h"
+ 
+ #include <curl/curl.h>
+-#include <curl/types.h>
+ #include <curl/easy.h>
+ 
+ G_BEGIN_DECLS
diff --git a/gmyth.spec b/gmyth.spec
index 94175a0..05c1d63 100644
--- a/gmyth.spec
+++ b/gmyth.spec
@@ -13,6 +13,7 @@ Source1: http://ftp.debian.org/debian/pool/main/g/gmyth-upnp/gmyth-upnp_%{gmyth_
 Patch1: gmyth-remove-debug.patch
 Patch2: gmyth-upnp-remove-warning.patch
 Patch3: gmyth-upnp-0.7.1-fix-dso-linkage.patch
+Patch4: gmyth-0.7.1-curlheader.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 URL: http://gmyth.sf.net
 BuildRequires: mysql-devel curl-devel libxml2-devel glib2-devel libupnp-devel
@@ -42,6 +43,7 @@ pushd gmyth-upnp-%{gmyth_upnp_version}
 %patch2 -p0 -b .warning
 %patch3 -p1 -b .dso
 popd
+%patch4 -p1 -b .curlheader
 
 %build
 %configure
@@ -88,6 +90,7 @@ rm -rf $RPM_BUILD_ROOT
 %changelog
 * Mon Jul 11 2011 Karsten Hopp <karsten at redhat.com> 0.7.1-16
 - bump and rebuild to link with latest libupnp on ppc, too
+- don't include curl/types.h, it was empty anyway and got removed from the latest curl
 
 * Tue May 31 2011 Adam Jackson <ajax at redhat.com> 0.7.1-15
 - Rebuild for new libupnp


More information about the scm-commits mailing list