summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-07-06 04:24:29 +0000
committerMike Frysinger <vapier@gentoo.org>2006-07-06 04:24:29 +0000
commitef198f9f761ef1266829048af5e963401198e0bb (patch)
tree9e97acc041e4491ce14630f6a6f1eb971e6b947d /media-libs/libpng/files
parentversion bump (diff)
downloadhistorical-ef198f9f761ef1266829048af5e963401198e0bb.tar.gz
historical-ef198f9f761ef1266829048af5e963401198e0bb.tar.bz2
historical-ef198f9f761ef1266829048af5e963401198e0bb.zip
Add patch by David Nadlinger to make sure PNG_NO_ASSEMBLER_CODE is properly exported to pngconf.h (this is already fixed in libpng-1.4 betas) #136452 / #139052.
Package-Manager: portage-2.1.1_pre2-r2
Diffstat (limited to 'media-libs/libpng/files')
-rw-r--r--media-libs/libpng/files/digest-libpng-1.2.102
-rw-r--r--media-libs/libpng/files/digest-libpng-1.2.122
-rw-r--r--media-libs/libpng/files/digest-libpng-1.2.12-r16
-rw-r--r--media-libs/libpng/files/digest-libpng-1.2.8-r12
-rw-r--r--media-libs/libpng/files/libpng-1.2.12-no-asm.patch61
5 files changed, 73 insertions, 0 deletions
diff --git a/media-libs/libpng/files/digest-libpng-1.2.10 b/media-libs/libpng/files/digest-libpng-1.2.10
index 5f86fb881aac..1de1d5b97737 100644
--- a/media-libs/libpng/files/digest-libpng-1.2.10
+++ b/media-libs/libpng/files/digest-libpng-1.2.10
@@ -2,3 +2,5 @@ MD5 4f23eebd59ddd01a8f91ff8c823dd7d6 libpng-1.2.10.tar.bz2 625176
RMD160 8dbbf8ef709e6b35cc715302a7d3a50bef1a88c8 libpng-1.2.10.tar.bz2 625176
SHA256 f3e8363d23ed1a3bc82317dbf3d75f76a708bbe9b0a2d23bd617160106d02ca8 libpng-1.2.10.tar.bz2 625176
MD5 3c9069aa836541dc0e075187dcb21899 libpng-manual.txt 127770
+RMD160 e46eeef8a202a9775ed2e5394eae2ce44466349c libpng-manual.txt 127770
+SHA256 2775c77d00f1eac5555013b8448e45624745fd692d1cb58f5c6b57408dfdd4d5 libpng-manual.txt 127770
diff --git a/media-libs/libpng/files/digest-libpng-1.2.12 b/media-libs/libpng/files/digest-libpng-1.2.12
index 271409556c77..ccc7de460201 100644
--- a/media-libs/libpng/files/digest-libpng-1.2.12
+++ b/media-libs/libpng/files/digest-libpng-1.2.12
@@ -2,3 +2,5 @@ MD5 2287cfaad53a714acdf6eb75a7c1d15f libpng-1.2.12.tar.bz2 621295
RMD160 c5c702869d73732d5e91e53a9e380fcbf89f3ae2 libpng-1.2.12.tar.bz2 621295
SHA256 7d06103ce32bffa39730d1c12c4b4dcfd50a8f1c18d2462807cfe7c0c3ca0e64 libpng-1.2.12.tar.bz2 621295
MD5 3c9069aa836541dc0e075187dcb21899 libpng-manual.txt 127770
+RMD160 e46eeef8a202a9775ed2e5394eae2ce44466349c libpng-manual.txt 127770
+SHA256 2775c77d00f1eac5555013b8448e45624745fd692d1cb58f5c6b57408dfdd4d5 libpng-manual.txt 127770
diff --git a/media-libs/libpng/files/digest-libpng-1.2.12-r1 b/media-libs/libpng/files/digest-libpng-1.2.12-r1
new file mode 100644
index 000000000000..ccc7de460201
--- /dev/null
+++ b/media-libs/libpng/files/digest-libpng-1.2.12-r1
@@ -0,0 +1,6 @@
+MD5 2287cfaad53a714acdf6eb75a7c1d15f libpng-1.2.12.tar.bz2 621295
+RMD160 c5c702869d73732d5e91e53a9e380fcbf89f3ae2 libpng-1.2.12.tar.bz2 621295
+SHA256 7d06103ce32bffa39730d1c12c4b4dcfd50a8f1c18d2462807cfe7c0c3ca0e64 libpng-1.2.12.tar.bz2 621295
+MD5 3c9069aa836541dc0e075187dcb21899 libpng-manual.txt 127770
+RMD160 e46eeef8a202a9775ed2e5394eae2ce44466349c libpng-manual.txt 127770
+SHA256 2775c77d00f1eac5555013b8448e45624745fd692d1cb58f5c6b57408dfdd4d5 libpng-manual.txt 127770
diff --git a/media-libs/libpng/files/digest-libpng-1.2.8-r1 b/media-libs/libpng/files/digest-libpng-1.2.8-r1
index 5eb76861bc9f..85b14bf3ba93 100644
--- a/media-libs/libpng/files/digest-libpng-1.2.8-r1
+++ b/media-libs/libpng/files/digest-libpng-1.2.8-r1
@@ -2,3 +2,5 @@ MD5 00cea4539bea4bd34cbf8b82ff9589cd libpng-1.2.8.tar.bz2 384970
RMD160 7de7456faaa4e4361b6b7ed74c87f0702f9cc88c libpng-1.2.8.tar.bz2 384970
SHA256 9bec729a1e77d8bbc5800b14aa81f09290aa18daa40f344103f2c0d1d681531b libpng-1.2.8.tar.bz2 384970
MD5 3c9069aa836541dc0e075187dcb21899 libpng-manual.txt 127770
+RMD160 e46eeef8a202a9775ed2e5394eae2ce44466349c libpng-manual.txt 127770
+SHA256 2775c77d00f1eac5555013b8448e45624745fd692d1cb58f5c6b57408dfdd4d5 libpng-manual.txt 127770
diff --git a/media-libs/libpng/files/libpng-1.2.12-no-asm.patch b/media-libs/libpng/files/libpng-1.2.12-no-asm.patch
new file mode 100644
index 000000000000..defe23635d11
--- /dev/null
+++ b/media-libs/libpng/files/libpng-1.2.12-no-asm.patch
@@ -0,0 +1,61 @@
+backport from current 1.4 beta's to handle the bug where the
+PNG_NO_ASSEMBLER_CODE define is not exported properly
+
+http://bugs.gentoo.org/136346
+
+--- libpng-1.2.12/configure.ac
++++ libpng-1.2.12/configure.ac
+@@ -62,15 +62,12 @@
+ AC_TRY_COMPILE(
+ [#include "pnggccrd.c"],
+ [return 0;],
+- LIBPNG_DEFINES=,
+- LIBPNG_DEFINES=-DPNG_CONFIGURE_LIBPNG\ -DPNG_NO_ASSEMBLER_CODE)
+-if test "$LIBPNG_DEFINES"; then
+- AC_MSG_RESULT(no)
+-else
+- AC_MSG_RESULT(yes)
+- LIBPNG_DEFINES=-DPNG_CONFIGURE_LIBPNG
+-fi
++ [LIBPNG_NO_ASSEMBLER=yes; LIBPNG_DEFINES=""],
++ [LIBPNG_NO_ASSEMBLER=no ; LIBPNG_DEFINES="-DPNG_NO_ASSEMBLER_CODE=1"])
++LIBPNG_DEFINES="$LIBPNG_DEFINES -DPNG_CONFIGURE_LIBPNG"
++AC_MSG_RESULT($LIBPNG_NO_ASSEMBLER)
+ AC_SUBST(LIBPNG_DEFINES)
++AM_CONDITIONAL(LIBPNG_NO_ASSEMBLER, test "x$LIBPNG_NO_ASSEMBLER" = "xno")
+
+ AC_MSG_CHECKING([if libraries can be versioned])
+ GLD=`$LD --help < /dev/null 2>/dev/null | grep version-script`
+--- libpng-1.2.12/Makefile.am
++++ libpng-1.2.12/Makefile.am
+@@ -87,6 +87,14 @@
+
+ CLEANFILES= pngout.png libpng12.pc libpng12-config libpng.vers libpng.sym
+
++pngconf.h: pngconf.h.in
++ sed "/Makefile-supplied defines go here:/q" pngconf.h.in > pngconf.h.tmp
++if LIBPNG_NO_ASSEMBLER
++ echo "#define PNG_NO_ASSEMBLER_CODE 1" >> pngconf.h.tmp
++endif
++ sed "1,/Makefile-supplied defines go here:/d" pngconf.h.in >> pngconf.h.tmp
++ mv pngconf.h.tmp pngconf.h
++
+ $(PNGLIB_BASENAME).pc: libpng.pc
+ cp libpng.pc $@
+
+--- libpng-1.2.12/pngconf.h
++++ libpng-1.2.12/pngconf.h
+@@ -19,6 +19,13 @@
+
+ #define PNG_1_2_X
+
++/* Backported no-assembler fix from libpng-1.4.0beta8 */
++
++/* Makefile-supplied defines go here: */
++/* End of Makefile-supplied defines. */
++
++/* End of backported no-assembler fix */
++
+ /*
+ * PNG_USER_CONFIG has to be defined on the compiler command line. This
+ * includes the resource compiler for Windows DLL configurations.