summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Bressler <ruben.bressler@cerpamid.co.cu>2010-07-19 16:08:39 -0400
committerRuben Bressler <ruben.bressler@cerpamid.co.cu>2010-07-19 16:08:39 -0400
commit0b12722fc574e915e9b96391c077fcc87da7ec90 (patch)
tree867b7ed83ecbe629fc7b1b9b4b4d0c60b3cf0b8f /x11-libs/gdk-pixbuf/files/gdk-pixbuf-2.21.4-fix-automagic-x11.patch
parentañadiendo gnome-shell-2.29.1 (diff)
downloadrubenqba-0b12722fc574e915e9b96391c077fcc87da7ec90.tar.gz
rubenqba-0b12722fc574e915e9b96391c077fcc87da7ec90.tar.bz2
rubenqba-0b12722fc574e915e9b96391c077fcc87da7ec90.zip
adicionando gdk-pixbuf-2.21.4
Diffstat (limited to 'x11-libs/gdk-pixbuf/files/gdk-pixbuf-2.21.4-fix-automagic-x11.patch')
-rw-r--r--x11-libs/gdk-pixbuf/files/gdk-pixbuf-2.21.4-fix-automagic-x11.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/x11-libs/gdk-pixbuf/files/gdk-pixbuf-2.21.4-fix-automagic-x11.patch b/x11-libs/gdk-pixbuf/files/gdk-pixbuf-2.21.4-fix-automagic-x11.patch
new file mode 100644
index 0000000..36380d9
--- /dev/null
+++ b/x11-libs/gdk-pixbuf/files/gdk-pixbuf-2.21.4-fix-automagic-x11.patch
@@ -0,0 +1,24 @@
+Adds a new configure option to remove the automagic dependency on libX11.
+
+--- gdk-pixbuf-2.21.4.orig/configure.ac
++++ gdk-pixbuf-2.21.4/configure.ac
+@@ -929,7 +929,18 @@ GDK_PIXBUF_XLIB_PACKAGES=
+ GDK_PIXBUF_XLIB_EXTRA_CFLAGS=
+ GDK_PIXBUF_XLIB_EXTRA_LIBS=
+
+-if $PKG_CONFIG --exists x11; then
++AC_ARG_WITH(x11,
++ AC_HELP_STRING([--with-x11=@<:@no/auto/yes@:>@],
++ [build X11 support @<:@default=auto@:>@]),,
++ [
++ if $PKG_CONFIG --exists x11; then
++ with_x11=yes
++ else
++ with_x11=no
++ fi
++ ])
++
++if test x$with_x11 = xyes; then
+ AM_CONDITIONAL(USE_X11, true)
+ PKG_CHECK_MODULES(GDK_PIXBUF_XLIB_DEP, x11 gobject-2.0)
+ else