summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-05-30 06:53:10 +0000
committerMike Frysinger <vapier@gentoo.org>2004-05-30 06:53:10 +0000
commit213750d44487a4abd7f8e9de83eba82184498988 (patch)
tree730016d7f45db1bd95b71993dd711371bb3fe1ca /media-libs/devil/files
parentMoved from net-mail/mini-qmail to mail-mta/mini-qmail. (diff)
downloadgentoo-2-213750d44487a4abd7f8e9de83eba82184498988.tar.gz
gentoo-2-213750d44487a4abd7f8e9de83eba82184498988.tar.bz2
gentoo-2-213750d44487a4abd7f8e9de83eba82184498988.zip
Update the configure.in patch to fix libpng linking #51972 by Marc De Falco,
CFLAG hard coding, and a sdl-config typo.
Diffstat (limited to 'media-libs/devil/files')
-rw-r--r--media-libs/devil/files/1.6.6-configure.in.patch49
-rw-r--r--media-libs/devil/files/digest-devil-1.6.11
-rw-r--r--media-libs/devil/files/digest-devil-1.6.6-r11
-rw-r--r--media-libs/devil/files/digest-devil-1.6.6-r2 (renamed from media-libs/devil/files/digest-devil-1.6.6)0
4 files changed, 38 insertions, 13 deletions
diff --git a/media-libs/devil/files/1.6.6-configure.in.patch b/media-libs/devil/files/1.6.6-configure.in.patch
index 9e1382fc5685..4f5a319fc8a8 100644
--- a/media-libs/devil/files/1.6.6-configure.in.patch
+++ b/media-libs/devil/files/1.6.6-configure.in.patch
@@ -1,7 +1,23 @@
-diff -ur DevIL.orig/configure.in DevIL/configure.in
---- DevIL.orig/configure.in 2003-08-12 14:24:28.000000000 +1000
-+++ DevIL/configure.in 2004-02-10 01:55:18.000000000 +1100
-@@ -90,131 +90,346 @@
+--- configure.in.orig 2004-05-30 02:46:40.188827272 -0400
++++ configure.in 2004-05-30 02:47:26.065852904 -0400
+@@ -48,12 +48,10 @@
+ AM_PROG_LIBTOOL
+ AM_MAINTAINER_MODE
+
+-LIBIL_CFLAGS="-Wall -O3 -funroll-loops -ffast-math -fomit-frame-pointer \
+- -fexpensive-optimizations"
+-LIBILU_CFLAGS="-Wall -O3 -funroll-loops -ffast-math -fomit-frame-pointer \
+- -fexpensive-optimizations"
+-LIBILUT_CFLAGS="-Wall -O3 -funroll-loops -ffast-math -fomit-frame-pointer \
+- -fexpensive-optimizations"
++CFLAGS="-Wall -funroll-loops -ffast-math -fomit-frame-pointer -fexpensive-optimizations $CFLAGS"
++LIBIL_CFLAGS="$CFLAGS"
++LIBILU_CFLAGS="$CFLAGS"
++LIBILUT_CFLAGS="$CFLAGS"
+
+ dnl
+ dnl Default supported formats : all except lcms
+@@ -90,131 +88,346 @@
dnl
AC_ARG_ENABLE(bmp,
[ --disable-bmp Doesn't compile bmp support],
@@ -380,10 +396,21 @@ diff -ur DevIL.orig/configure.in DevIL/configure.in
if test "$debug_symbols" = "yes" ; then
LIBIL_CFLAGS="-Wall -g"
-@@ -622,4 +837,4 @@
- src-ILUT/include/Makefile \
- include/Makefile \
- include/IL/Makefile ])
--AC_OUTPUT
-\ No newline at end of file
-+AC_OUTPUT
+@@ -285,7 +498,7 @@
+ AC_SUBST(LIBTIFF)
+
+ if test "$no_png" = "no" ; then
+- AC_CHECK_LIB(png, png_start_read_image, LIBPNG="-lpng", LIBPNG="", )
++ AC_CHECK_LIB(png, png_start_read_image, LIBPNG="-lpng", LIBPNG="", `libpng-config --libs`)
+ if test "$LIBPNG" != "-lpng" ; then
+ no_png="yes"
+ fi
+@@ -325,7 +538,7 @@
+ LIBSDL=""
+ HSDL=""
+ else
+- LIBSDL=`sdl-conf --libs`
++ LIBSDL=`sdl-config --libs`
+ HSDL=`sdl-config --cflags`
+ fi
+ fi
diff --git a/media-libs/devil/files/digest-devil-1.6.1 b/media-libs/devil/files/digest-devil-1.6.1
deleted file mode 100644
index 39149650d923..000000000000
--- a/media-libs/devil/files/digest-devil-1.6.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 dd499354c679b61661fd6c884fbf981d DevIL-1.6.1.tar.gz 744568
diff --git a/media-libs/devil/files/digest-devil-1.6.6-r1 b/media-libs/devil/files/digest-devil-1.6.6-r1
deleted file mode 100644
index 2747ffd4e6a5..000000000000
--- a/media-libs/devil/files/digest-devil-1.6.6-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 57dd2156049f0335d2535724418a89ea DevIL-1.6.6.tar.gz 787878
diff --git a/media-libs/devil/files/digest-devil-1.6.6 b/media-libs/devil/files/digest-devil-1.6.6-r2
index 2747ffd4e6a5..2747ffd4e6a5 100644
--- a/media-libs/devil/files/digest-devil-1.6.6
+++ b/media-libs/devil/files/digest-devil-1.6.6-r2