ports/net/daq/patches/patch-configure

24 lines
433 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
--- 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;