summaryrefslogtreecommitdiff
path: root/lang/php71
diff options
context:
space:
mode:
authormaya <maya>2016-12-20 07:24:04 +0000
committermaya <maya>2016-12-20 07:24:04 +0000
commitb23e45323cd17742f23c4cde68f6b54c1fee0373 (patch)
tree0f8d2dd496ab34d2c7521f8615c0b5878f12cbf5 /lang/php71
parent4f0c2d57f217436ab8082574287723f5a235be5a (diff)
downloadpkgsrc-b23e45323cd17742f23c4cde68f6b54c1fee0373.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/php71')
-rw-r--r--lang/php71/distinfo4
-rw-r--r--lang/php71/patches/patch-ext_standard_php__dns.h4
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); \