pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/php70 php70: pass the parameter to _php_dns_free_...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/39fd14ac9d43
branches:  trunk
changeset: 356159:39fd14ac9d43
user:      maya <maya%pkgsrc.org@localhost>
date:      Tue Dec 20 07:22:19 2016 +0000

description:
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:

 lang/php70/distinfo                              |  4 ++--
 lang/php70/patches/patch-ext_standard_php__dns.h |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 5bd7b172bc68 -r 39fd14ac9d43 lang/php70/distinfo
--- a/lang/php70/distinfo       Mon Dec 19 15:57:11 2016 +0000
+++ b/lang/php70/distinfo       Tue Dec 20 07:22:19 2016 +0000
@@ -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_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 -r 5bd7b172bc68 -r 39fd14ac9d43 lang/php70/patches/patch-ext_standard_php__dns.h
--- a/lang/php70/patches/patch-ext_standard_php__dns.h  Mon Dec 19 15:57:11 2016 +0000
+++ b/lang/php70/patches/patch-ext_standard_php__dns.h  Tue Dec 20 07:22:19 2016 +0000
@@ -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 @@
  #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); \



Home | Main Index | Thread Index | Old Index