]> git.pld-linux.org Git - packages/librsvg.git/commitdiff
- fix building on x32
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 3 Jan 2015 20:46:56 +0000 (20:46 +0000)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 3 Jan 2015 20:46:56 +0000 (20:46 +0000)
librsvg.spec
x32.patch [new file with mode: 0644]

index 8f4237655f4b4e9bf499ec9fef64f7fa76169bfa..f44d74a84d25abc918dc5106932e5ba9a09e107f 100644 (file)
@@ -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 (file)
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])
This page took 0.088888 seconds and 4 git commands to generate.