aboutsummaryrefslogtreecommitdiffstats
path: root/net/wmwave
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-03-27 16:38:25 +0800
committerpat <pat@FreeBSD.org>2002-03-27 16:38:25 +0800
commitc5db794182704a58060fc8d69944fb67c04f7297 (patch)
treec046b0dea4095d3290168ea81894119069acda53 /net/wmwave
parent14c8de023f3de7142cbc5578dff3b95c13784358 (diff)
downloadfreebsd-ports-gnome-c5db794182704a58060fc8d69944fb67c04f7297.tar.gz
freebsd-ports-gnome-c5db794182704a58060fc8d69944fb67c04f7297.tar.zst
freebsd-ports-gnome-c5db794182704a58060fc8d69944fb67c04f7297.zip
Find if_wavelan_ieee.h on machines running -current.
Submitted by: bento
Diffstat (limited to 'net/wmwave')
-rw-r--r--net/wmwave/files/patch-wmwave.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/net/wmwave/files/patch-wmwave.c b/net/wmwave/files/patch-wmwave.c
index 11221f9ed6e1..e06c0b92cbf3 100644
--- a/net/wmwave/files/patch-wmwave.c
+++ b/net/wmwave/files/patch-wmwave.c
@@ -1,5 +1,5 @@
---- wmwave.c.orig Thu Dec 27 12:10:44 2001
-+++ wmwave.c Thu Dec 27 13:09:37 2001
+--- wmwave.c.orig Fri Aug 20 09:44:21 1999
++++ wmwave.c Wed Mar 27 03:31:16 2002
@@ -1,38 +1,21 @@
/*
+ * $Id$
@@ -52,7 +52,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
-@@ -45,313 +28,387 @@
+@@ -45,313 +28,393 @@
#include <limits.h>
#include <errno.h>
#include <signal.h>
@@ -80,7 +80,13 @@
+#include <netinet/ip.h>
+#include <netinet/ip_var.h>
+#include <arpa/inet.h>
++#include <osreldate.h>
++
++#if __FreeBSD_version >= 500015
++#include <dev/wi/if_wavelan_ieee.h>
++#else
+#include <machine/if_wavelan_ieee.h>
++#endif
#include <X11/Xlib.h>
#include <X11/xpm.h>