aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorsumikawa <sumikawa@FreeBSD.org>2002-09-20 11:44:16 +0800
committersumikawa <sumikawa@FreeBSD.org>2002-09-20 11:44:16 +0800
commit61cd3db1dca74886d274a1d704e62cfd12ac83f2 (patch)
tree8c61e4022123d430450d1983cc6a756163744202 /sysutils
parentf4687271c4043a5fa04c8a409036b6e47f3d86c4 (diff)
downloadfreebsd-ports-gnome-61cd3db1dca74886d274a1d704e62cfd12ac83f2.tar.gz
freebsd-ports-gnome-61cd3db1dca74886d274a1d704e62cfd12ac83f2.tar.zst
freebsd-ports-gnome-61cd3db1dca74886d274a1d704e62cfd12ac83f2.zip
Make buildable on 4-STABLE.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/xwipower/Makefile2
-rw-r--r--sysutils/xwipower/files/patch-aa13
2 files changed, 6 insertions, 9 deletions
diff --git a/sysutils/xwipower/Makefile b/sysutils/xwipower/Makefile
index a2a4f35b2b6b..6fe87cfa7419 100644
--- a/sysutils/xwipower/Makefile
+++ b/sysutils/xwipower/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xwipower
PORTVERSION= 20000623
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://iplab.aist-nara.ac.jp/member/masafu-o/xwipower/
EXTRACT_SUFX= .tgz
diff --git a/sysutils/xwipower/files/patch-aa b/sysutils/xwipower/files/patch-aa
index 42de04a3b4a2..cf066f0a7d19 100644
--- a/sysutils/xwipower/files/patch-aa
+++ b/sysutils/xwipower/files/patch-aa
@@ -1,18 +1,15 @@
--- xwipower.c.orig Fri Jun 23 17:53:11 2000
-+++ xwipower.c Sat Apr 21 07:51:15 2001
-@@ -18,7 +18,11 @@
++++ xwipower.c Thu Sep 19 12:53:24 2002
+@@ -18,7 +18,7 @@
#ifdef __FreeBSD__
#include <net/if_var.h>
#include <net/ethernet.h>
-+#if __FreeBSD_version >= 500000
+-#include <machine/if_wavelan_ieee.h>
+#include <dev/wi/if_wavelan_ieee.h>
-+#else
- #include <machine/if_wavelan_ieee.h>
-+#endif
#include <machine/apm_bios.h>
#else
#include <netinet/in.h>
-@@ -93,7 +97,7 @@
+@@ -93,7 +93,7 @@
Widget toplevel;
Widget base, strip_chart_obj;
@@ -21,7 +18,7 @@
unsigned long MyColor(display, color)
-@@ -223,10 +227,10 @@
+@@ -223,10 +223,10 @@
static void usage(app)
char *app;
{