1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00

- Update to 0.4.2

- Add pkg-message (1)

PR:             39065
Submitted by:   Andy Sparrow <spadger@best.com> (1)
Approved by:    maintainer
This commit is contained in:
Patrick Li 2002-06-20 07:33:36 +00:00
parent 90f081d845
commit 4fbb569b6f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=61624
2 changed files with 12 additions and 19 deletions

View File

@ -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=""

View File

@ -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);