diff options
author | Sebastian Bergmann <sebastian@gentoo.org> | 2005-05-06 09:14:06 +0000 |
---|---|---|
committer | Sebastian Bergmann <sebastian@gentoo.org> | 2005-05-06 09:14:06 +0000 |
commit | afd7c789d9b6659bbf1190cc391474d1b5dbbb2a (patch) | |
tree | 3afbb145eafa570de4a05efc63aa6d86372341cb /dev-php/php-cgi/files | |
parent | version bump, handles bzip2 compressor variations correctly (diff) | |
download | gentoo-2-afd7c789d9b6659bbf1190cc391474d1b5dbbb2a.tar.gz gentoo-2-afd7c789d9b6659bbf1190cc391474d1b5dbbb2a.tar.bz2 gentoo-2-afd7c789d9b6659bbf1190cc391474d1b5dbbb2a.zip |
Fix bug #88795.
(Portage version: 2.0.51.21-r1)
Diffstat (limited to 'dev-php/php-cgi/files')
-rw-r--r-- | dev-php/php-cgi/files/php-4.3.11-gmp.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-php/php-cgi/files/php-4.3.11-gmp.patch b/dev-php/php-cgi/files/php-4.3.11-gmp.patch new file mode 100644 index 000000000000..76d7b7b9d94e --- /dev/null +++ b/dev-php/php-cgi/files/php-4.3.11-gmp.patch @@ -0,0 +1,29 @@ +--- ext/gmp/gmp.c.orig 2005-03-01 14:18:31.000000000 +0100 ++++ ext/gmp/gmp.c 2005-04-12 10:22:02.000000000 +0200 +@@ -205,7 +205,7 @@ + if(Z_TYPE_PP(zval) == IS_RESOURCE) { \ + ZEND_FETCH_RESOURCE(gmpnumber, mpz_t *, zval, -1, GMP_RESOURCE_NAME, le_gmp);\ + } else {\ +- if(convert_to_gmp(&gmpnumber, zval, 0) == FAILURE) {\ ++ if(convert_to_gmp(&gmpnumber, zval, 0 TSRMLS_CC) == FAILURE) {\ + RETURN_FALSE;\ + }\ + ZEND_REGISTER_RESOURCE(NULL, gmpnumber, le_gmp);\ +@@ -217,7 +217,7 @@ + + /* {{{ convert_to_gmp + * Convert zval to be gmp number */ +-static int convert_to_gmp(mpz_t * *gmpnumber, zval **val, int base) ++static int convert_to_gmp(mpz_t * *gmpnumber, zval **val, int base TSRMLS_DC) + { + int ret = 0; + int skip_lead = 0; +@@ -509,7 +509,7 @@ + } + } + +- if(convert_to_gmp(&gmpnumber, number_arg, base) == FAILURE) { ++ if(convert_to_gmp(&gmpnumber, number_arg, base TSRMLS_CC) == FAILURE) { + RETURN_FALSE; + } + |