pkgsrc/security/fragroute/patches/patch-ac
cube 796b5386cc No patches are needed for that package, except for -current between Sept.,
16th 2003 and Jan., 6th 2004 when <sys/siginfo.h> included <sys/queue.h>
unconditionally.

Rework the patches so that they're used only in that case.
2004-01-15 14:10:51 +00:00

17 lines
364 B
Text

$NetBSD: patch-ac,v 1.1 2004/01/15 14:10:51 cube Exp $
--- queue.h.orig 2002-04-07 23:12:52.000000000 +0200
+++ queue.h
@@ -500,4 +500,12 @@ struct { \
(elm2)->field.cqe_prev->field.cqe_next = (elm2); \
} while (0)
+#else
+
+#define FRAGROUTE_SYSTEM_SYS_QUEUE
+
+#ifndef TAILQ_END
+#define TAILQ_END(head) NULL
+#endif
+
#endif /* !_SYS_QUEUE_H_ */