diff options
author | maya <maya@pkgsrc.org> | 2016-12-20 07:24:04 +0000 |
---|---|---|
committer | maya <maya@pkgsrc.org> | 2016-12-20 07:24:04 +0000 |
commit | d9104fbc614715d048ed22a8f1d48e912eeccf73 (patch) | |
tree | d313540662438838018d920f454a9edd90880b0c /lang | |
parent | 47f03054e3b9b75433a6480a31aaf84d116d13e2 (diff) | |
download | pkgsrc-d9104fbc614715d048ed22a8f1d48e912eeccf73.tar.gz |
call _php_dns_free_res the same way the original code does in the glibc
case.
should fix/help ubuntu builds.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/php71/distinfo | 4 | ||||
-rw-r--r-- | lang/php71/patches/patch-ext_standard_php__dns.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lang/php71/distinfo b/lang/php71/distinfo index 15e6bc45267..51c47edf84f 100644 --- a/lang/php71/distinfo +++ b/lang/php71/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.10 2016/12/10 07:10:53 taca Exp $ +$NetBSD: distinfo,v 1.11 2016/12/20 07:24:04 maya Exp $ SHA1 (php-7.1.0.tar.bz2) = 06e08b5cbbd84497b281f4902a853a978ece0b48 RMD160 (php-7.1.0.tar.bz2) = ba2ece4ade6b74238e60e5ca57e7cba83f7f3e29 @@ -16,7 +16,7 @@ SHA1 (patch-ext_phar_phar_phar.php) = f630e3946b21b76d4fe857a43e00e25c9445f2c8 SHA1 (patch-ext_recode_recode.c) = a97a1815d6a41410f68c289debbb9396128a2159 SHA1 (patch-ext_sqlite3_libsqlite_sqlite3.c) = 8a529a1b3f7c97731f2e719d006f67c3a7259bb5 SHA1 (patch-ext_standard_basic__functions.c) = f97a2748c7b15fbd9a2d3c21e56079088cc05d56 -SHA1 (patch-ext_standard_php__dns.h) = 3687ceac4dff4605263b53acb761b071f7446ccb +SHA1 (patch-ext_standard_php__dns.h) = 8f89b4bb3553d922b1395c1c66bf5feccf0c4000 SHA1 (patch-makedist) = 2ac0e0391c031c4fcf4993e2269cde4c6bfddfd5 SHA1 (patch-php.ini-development) = dd65962000ec06439fae3c9bf252fa46be4e33fd SHA1 (patch-php.ini-production) = ae61dffedf574b688fe576b0b2af748b7a28cd89 diff --git a/lang/php71/patches/patch-ext_standard_php__dns.h b/lang/php71/patches/patch-ext_standard_php__dns.h index ff7c4adf4e4..62dde769801 100644 --- a/lang/php71/patches/patch-ext_standard_php__dns.h +++ b/lang/php71/patches/patch-ext_standard_php__dns.h @@ -1,4 +1,4 @@ -$NetBSD: patch-ext_standard_php__dns.h,v 1.1 2016/08/04 14:09:03 jdolecek Exp $ +$NetBSD: patch-ext_standard_php__dns.h,v 1.2 2016/12/20 07:24:04 maya Exp $ Fix memory leak. @@ -12,7 +12,7 @@ Fix memory leak. #define php_dns_free_handle(res) \ - res_nclose(res); \ + res_nclose(res); \ -+ php_dns_free_res(*res) ++ php_dns_free_res(res) +#else +#define php_dns_free_handle(res) \ + res_ndestroy(res); \ |