summaryrefslogtreecommitdiff
path: root/debian/patches/105-64_bit_imagettftext.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/105-64_bit_imagettftext.patch')
-rw-r--r--debian/patches/105-64_bit_imagettftext.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/105-64_bit_imagettftext.patch b/debian/patches/105-64_bit_imagettftext.patch
new file mode 100644
index 000000000..15d9018fc
--- /dev/null
+++ b/debian/patches/105-64_bit_imagettftext.patch
@@ -0,0 +1,17 @@
+===================================================================
+RCS file: /repository/php-src/ext/gd/gd.c,v
+retrieving revision 1.307
+retrieving revision 1.308
+diff -p --unified=3 -r1.307 -r1.308
+--- php-5.0.4/ext/gd/gd.c 2005/03/27 23:43:51 1.307
++++ php-5.0.4/ext/gd/gd.c 2005/04/10 21:37:16 1.308
+@@ -3109,7 +3109,8 @@ static void php_imagettftext_common(INTE
+ {
+ zval *IM, *EXT = NULL;
+ gdImagePtr im=NULL;
+- int col = -1, x = -1, y = -1, str_len, fontname_len, i, brect[8];
++ long col = -1, x = -1, y = -1;
++ int str_len, fontname_len, i, brect[8];
+ double ptsize, angle;
+ unsigned char *str = NULL, *fontname = NULL;
+ char *error = NULL;