summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-04-10 20:36:28 +0000
committerMike Frysinger <vapier@gentoo.org>2005-04-10 20:36:28 +0000
commite9af3d7982dc359a389c59d0d3baa5957df8377e (patch)
tree3f6f5bd36080c1f47fcc002756f427cc6b67c5a8 /media-libs
parent(Portage version: 2.0.51.19) (Manifest recommit) (diff)
downloadgentoo-2-e9af3d7982dc359a389c59d0d3baa5957df8377e.tar.gz
gentoo-2-e9af3d7982dc359a389c59d0d3baa5957df8377e.tar.bz2
gentoo-2-e9af3d7982dc359a389c59d0d3baa5957df8377e.zip
fix typo in configure script #88546
(Portage version: 2.0.51.19)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/imlib2/files/imlib2-1.2.0.004-x-lib.patch15
-rw-r--r--media-libs/imlib2/files/imlib2-1.2.0.20050220-no-x.patch18
-rw-r--r--media-libs/imlib2/imlib2-1.2.0.004.ebuild8
3 files changed, 22 insertions, 19 deletions
diff --git a/media-libs/imlib2/files/imlib2-1.2.0.004-x-lib.patch b/media-libs/imlib2/files/imlib2-1.2.0.004-x-lib.patch
new file mode 100644
index 000000000000..f060ab576c1a
--- /dev/null
+++ b/media-libs/imlib2/files/imlib2-1.2.0.004-x-lib.patch
@@ -0,0 +1,15 @@
+Fix a typo.
+
+http://bugs.gentoo.org/show_bug.cgi?id=88546
+
+--- configure
++++ configure
+@@ -20231,7 +20231,7 @@
+ # See if we find them without any special options.
+ # Don't add to $LIBS permanently.
+ ac_save_LIBS=$LIBS
+- LIBS="-lX $LIBS"
++ LIBS="-lX11 $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
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
deleted file mode 100644
index 6e14892bcdea..000000000000
--- a/media-libs/imlib2/files/imlib2-1.2.0.20050220-no-x.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-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>
diff --git a/media-libs/imlib2/imlib2-1.2.0.004.ebuild b/media-libs/imlib2/imlib2-1.2.0.004.ebuild
index f3f669097598..81df137dfc80 100644
--- a/media-libs/imlib2/imlib2-1.2.0.004.ebuild
+++ b/media-libs/imlib2/imlib2-1.2.0.004.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/imlib2/imlib2-1.2.0.004.ebuild,v 1.1 2005/04/10 03:11:38 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/imlib2/imlib2-1.2.0.004.ebuild,v 1.2 2005/04/10 20:36:28 vapier Exp $
EKEY_STATE=snap
EHACKAUTOGEN=yes
@@ -19,6 +19,12 @@ DEPEND="=media-libs/freetype-2*
tiff? ( >=media-libs/tiff-3.5.5 )
X? ( virtual/x11 )"
+src_unpack() {
+ enlightenment_src_unpack
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-x-lib.patch
+}
+
src_compile() {
local mymmx=""
if [ "${ARCH}" == "amd64" ] ; then