[libdmapsharing] libdmapsharing-2.9.12-glib.patch: Fix FTBFS against new glib

Adam Jackson ajax at fedoraproject.org
Tue Nov 8 22:30:05 UTC 2011


commit 274a5c907a394f4760b86ea7852bb3ba08d98a1e
Author: Adam Jackson <ajax at redhat.com>
Date:   Tue Nov 8 22:29:03 2011 -0500

    libdmapsharing-2.9.12-glib.patch: Fix FTBFS against new glib

 libdmapsharing-2.9.12-glib.patch |   13 +++++++++++++
 libdmapsharing.spec              |    7 ++++++-
 2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/libdmapsharing-2.9.12-glib.patch b/libdmapsharing-2.9.12-glib.patch
new file mode 100644
index 0000000..d0a7207
--- /dev/null
+++ b/libdmapsharing-2.9.12-glib.patch
@@ -0,0 +1,13 @@
+diff -up libdmapsharing-2.9.12/libdmapsharing/dpap-share.c.jx libdmapsharing-2.9.12/libdmapsharing/dpap-share.c
+--- libdmapsharing-2.9.12/libdmapsharing/dpap-share.c.jx	2011-04-30 17:40:56.000000000 -0400
++++ libdmapsharing-2.9.12/libdmapsharing/dpap-share.c	2011-11-08 20:08:25.370101810 -0500
+@@ -27,8 +27,7 @@
+ #include <stdlib.h>
+ 
+ #include <glib/gi18n.h>
+-#include <glib/gslist.h>
+-#include <glib/gmappedfile.h>
++#include <glib.h>
+ 
+ #include <unistd.h>
+ #include <sys/types.h>
diff --git a/libdmapsharing.spec b/libdmapsharing.spec
index a754b50..c3db495 100644
--- a/libdmapsharing.spec
+++ b/libdmapsharing.spec
@@ -1,6 +1,6 @@
 Name: libdmapsharing
 Version: 2.9.12
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: LGPLv2+
 Source: http://www.flyn.org/projects/libdmapsharing/%{name}-%{version}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -9,6 +9,7 @@ Summary: A DMAP client and server library
 Group: Development/Libraries
 BuildRequires: pkgconfig, glib2-devel, libsoup-devel >= 2.32
 BuildRequires: avahi-glib-devel, gdk-pixbuf2-devel, gstreamer-plugins-base-devel >= 0.10.23.2
+Patch0: libdmapsharing-2.9.12-glib.patch
 
 %description 
 libdmapsharing implements the DMAP protocols. This includes support for
@@ -41,6 +42,7 @@ other resources needed for developing applications using libdmapsharing.
 %prep
 
 %setup -q
+%patch0 -p1 -b .glib
 
 %build
 %configure --disable-static
@@ -59,6 +61,9 @@ rm -rf $RPM_BUILD_ROOT
 %postun -p /sbin/ldconfig
 
 %changelog
+* Tue Nov 08 2011 Adam Jackson <ajax at redhat.com> 2.9.12-2
+- libdmapsharing-2.9.12-glib.patch: Fix FTBFS against new glib
+
 * Mon Aug 22 2011 Adam Williamson <awilliam at redhat.com> - 2.9.12-1
 - new upstream version
 


More information about the scm-commits mailing list