diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/wmnd/files/patch-configure | 12 | ||||
-rw-r--r-- | net/wmnd/files/patch-src::drivers.c | 19 |
2 files changed, 12 insertions, 19 deletions
diff --git a/net/wmnd/files/patch-configure b/net/wmnd/files/patch-configure new file mode 100644 index 000000000000..53696a124371 --- /dev/null +++ b/net/wmnd/files/patch-configure @@ -0,0 +1,12 @@ +--- configure.orig Fri Jun 14 09:51:26 2002 ++++ configure Fri Jun 14 18:40:20 2002 +@@ -4844,8 +4844,7 @@ + + # driver detection block: skip this block if the user manually specify + # drivers on the command line +-if test "$ac_drivers" == "auto"; +-then ++if eval "test \"\${$ac_drivers}\" = auto"; then + # reset the state variable + ac_drivers="" + diff --git a/net/wmnd/files/patch-src::drivers.c b/net/wmnd/files/patch-src::drivers.c deleted file mode 100644 index 203181e37f3e..000000000000 --- a/net/wmnd/files/patch-src::drivers.c +++ /dev/null @@ -1,19 +0,0 @@ ---- src/drivers.c.orig Sat May 18 11:48:47 2002 -+++ src/drivers.c Sat May 18 11:50:28 2002 -@@ -554,7 +554,6 @@ - if(!devname || (devname && !strcmp(devname, tempndata.ifmd_name))) { - ndev = malloc(sizeof(struct Devices)); - ndev->devstart = 0; -- ndev->if_index = i; - ndev->name = strdup(tempndata.ifmd_name); - ndata = malloc(sizeof(struct ifmibdata)); - bcopy (&tempndata, ndata, sizeof(struct ifmibdata)); -@@ -596,7 +595,7 @@ - datamib[4] = 1; /* fill in later */ - datamib[5] = IFDATA_GENERAL; - -- datamib[4] = dev->if_index; -+ datamib[4] = IFMIB_IFCOUNT; - - len = sizeof(struct ifmibdata); - |