diff options
author | obache <obache> | 2010-12-30 09:22:43 +0000 |
---|---|---|
committer | obache <obache> | 2010-12-30 09:22:43 +0000 |
commit | 5ab59901a27d6756936ac71ce17975c31aa478be (patch) | |
tree | 77aaded6dbb529cf2d320ef0de86b2972e7b743f /comms | |
parent | 7a35fd3dd20ce669a4c7c77da2b10d1803c8ea8b (diff) | |
download | pkgsrc-5ab59901a27d6756936ac71ce17975c31aa478be.tar.gz |
Add a workaround for DragonFly arpa/telnet.h.
Diffstat (limited to 'comms')
-rw-r--r-- | comms/tn3270/distinfo | 3 | ||||
-rw-r--r-- | comms/tn3270/patches/patch-aa | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/comms/tn3270/distinfo b/comms/tn3270/distinfo index a000ebdd2ac..83ea26ee7d6 100644 --- a/comms/tn3270/distinfo +++ b/comms/tn3270/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1 2010/01/17 18:26:28 spz Exp $ +$NetBSD: distinfo,v 1.2 2010/12/30 09:22:43 obache Exp $ SHA1 (tn3270-0.20100116.tar.gz) = b550f2c240aa3b185b935c11ed36e75c8c574503 RMD160 (tn3270-0.20100116.tar.gz) = 59ca2fcaa8f44258eb9cb0069cf17e560754f2c9 Size (tn3270-0.20100116.tar.gz) = 156352 bytes +SHA1 (patch-aa) = 58d1edc5b4231705520acc6efdf09a66f09e9046 diff --git a/comms/tn3270/patches/patch-aa b/comms/tn3270/patches/patch-aa new file mode 100644 index 00000000000..72d8272b0f6 --- /dev/null +++ b/comms/tn3270/patches/patch-aa @@ -0,0 +1,17 @@ +$NetBSD: patch-aa,v 1.1 2010/12/30 09:22:43 obache Exp $ + +* workaround for DragonFly arpa/telnet.h, telopts will not defined + without TELOPTS (already defined in telnet/utilities.c) + +--- telnet/commands.c.orig 2010-01-17 18:00:03.000000000 +0000 ++++ telnet/commands.c +@@ -84,6 +84,9 @@ __RCSID("$NetBSD: commands.c,v 1.1.1.1 2 + #include <unistd.h> + + #include <arpa/telnet.h> ++#if defined(__DragonFly__) && !defined(TELOPTS) ++extern const char *telopts[NTELOPTS+1]; ++#endif + + #include "general.h" + #include "ring.h" |