summaryrefslogtreecommitdiff
path: root/lang/php70
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2016-12-20 07:22:19 +0000
committermaya <maya@pkgsrc.org>2016-12-20 07:22:19 +0000
commit47f03054e3b9b75433a6480a31aaf84d116d13e2 (patch)
tree479888291302690bca594279c0329a4e6b8f6aa9 /lang/php70
parent001ac8663519d94b23475d8e2931d925469ed315 (diff)
downloadpkgsrc-47f03054e3b9b75433a6480a31aaf84d116d13e2.tar.gz
php70: pass the parameter to _php_dns_free_res the same way as the original
code does, for glibc case. should fix/help failing ubuntu builds
Diffstat (limited to 'lang/php70')
-rw-r--r--lang/php70/distinfo4
-rw-r--r--lang/php70/patches/patch-ext_standard_php__dns.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/lang/php70/distinfo b/lang/php70/distinfo
index 597b7bbf440..243c2f95dfa 100644
--- a/lang/php70/distinfo
+++ b/lang/php70/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.23 2016/12/10 07:09:30 taca Exp $
+$NetBSD: distinfo,v 1.24 2016/12/20 07:22:19 maya Exp $
SHA1 (php-7.0.14.tar.bz2) = 72769f56451b9f738e70888d7711dd5f3c5a1d79
RMD160 (php-7.0.14.tar.bz2) = 75d21fdf581999814e7d96a91aa7ae08143d1275
@@ -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/php70/patches/patch-ext_standard_php__dns.h b/lang/php70/patches/patch-ext_standard_php__dns.h
index bcf50b2481c..2ac269ddd65 100644
--- a/lang/php70/patches/patch-ext_standard_php__dns.h
+++ b/lang/php70/patches/patch-ext_standard_php__dns.h
@@ -1,4 +1,4 @@
-$NetBSD: patch-ext_standard_php__dns.h,v 1.2 2016/05/02 13:09:49 taca Exp $
+$NetBSD: patch-ext_standard_php__dns.h,v 1.3 2016/12/20 07:22:19 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); \