summaryrefslogtreecommitdiff
path: root/net/isc-dhcp4/patches
diff options
context:
space:
mode:
Diffstat (limited to 'net/isc-dhcp4/patches')
-rw-r--r--net/isc-dhcp4/patches/patch-bind_bind-9.11.14_bin_tests_system_metadata_tests.sh15
-rw-r--r--net/isc-dhcp4/patches/patch-common_dlpi.c10
2 files changed, 5 insertions, 20 deletions
diff --git a/net/isc-dhcp4/patches/patch-bind_bind-9.11.14_bin_tests_system_metadata_tests.sh b/net/isc-dhcp4/patches/patch-bind_bind-9.11.14_bin_tests_system_metadata_tests.sh
deleted file mode 100644
index 662700781f7..00000000000
--- a/net/isc-dhcp4/patches/patch-bind_bind-9.11.14_bin_tests_system_metadata_tests.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-bind_bind-9.11.14_bin_tests_system_metadata_tests.sh,v 1.1 2020/01/23 08:11:27 taca Exp $
-
-Fix shell portability.
-
---- bind/bind-9.11.14/bin/tests/system/metadata/tests.sh.orig 2019-12-12 11:36:39.000000000 +0000
-+++ bind/bind-9.11.14/bin/tests/system/metadata/tests.sh
-@@ -137,7 +137,7 @@ status=`expr $status + $ret`
-
- echo_i "checking warning about permissions change on key with dnssec-settime ($n)"
- uname=`uname -o 2> /dev/null`
--if [ Cygwin == "$uname" ]; then
-+if [ Cygwin = "$uname" ]; then
- echo_i "Cygwin detected, skipping"
- else
- ret=0
diff --git a/net/isc-dhcp4/patches/patch-common_dlpi.c b/net/isc-dhcp4/patches/patch-common_dlpi.c
index 459e2c1cfb4..196fea3436f 100644
--- a/net/isc-dhcp4/patches/patch-common_dlpi.c
+++ b/net/isc-dhcp4/patches/patch-common_dlpi.c
@@ -1,10 +1,10 @@
-$NetBSD: patch-common_dlpi.c,v 1.3 2016/03/30 15:55:44 taca Exp $
+$NetBSD: patch-common_dlpi.c,v 1.4 2022/03/13 15:24:38 taca Exp $
Add support for Crossbow style NICs (SunOS).
---- common/dlpi.c.orig 2016-03-22 13:16:51.000000000 +0000
+--- common/dlpi.c.orig 2022-03-08 09:26:03.000000000 +0000
+++ common/dlpi.c
-@@ -778,14 +778,26 @@ static int dlpiunit (ifname)
+@@ -782,14 +782,26 @@ static int dlpiunit (ifname)
*/
static int
dlpiopen(const char *ifname) {
@@ -13,11 +13,11 @@ Add support for Crossbow style NICs (SunOS).
char *dp;
const char *cp, *ep;
+ int fd;
-
+
if (!ifname) {
return -1;
}
-
+
+ /* Try Crossbow Device Path */
+ if (ifname[0] == '/') {
+ fd = open (ifname, O_RDWR, 0);