[rest] add patch to fix dso linking
Peter Robinson
pbrobinson at fedoraproject.org
Tue Feb 22 17:18:24 UTC 2011
commit 260e962bf684b2097e2de139f4bc1bb782319c0b
Author: Peter Robinson <pbrobinson at gmail.com>
Date: Tue Feb 22 17:18:25 2011 +0000
add patch to fix dso linking
rest-fixdso.patch | 11 +++++++++++
rest.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletions(-)
---
diff --git a/rest-fixdso.patch b/rest-fixdso.patch
new file mode 100644
index 0000000..b938c56
--- /dev/null
+++ b/rest-fixdso.patch
@@ -0,0 +1,11 @@
+--- rest-0.7.6/docs/reference/rest/Makefile.in.orig 2011-02-22 16:31:17.687229767 +0000
++++ rest-0.7.6/docs/reference/rest/Makefile.in 2011-02-22 16:31:26.528229982 +0000
+@@ -117,7 +117,7 @@
+ INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
+ INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
+ LD = @LD@
+-LDFLAGS = @LDFLAGS@
++LDFLAGS = @LDFLAGS@ -lgobject-2.0 -lglib-2.0
+ LIBOBJS = @LIBOBJS@
+ LIBS = @LIBS@
+ LIBTOOL = @LIBTOOL@
diff --git a/rest.spec b/rest.spec
index ad95204..0d7f979 100644
--- a/rest.spec
+++ b/rest.spec
@@ -7,6 +7,7 @@ Group: System Environment/Libraries
License: LGPLv2
URL: http://www.gnome.org
Source0: ftp://ftp.gnome.org/pub/gnome/sources/%{name}/0.7/%{name}-%{version}.tar.bz2
+Patch0: rest-fixdso.patch
BuildRequires: glib2-devel
BuildRequires: gobject-introspection-devel
@@ -34,9 +35,10 @@ Files for development with %{name}.
%prep
%setup -q
+%patch0 -p1 -b .fixdso
%build
-%configure --disable-static --enable-gtk-doc
+%configure --disable-static --enable-gtk-doc --enable-introspection=yes
make %{?_smp_mflags} V=1
More information about the scm-commits
mailing list