diff options
author | Martin Matuska <mm@FreeBSD.org> | 2010-04-25 19:27:08 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2010-04-25 19:27:08 +0000 |
commit | bde42a038531224b74d0d14bc007bfc6b9adc839 (patch) | |
tree | 17a976c794ad595cb77f62b6c5bb2b9c61ae95ef /math/php52-gmp | |
parent | 9edb10042ae6148ed23f18b1f7072eaea3ef93c0 (diff) | |
download | ports-bde42a038531224b74d0d14bc007bfc6b9adc839.tar.gz ports-bde42a038531224b74d0d14bc007bfc6b9adc839.zip |
Notes
Diffstat (limited to 'math/php52-gmp')
-rw-r--r-- | math/php52-gmp/Makefile | 2 | ||||
-rw-r--r-- | math/php52-gmp/files/patch-gmp.c | 11 |
2 files changed, 13 insertions, 0 deletions
diff --git a/math/php52-gmp/Makefile b/math/php52-gmp/Makefile index d48e2865920f..750ab322ddbd 100644 --- a/math/php52-gmp/Makefile +++ b/math/php52-gmp/Makefile @@ -5,6 +5,8 @@ # $FreeBSD$ # +PORTREVISION= 1 + CATEGORIES= math MASTERDIR= ${.CURDIR}/../../lang/php52 diff --git a/math/php52-gmp/files/patch-gmp.c b/math/php52-gmp/files/patch-gmp.c new file mode 100644 index 000000000000..7d137f0e827e --- /dev/null +++ b/math/php52-gmp/files/patch-gmp.c @@ -0,0 +1,11 @@ +--- gmp.c.orig 2010-04-21 22:00:31.841602968 +0000 ++++ gmp.c 2010-04-21 22:00:46.412804473 +0000 +@@ -1396,7 +1396,7 @@ + + GMPG(rand_initialized) = 1; + } +- mpz_urandomb(*gmpnum_result, GMPG(rand_state), GMP_ABS (limiter) * __GMP_BITS_PER_MP_LIMB); ++ mpz_urandomb(*gmpnum_result, GMPG(rand_state), GMP_ABS (limiter) * GMP_LIMB_BITS); + + ZEND_REGISTER_RESOURCE(return_value, gmpnum_result, le_gmp); + } |