diff options
author | joerg <joerg> | 2013-04-01 12:21:54 +0000 |
---|---|---|
committer | joerg <joerg> | 2013-04-01 12:21:54 +0000 |
commit | 3c7e0ed4b592f71698312aa38bec259d0d344e83 (patch) | |
tree | 1755f2af9d3a5a41adda88ec89c2af1c6ab3cda4 /security | |
parent | 83d977e688f3e5f322ff14164f5420fd458cf0d1 (diff) | |
download | pkgsrc-3c7e0ed4b592f71698312aa38bec259d0d344e83.tar.gz |
Use res_sym on NetBSD.
Diffstat (limited to 'security')
-rw-r--r-- | security/dnssec-tools/distinfo | 3 | ||||
-rw-r--r-- | security/dnssec-tools/patches/patch-validator_libsres_res__debug.c | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/security/dnssec-tools/distinfo b/security/dnssec-tools/distinfo index 747180cb8b0..531397c93cd 100644 --- a/security/dnssec-tools/distinfo +++ b/security/dnssec-tools/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.8 2012/06/16 21:25:58 pettai Exp $ +$NetBSD: distinfo,v 1.9 2013/04/01 12:21:54 joerg Exp $ SHA1 (dnssec-tools-1.12.2.tar.gz) = e9912249fae3ec6bd5ad4ee1d73dea28acbefd0d RMD160 (dnssec-tools-1.12.2.tar.gz) = 2a077c2ef74a4d0427932d8a806cdc32e185211a @@ -6,3 +6,4 @@ Size (dnssec-tools-1.12.2.tar.gz) = 3140018 bytes SHA1 (patch-aa) = cf0f806152bf912d9e6d727f66bdb186ec2f55c7 SHA1 (patch-ab) = 07b5a0dbbca1c41cbb30b19f5a94ec9f8c900c15 SHA1 (patch-tools_donuts_Makefile.PL) = 283447b2e1ac4a83f462743ef2a397c3a29b87a1 +SHA1 (patch-validator_libsres_res__debug.c) = a22fd334c6a8ff095bb01c2d2631d2045373d62e diff --git a/security/dnssec-tools/patches/patch-validator_libsres_res__debug.c b/security/dnssec-tools/patches/patch-validator_libsres_res__debug.c new file mode 100644 index 00000000000..0788793c4d0 --- /dev/null +++ b/security/dnssec-tools/patches/patch-validator_libsres_res__debug.c @@ -0,0 +1,15 @@ +$NetBSD: patch-validator_libsres_res__debug.c,v 1.1 2013/04/01 12:21:54 joerg Exp $ + +Nice rant BTW, but it doesn't match reality at least on NetBSD 6. + +--- validator/libsres/res_debug.c.orig 2013-03-31 20:34:36.000000000 +0000 ++++ validator/libsres/res_debug.c +@@ -319,7 +319,7 @@ p_fqname(const u_char * cp, const u_char + * And, for once, solaris has a better header than the rest, and has const + * char ptrs in res_sym. + */ +-#if (defined(__APPLE__) || defined(sun) || defined(__CYGWIN__) || defined(linux)) && !defined(ANDROID) ++#if (defined(__APPLE__) || defined(sun) || defined(__CYGWIN__) || defined(linux) || defined(__NetBSD__)) && !defined(ANDROID) + #define RES_SYM_TYPE res_sym + #else + struct res_sym_const { |