9d63b08c10
From Markus Lude (maintainer). OK sthen@
25 lines
496 B
Plaintext
25 lines
496 B
Plaintext
$OpenBSD: patch-configure,v 1.2 2013/01/16 04:48:39 lteo Exp $
|
|
--- configure.orig Mon Nov 5 22:07:56 2012
|
|
+++ configure Wed Dec 12 23:13:06 2012
|
|
@@ -12784,12 +12784,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;
|
|
|