summaryrefslogtreecommitdiff
path: root/security/honeyd
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2017-09-10 01:44:31 +0000
committerdholland <dholland@pkgsrc.org>2017-09-10 01:44:31 +0000
commit2637ba09754752664178add74c99fdec8ab140d1 (patch)
tree974b7c47c3ad656e33022f8155d3231accf6959a /security/honeyd
parent109dc23a3c6106618ba2a98d7de65d2faa68913a (diff)
downloadpkgsrc-2637ba09754752664178add74c99fdec8ab140d1.tar.gz
Work around macro name conflict with netbsd's builtin libevent.
The build goes further than before, but fails later trying to do no-longer-permitted things with libevent's internals.
Diffstat (limited to 'security/honeyd')
-rw-r--r--security/honeyd/distinfo3
-rw-r--r--security/honeyd/patches/patch-tagging.h16
2 files changed, 18 insertions, 1 deletions
diff --git a/security/honeyd/distinfo b/security/honeyd/distinfo
index bc0d9f0dd5c..c0d3151f014 100644
--- a/security/honeyd/distinfo
+++ b/security/honeyd/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2015/11/04 01:17:46 agc Exp $
+$NetBSD: distinfo,v 1.8 2017/09/10 01:44:31 dholland Exp $
SHA1 (honeyd-1.5b.tar.gz) = a6cef01ddb0b649442ac60e2a08b226b1634e3f9
RMD160 (honeyd-1.5b.tar.gz) = 40ebe7d3a2915b5145c5a2eef04b9d1de18fbb09
@@ -6,3 +6,4 @@ SHA512 (honeyd-1.5b.tar.gz) = 13f32d12431afca3bbce40df86ef8830f78281736c83fafadf
Size (honeyd-1.5b.tar.gz) = 881787 bytes
SHA1 (patch-aa) = b69d986bd1a5c1847f4f5467216730da020c8686
SHA1 (patch-ab) = 6f789cae31cc9b38ae68c2d9250dcab67e1a0146
+SHA1 (patch-tagging.h) = 69c19ce9948594010a2db3701453c5ff5d085577
diff --git a/security/honeyd/patches/patch-tagging.h b/security/honeyd/patches/patch-tagging.h
new file mode 100644
index 00000000000..ab127be2dbe
--- /dev/null
+++ b/security/honeyd/patches/patch-tagging.h
@@ -0,0 +1,16 @@
+$NetBSD: patch-tagging.h,v 1.1 2017/09/10 01:44:32 dholland Exp $
+
+Work around namespace conflict from libevent.
+
+--- tagging.h~ 2006-08-19 07:10:41.000000000 +0000
++++ tagging.h
+@@ -33,6 +33,9 @@
+ #ifndef _TAGGING_
+ #define _TAGGING_
+
++/* work around namespace conflict from libevent */
++#undef encode_int
++
+ void tagging_init(void);
+
+ #define SHINGLE_MIN 32