summaryrefslogtreecommitdiffstats
path: root/extra/gd/gd-2.0.35-libpng14.patch
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-01-19 13:44:14 +0100
committersibel <lesibel@free.fr>2011-01-19 13:44:14 +0100
commit7d7df0e3ff53dd9f2bd7eef37facbe7850540412 (patch)
tree1f18f543bd9359b2cab79078c5279858b0f0ae30 /extra/gd/gd-2.0.35-libpng14.patch
parent1f5af446ae10d20264abaebdb606d30d391b9323 (diff)
downloadnutyx-extra-7d7df0e3ff53dd9f2bd7eef37facbe7850540412.tar.gz
nutyx-extra-7d7df0e3ff53dd9f2bd7eef37facbe7850540412.tar.bz2
nutyx-extra-7d7df0e3ff53dd9f2bd7eef37facbe7850540412.tar.xz
nutyx-extra-7d7df0e3ff53dd9f2bd7eef37facbe7850540412.zip
gd, correction port
Diffstat (limited to 'extra/gd/gd-2.0.35-libpng14.patch')
-rw-r--r--extra/gd/gd-2.0.35-libpng14.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/gd/gd-2.0.35-libpng14.patch b/extra/gd/gd-2.0.35-libpng14.patch
new file mode 100644
index 000000000..da5b4fb00
--- /dev/null
+++ b/extra/gd/gd-2.0.35-libpng14.patch
@@ -0,0 +1,12 @@
+diff -Nur gd-2.0.35.orig/gd_png.c gd-2.0.35/gd_png.c
+--- gd-2.0.35.orig/gd_png.c 2007-11-27 10:30:34.000000000 +0200
++++ gd-2.0.35/gd_png.c 2010-01-17 17:14:11.000000000 +0200
+@@ -151,7 +151,7 @@
+ return NULL;
+ }
+
+- if (!png_check_sig (sig, 8)) { /* bad signature */
++ if (png_sig_cmp (sig, 0, 8)) { /* bad signature */
+ return NULL; /* bad signature */
+ }
+