summaryrefslogtreecommitdiffstats
path: root/abs/extra/gd/libpng14.patch
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-11-11 19:47:46 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-11-11 19:47:59 (GMT)
commitf009cfa0e7edf16a9dd404f87aa499ebde6ed0f0 (patch)
treeced251b3a6b875f654337a7c9bfefe7524ac8b3b /abs/extra/gd/libpng14.patch
parentc103226eaf0601de087b4c1405cf0ebeb3517e29 (diff)
downloadlinhes_pkgbuild-f009cfa0e7edf16a9dd404f87aa499ebde6ed0f0.zip
linhes_pkgbuild-f009cfa0e7edf16a9dd404f87aa499ebde6ed0f0.tar.gz
linhes_pkgbuild-f009cfa0e7edf16a9dd404f87aa499ebde6ed0f0.tar.bz2
gd: updaed to 2.0.36
Diffstat (limited to 'abs/extra/gd/libpng14.patch')
-rw-r--r--abs/extra/gd/libpng14.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/abs/extra/gd/libpng14.patch b/abs/extra/gd/libpng14.patch
new file mode 100644
index 0000000..19a3fda
--- /dev/null
+++ b/abs/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 */
+ }
+