pkgsrc/net/trafshow/patches/patch-ai
marino d5d2d5f9af 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
2011-11-01 19:10:15 +00:00

13 lines
310 B
Text

$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