diff options
author | tron <tron> | 2000-07-31 17:02:24 +0000 |
---|---|---|
committer | tron <tron> | 2000-07-31 17:02:24 +0000 |
commit | e50d24222839ccbca59fa930e5b36aa8dc9c0a9d (patch) | |
tree | b67f40c6af11e48760d1c127096a58b83ec262dc /net/wmnet/patches | |
parent | 5cfdbed842ba0d3c224cd6cb3634439d00c9dc5e (diff) | |
download | pkgsrc-e50d24222839ccbca59fa930e5b36aa8dc9c0a9d.tar.gz |
Use normal patch files instead of custom "do-patch" target.
Diffstat (limited to 'net/wmnet/patches')
-rw-r--r-- | net/wmnet/patches/patch-aa | 23 | ||||
-rw-r--r-- | net/wmnet/patches/patch-ab | 10 | ||||
-rw-r--r-- | net/wmnet/patches/patch-ac | 22 | ||||
-rw-r--r-- | net/wmnet/patches/patch-ad | 13 | ||||
-rw-r--r-- | net/wmnet/patches/patch-ae | 17 |
5 files changed, 85 insertions, 0 deletions
diff --git a/net/wmnet/patches/patch-aa b/net/wmnet/patches/patch-aa new file mode 100644 index 00000000000..9c012b14b87 --- /dev/null +++ b/net/wmnet/patches/patch-aa @@ -0,0 +1,23 @@ +$NetBSD: patch-aa,v 1.1 2000/07/31 17:02:25 tron Exp $ + +--- Imakefile.orig Fri May 5 02:34:29 2000 ++++ Imakefile Mon Jul 31 19:01:24 2000 +@@ -10,14 +10,16 @@ + LOCAL_LIBRARIES = $(XLIB) -lm + #endif + +-#if defined (FreeBSDArchitecture) || defined (OpenBSDArchitecture) ++#if defined (FreeBSDArchitecture) || defined (OpenBSDArchitecture) || \ ++ defined (NetBSDArchitecture) + LOCAL_LIBRARIES = $(XLIB) -lm -lkvm + INSTPGMFLAGS = -s -g kmem -m 2755 + #endif + + LINTLIBS = $(LINTXLIB) + +-#if defined (FreeBSDArchitecture) || defined (OpenBSDArchitecture) ++#if defined (FreeBSDArchitecture) || defined (OpenBSDArchitecture) || \ ++ defined (NetBSDArchitecture) + SRCS = wmnet.c drivers.c getopt.c getopt1.c + OBJS = wmnet.o drivers.o getopt.o getopt1.o + #else diff --git a/net/wmnet/patches/patch-ab b/net/wmnet/patches/patch-ab new file mode 100644 index 00000000000..b143f017ea6 --- /dev/null +++ b/net/wmnet/patches/patch-ab @@ -0,0 +1,10 @@ +$NetBSD: patch-ab,v 1.1 2000/07/31 17:02:25 tron Exp $ + +--- config.h.orig Fri May 5 02:34:29 2000 ++++ config.h Mon Jul 31 19:00:30 2000 +@@ -1,4 +1,4 @@ +-#if defined (__FreeBSD__) || defined (__OpenBSD__) ++#if defined (__FreeBSD__) || defined (__OpenBSD__) || defined (__NetBSD__) + + /* Our only FreeBSD driver, this goes straight into kernel memory + * and reads the raw structures from right underneath the kernel using the diff --git a/net/wmnet/patches/patch-ac b/net/wmnet/patches/patch-ac new file mode 100644 index 00000000000..ac658bf9d2b --- /dev/null +++ b/net/wmnet/patches/patch-ac @@ -0,0 +1,22 @@ +$NetBSD: patch-ac,v 1.1 2000/07/31 17:02:25 tron Exp $ + +--- drivers.c.orig Fri May 5 02:34:29 2000 ++++ drivers.c Mon Jul 31 19:00:30 2000 +@@ -457,7 +457,7 @@ + int flag = 0; + while (ifnet_addr && flag != (ACCOUNT_IN_FOUND|ACCOUNT_OUT_FOUND)) { + kvm_read(kvmfd, ifnet_addr, buffer, sizeof(struct ifnet)); +-#ifdef __OpenBSD__ ++#if defined(__OpenBSD__) || defined(__NetBSD__) + snprintf(devname, 15, "%s", ifnet->if_xname); + #else + kvm_read(kvmfd, (unsigned long)ifnet->if_name, devname, 15); +@@ -487,7 +487,7 @@ + flag = (ACCOUNT_IN_FOUND|ACCOUNT_OUT_FOUND); + + } else { +-#ifdef __OpenBSD__ ++#if defined(__OpenBSD__) || defined(__NetBSD__) + ifnet_addr = (unsigned long)ifnet->if_list.tqe_next; + #else + ifnet_addr = (unsigned long)ifnet->if_next; diff --git a/net/wmnet/patches/patch-ad b/net/wmnet/patches/patch-ad new file mode 100644 index 00000000000..f7a2405c162 --- /dev/null +++ b/net/wmnet/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1 2000/07/31 17:02:25 tron Exp $ + +--- wmnet.c.orig Fri May 5 03:01:14 2000 ++++ wmnet.c Mon Jul 31 19:00:30 2000 +@@ -55,7 +55,7 @@ + #include<X11/Xlib.h> + #include<X11/Xutil.h> + #include<X11/Xatom.h> +-#if defined (__FreeBSD__) || defined (__OpenBSD__) ++#if defined (__FreeBSD__) || defined (__OpenBSD__) || defined (__NetBSD__) + # include<sys/socket.h> + # include"getopt.h" + #else diff --git a/net/wmnet/patches/patch-ae b/net/wmnet/patches/patch-ae new file mode 100644 index 00000000000..f3994063e38 --- /dev/null +++ b/net/wmnet/patches/patch-ae @@ -0,0 +1,17 @@ +$NetBSD: patch-ae,v 1.1 2000/07/31 17:02:25 tron Exp $ + +--- wmnet.man.orig Fri May 5 02:43:35 2000 ++++ wmnet.man Mon Jul 31 19:00:30 2000 +@@ -147,9 +147,9 @@ + Otherwise, the kernel will not collect the stats we need. + .TP + .B kmem +-this driver is available on FreeBSD and OpenBSD systems and must be passed +-a device through the \fI--device\fP option. By default, it uses ec0 but +-will accept any valid device name. ++this driver is available on FreeBSD, OpenBSD and NetBSD systems and must be ++passed a device through the \fI--device\fP option. By default, it uses ec0 ++Dbut will accept any valid device name. + .SH FILES + .TP + .I /proc/net/ip_acct /proc/net/dev /proc/net/ipchains |