summaryrefslogtreecommitdiff
path: root/net/trafshow
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2011-11-01 19:10:15 +0000
committermarino <marino@pkgsrc.org>2011-11-01 19:10:15 +0000
commitb44d471304f40d324d44d056e78834769293939b (patch)
treeaab898946161e089677a28c09ef8e0926ab939b5 /net/trafshow
parentfafa4ad74603f17536e600ace69a06ce78ea7136 (diff)
downloadpkgsrc-b44d471304f40d324d44d056e78834769293939b.tar.gz
net/trafshow: Fix breakage on all platforms
Trafshow would not build due to #elif used instead of #else. It would not build on DragonFly nor NetBSD 5.99 Reported by S.Wildner
Diffstat (limited to 'net/trafshow')
-rw-r--r--net/trafshow/distinfo3
-rw-r--r--net/trafshow/patches/patch-ai13
2 files changed, 15 insertions, 1 deletions
diff --git a/net/trafshow/distinfo b/net/trafshow/distinfo
index 81acfc89c8b..b08ee3c7d3a 100644
--- a/net/trafshow/distinfo
+++ b/net/trafshow/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.10 2007/10/18 09:32:43 obache Exp $
+$NetBSD: distinfo,v 1.11 2011/11/01 19:10:15 marino Exp $
SHA1 (trafshow-5.2.3.tgz) = 1c68f603f12357e932c83de850366c9b46e53d89
RMD160 (trafshow-5.2.3.tgz) = f1ae068f898160f16ae9b3cb5f9d73ae3aece6cb
Size (trafshow-5.2.3.tgz) = 142615 bytes
+SHA1 (patch-ai) = 6cfa14ad753bfd2b85e0e8c8cd8d8c25a697d6dd
diff --git a/net/trafshow/patches/patch-ai b/net/trafshow/patches/patch-ai
new file mode 100644
index 00000000000..6ed1442e9d1
--- /dev/null
+++ b/net/trafshow/patches/patch-ai
@@ -0,0 +1,13 @@
+$NetBSD: patch-ai,v 1.1 2011/11/01 19:10:15 marino Exp $
+
+--- session.c.orig 2006-01-08 05:58:08.000000000 +0000
++++ session.c
+@@ -40,7 +40,7 @@
+ #define ASYNC_MODE FNDELAY
+ #elif O_ASYNC
+ #define ASYNC_MODE O_ASYNC
+-#elif
++#else
+ #error the fcntl argument to turn ON/OFF non-blocking I/O is unknown
+ #endif
+