summaryrefslogtreecommitdiff
path: root/net/socat
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2013-09-13 09:41:32 +0000
committerjperkin <jperkin@pkgsrc.org>2013-09-13 09:41:32 +0000
commitfec5524418496a72a307cfbde4bfebdfa72e8521 (patch)
treeeb537bb5ec9f60fbbefc8179311cb5725995c868 /net/socat
parentf456ce5498696e43dda4930addb79025d2e00773 (diff)
downloadpkgsrc-fec5524418496a72a307cfbde4bfebdfa72e8521.tar.gz
Need net/if.h for netinet/if_ether.h on SunOS.
Diffstat (limited to 'net/socat')
-rw-r--r--net/socat/distinfo3
-rw-r--r--net/socat/patches/patch-configure19
2 files changed, 21 insertions, 1 deletions
diff --git a/net/socat/distinfo b/net/socat/distinfo
index cfd6eb80530..776cdc22e4d 100644
--- a/net/socat/distinfo
+++ b/net/socat/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.17 2013/04/11 09:38:09 khorben Exp $
+$NetBSD: distinfo,v 1.18 2013/09/13 09:41:32 jperkin Exp $
SHA1 (socat-1.7.2.1.tar.gz) = 6e3328cc409550b2367efa8028fe4436e84eb490
RMD160 (socat-1.7.2.1.tar.gz) = ce607505cfc4063322abe229d8f527605e93e4f5
Size (socat-1.7.2.1.tar.gz) = 564254 bytes
SHA1 (patch-aa) = c10b68a5ca36ec27c6e77a01f6f89a832a4862eb
+SHA1 (patch-configure) = 5888fd4690bfc5acdd3319445a9b4e2192bd1276
SHA1 (patch-mytypes.h) = 57769b4295812d15cee7e3d4200c5c0c365f7efd
diff --git a/net/socat/patches/patch-configure b/net/socat/patches/patch-configure
new file mode 100644
index 00000000000..eae485a9981
--- /dev/null
+++ b/net/socat/patches/patch-configure
@@ -0,0 +1,19 @@
+$NetBSD: patch-configure,v 1.1 2013/09/13 09:41:32 jperkin Exp $
+
+Include net/if.h for netinet/if_ether.h
+
+--- configure.orig 2013-09-13 09:27:50.539358670 +0000
++++ configure
+@@ -4625,7 +4625,11 @@ fi
+
+ fi
+ if test "$WITH_INTERFACE"; then
+- ac_fn_c_check_header_mongrel "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "$ac_includes_default"
++ ac_fn_c_check_header_mongrel "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "$ac_includes_default
++ #if HAVE_NET_IF_H
++ #include <net/if.h>
++ #endif
++"
+ if test "x$ac_cv_header_netinet_if_ether_h" = x""yes; then :
+ $as_echo "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
+