25 lines
496 B
Plaintext
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;
|
|
|