openbsd-ports/net/daq/patches/patch-configure
lteo 8d7132743a Update to DAQ 2.0.5, from maintainer Markus Lude.
Tested with Snort 2.9.7.3 (which will be committed soon) by maintainer
and myself.
2015-05-29 03:27:27 +00:00

25 lines
496 B
Plaintext

$OpenBSD: patch-configure,v 1.6 2015/05/29 03:27:27 lteo Exp $
--- configure.orig Thu Apr 23 17:25:35 2015
+++ configure Sun May 24 16:51:38 2015
@@ -13562,12 +13562,20 @@ else
#include <pcap.h>
#include <string.h>
+#if defined(__OpenBSD__)
+ #include <sys/param.h>
+#endif
extern char pcap_version[];
int
main ()
{
+#if defined(OpenBSD)
+#if OpenBSD >= 201211
+ return 0;
+#endif
+#endif
if (strcmp(pcap_version, "1.0.0") < 0)
return 1;