summaryrefslogtreecommitdiffstats
path: root/extra/gd/libpng14.patch
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-05-19 17:11:41 +0200
committertnut <thierryn1 at hispeed dot ch>2010-05-19 17:11:41 +0200
commitbcb5de96aa9e5d606296637f03a5099747630029 (patch)
treeb1ae0719482c8a3072f74d114f1a4f7c6420ac37 /extra/gd/libpng14.patch
parentb52c53900ceee13ed5134c5cb515835625f4936e (diff)
downloadnutyx-extra-bcb5de96aa9e5d606296637f03a5099747630029.tar.gz
nutyx-extra-bcb5de96aa9e5d606296637f03a5099747630029.tar.bz2
nutyx-extra-bcb5de96aa9e5d606296637f03a5099747630029.tar.xz
nutyx-extra-bcb5de96aa9e5d606296637f03a5099747630029.zip
ajout de gd#2.0.35-1
Diffstat (limited to 'extra/gd/libpng14.patch')
-rw-r--r--extra/gd/libpng14.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/gd/libpng14.patch b/extra/gd/libpng14.patch
new file mode 100644
index 000000000..19a3fda91
--- /dev/null
+++ b/extra/gd/libpng14.patch
@@ -0,0 +1,12 @@
+diff -Nur gd-2.0.36RC1.orig/gd_png.c gd-2.0.36RC1/gd_png.c
+--- gd-2.0.36RC1.orig/gd_png.c 2007-11-27 10:30:34.000000000 +0200
++++ gd-2.0.36RC1/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 */
+ }
+