summaryrefslogtreecommitdiffstats
path: root/testing/php/gd-info-segfault.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-09-14 15:06:34 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-09-14 15:08:37 +0000
commit62204a7e4be77192725f28e728641da5be5ed24b (patch)
treeb54a91f52c365fdb3bab2c3a3ffd5e3e9b126e8c /testing/php/gd-info-segfault.patch
parent3c471f85eacd8b9d76c98cff4345f3bc84934001 (diff)
downloadaports-62204a7e4be77192725f28e728641da5be5ed24b.tar.bz2
aports-62204a7e4be77192725f28e728641da5be5ed24b.tar.xz
*/php: move php-5.3 to testing and downgrade main/php to 5.2.10
many apps needs 5.2 fixes #165
Diffstat (limited to 'testing/php/gd-info-segfault.patch')
-rw-r--r--testing/php/gd-info-segfault.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/php/gd-info-segfault.patch b/testing/php/gd-info-segfault.patch
new file mode 100644
index 000000000..846a19ef7
--- /dev/null
+++ b/testing/php/gd-info-segfault.patch
@@ -0,0 +1,26 @@
+Index: ext/gd/libgd/gd_compat.c
+===================================================================
+--- ext/gd/libgd/gd_compat.c (Revision 286947)
++++ ext/gd/libgd/gd_compat.c (Revision 286948)
+@@ -14,7 +14,7 @@
+ return JPEG_LIB_VERSION;
+ }
+
+-int gdJpegGetVersionString()
++const char * gdJpegGetVersionString()
+ {
+ switch(JPEG_LIB_VERSION) {
+ case 62:
+Index: ext/gd/libgd/gd_compat.h
+===================================================================
+--- ext/gd/libgd/gd_compat.h (Revision 286947)
++++ ext/gd/libgd/gd_compat.h (Revision 286948)
+@@ -8,7 +8,7 @@
+ #endif
+
+ const char * gdPngGetVersionString();
+-int gdJpegGetVersionString();
++const char * gdJpegGetVersionString();
+ int gdJpegGetVersionInt();
+ int overflow2(int a, int b);
+