summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-02-22 23:55:52 +0000
committerMike Frysinger <vapier@gentoo.org>2005-02-22 23:55:52 +0000
commit379f1edddb94b72cd4e667a2a571055f76aee4e6 (patch)
treeb5ccf8620f95311119d599bd15b0549b34393796 /media-libs/imlib2/files
parentadded 1.1.10 to portage (diff)
downloadgentoo-2-379f1edddb94b72cd4e667a2a571055f76aee4e6.tar.gz
gentoo-2-379f1edddb94b72cd4e667a2a571055f76aee4e6.tar.bz2
gentoo-2-379f1edddb94b72cd4e667a2a571055f76aee4e6.zip
fix building with USE=-X #82919 by Diego Pettenò
(Portage version: 2.0.51-r15)
Diffstat (limited to 'media-libs/imlib2/files')
-rw-r--r--media-libs/imlib2/files/imlib2-1.2.0.20050220-no-x.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/media-libs/imlib2/files/imlib2-1.2.0.20050220-no-x.patch b/media-libs/imlib2/files/imlib2-1.2.0.20050220-no-x.patch
new file mode 100644
index 000000000000..6e14892bcdea
--- /dev/null
+++ b/media-libs/imlib2/files/imlib2-1.2.0.20050220-no-x.patch
@@ -0,0 +1,18 @@
+Index: src/lib/image.h
+===================================================================
+RCS file: /cvsroot/enlightenment/e17/libs/imlib2/src/lib/image.h,v
+retrieving revision 1.2
+diff -u -r1.2 image.h
+--- src/lib/image.h 16 Jan 2005 18:23:47 -0000 1.2
++++ src/lib/image.h 22 Feb 2005 23:52:42 -0000
+@@ -3,7 +3,9 @@
+
+ #include "common.h"
+ #ifdef BUILD_X11
+-#include <X11/Xlib.h>
++# include <X11/Xlib.h>
++#else
++# define X_DISPLAY_MISSING
+ #endif
+
+ #include <dlfcn.h>