ports/security/fragrouter/files/patch-attack.c
Robert Clausecker 37cf0da23d security/fragrouter: fix build on BPF-less jails
Such jails don't have /dev/bpf0, making a crucial configure test fail.
Fix the configure test to make the build succeed (e.g. on armv7).

And while here, also assume MAINTAINER.

PR:		267646
2022-11-11 21:32:38 +01:00

10 lines
185 B
C

--- attack.c.orig 2022-11-08 17:21:47 UTC
+++ attack.c
@@ -40,6 +40,7 @@
#ifdef STDC_HEADERS
#include <stdio.h>
+#include <string.h>
#endif
#include <pcap.h>
#include "attack.h"