[packages/librsvg] - fix building on x32

baggins baggins at pld-linux.org
Sat Jan 3 21:47:13 CET 2015


commit daf1fb3bef1af77517c38657305fe3fcdbc45cba
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Jan 3 20:46:56 2015 +0000

    - fix building on x32

 librsvg.spec |  2 ++
 x32.patch    | 11 +++++++++++
 2 files changed, 13 insertions(+)
---
diff --git a/librsvg.spec b/librsvg.spec
index 8f42376..f44d74a 100644
--- a/librsvg.spec
+++ b/librsvg.spec
@@ -20,6 +20,7 @@ Group:		X11/Libraries
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/librsvg/%{mver}/%{name}-%{version}.tar.xz
 # Source0-md5:	259fd160b47ec11f3c27d7e18e507c99
 Source1:	rsvg
+Patch0:		x32.patch
 URL:		http://librsvg.sourceforge.net/
 BuildRequires:	autoconf
 BuildRequires:	automake >= 1:1.9
@@ -158,6 +159,7 @@ Przeglądarka plików SVG oparta na bibliotekach librsvg/GTK+3.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %if %{without apidocs}
 echo 'CLEANFILES=' > gtk-doc.make
diff --git a/x32.patch b/x32.patch
new file mode 100644
index 0000000..b4e5a2e
--- /dev/null
+++ b/x32.patch
@@ -0,0 +1,11 @@
+--- librsvg-2.40.6/configure.in~	2014-12-03 09:31:45.000000000 +0000
++++ librsvg-2.40.6/configure.in	2015-01-03 20:45:37.255065705 +0000
+@@ -154,7 +154,7 @@
+ if test "$enable_pixbuf_loader" = "yes"; then
+   PKG_CHECK_MODULES([GDK_PIXBUF],[gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQUIRED])
+ 
+-  AC_PATH_PROGS([GDK_PIXBUF_QUERYLOADERS],[gdk-pixbuf-query-loaders gdk-pixbuf-query-loaders-64 gdk-pixbuf-query-loaders-32],[none])
++  AC_PATH_PROGS([GDK_PIXBUF_QUERYLOADERS],[gdk-pixbuf-query-loaders gdk-pixbuf-query-loaders-64 gdk-pixbuf-query-loaders-32 gdk-pixbuf-query-loaders-x32],[none])
+ 
+   if test "x$GDK_PIXBUF_QUERYLOADERS" = "xnone"; then
+     AC_MSG_ERROR([gdk-pixbuf-query-loaders not found in path])
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/librsvg.git/commitdiff/daf1fb3bef1af77517c38657305fe3fcdbc45cba



More information about the pld-cvs-commit mailing list