SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
23
net/daq/patches/patch-configure
Normal file
23
net/daq/patches/patch-configure
Normal file
|
@ -0,0 +1,23 @@
|
|||
--- 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;
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue