summaryrefslogtreecommitdiffstats
path: root/extra/gd
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gd')
-rw-r--r--extra/gd/Pkgfile2
-rw-r--r--extra/gd/libpng14.patch12
2 files changed, 1 insertions, 13 deletions
diff --git a/extra/gd/Pkgfile b/extra/gd/Pkgfile
index ff9be56ae..c533aebf3 100644
--- a/extra/gd/Pkgfile
+++ b/extra/gd/Pkgfile
@@ -8,7 +8,7 @@ name=gd
version=2.0.35
release=1
source=(http://www.libgd.org/releases/$name-$version.tar.gz\
- libpng14.patch)
+ http://nutyx.meticul.eu/files/patchs/$name/libpng14.patch)
build() {
cd $name-$version
diff --git a/extra/gd/libpng14.patch b/extra/gd/libpng14.patch
deleted file mode 100644
index 19a3fda91..000000000
--- a/extra/gd/libpng14.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-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 */
- }
-