aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorsumikawa <sumikawa@FreeBSD.org>2001-04-20 22:31:42 +0800
committersumikawa <sumikawa@FreeBSD.org>2001-04-20 22:31:42 +0800
commit7843c1ba1a1084423dc0473a2cf3e6c1f9022590 (patch)
treeedb644ebc46772358323bd808e1b0f2cf0aa3f39 /sysutils
parent5b84cca9c0e7c9fd40906ec2c7b4ce7d56cd02e1 (diff)
downloadfreebsd-ports-gnome-7843c1ba1a1084423dc0473a2cf3e6c1f9022590.tar.gz
freebsd-ports-gnome-7843c1ba1a1084423dc0473a2cf3e6c1f9022590.tar.zst
freebsd-ports-gnome-7843c1ba1a1084423dc0473a2cf3e6c1f9022590.zip
Make buildable on FreeBSD-current.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/xwipower/Makefile1
-rw-r--r--sysutils/xwipower/files/patch-aa20
2 files changed, 17 insertions, 4 deletions
diff --git a/sysutils/xwipower/Makefile b/sysutils/xwipower/Makefile
index 63a8625e079d..a2a4f35b2b6b 100644
--- a/sysutils/xwipower/Makefile
+++ b/sysutils/xwipower/Makefile
@@ -7,6 +7,7 @@
PORTNAME= xwipower
PORTVERSION= 20000623
+PORTREVISION= 1
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 fd11ee2af56d..42de04a3b4a2 100644
--- a/sysutils/xwipower/files/patch-aa
+++ b/sysutils/xwipower/files/patch-aa
@@ -1,6 +1,18 @@
---- xwipower.c~ Wed Jul 5 21:08:34 2000
-+++ xwipower.c Wed Jul 5 21:13:11 2000
-@@ -93,7 +93,7 @@
+--- xwipower.c.orig Fri Jun 23 17:53:11 2000
++++ xwipower.c Sat Apr 21 07:51:15 2001
+@@ -18,7 +18,11 @@
+ #ifdef __FreeBSD__
+ #include <net/if_var.h>
+ #include <net/ethernet.h>
++#if __FreeBSD_version >= 500000
++#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 @@
Widget toplevel;
Widget base, strip_chart_obj;
@@ -9,7 +21,7 @@
unsigned long MyColor(display, color)
-@@ -223,10 +223,10 @@
+@@ -223,10 +227,10 @@
static void usage(app)
char *app;
{