diff options
author | pat <pat@FreeBSD.org> | 2002-06-18 12:38:09 +0800 |
---|---|---|
committer | pat <pat@FreeBSD.org> | 2002-06-18 12:38:09 +0800 |
commit | 0a9ce958c11dcd4f74f553a6bb4ad38fda7fe7e7 (patch) | |
tree | e9b9011f014ed958c96cf042f612018037857a62 /net | |
parent | 5b6a74f75ef145a160a46e7c7c5ab0274c280369 (diff) | |
download | freebsd-ports-gnome-0a9ce958c11dcd4f74f553a6bb4ad38fda7fe7e7.tar.gz freebsd-ports-gnome-0a9ce958c11dcd4f74f553a6bb4ad38fda7fe7e7.tar.zst freebsd-ports-gnome-0a9ce958c11dcd4f74f553a6bb4ad38fda7fe7e7.zip |
Location change of if_wavelan_ieee.h MFC'd, so fix patch.
Reviewed by: maintainer
Diffstat (limited to 'net')
-rw-r--r-- | net/wmwave/files/patch-wmwave.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/net/wmwave/files/patch-wmwave.c b/net/wmwave/files/patch-wmwave.c index d48244cb52de..f930595c30df 100644 --- a/net/wmwave/files/patch-wmwave.c +++ b/net/wmwave/files/patch-wmwave.c @@ -1,5 +1,5 @@ ---- wmwave.c.orig Fri Aug 20 14:44:21 1999 -+++ wmwave.c Tue May 21 11:05:44 2002 +--- wmwave.c.orig Fri Aug 20 09:44:21 1999 ++++ wmwave.c Mon Jun 17 18:53:19 2002 @@ -1,38 +1,21 @@ /* + * $Id$ @@ -52,7 +52,7 @@ #include <stdlib.h> #include <stdio.h> #include <time.h> -@@ -45,313 +28,394 @@ +@@ -45,313 +28,389 @@ #include <limits.h> #include <errno.h> #include <signal.h> @@ -80,13 +80,8 @@ +#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> @@ -100,8 +95,6 @@ -char wmwave_mask_bits[64*64]; -int wmwave_mask_width = 64; -int wmwave_mask_height = 64; -- --#define WMWAVE_VERSION "0.4" +char wmwave_mask_bits[64 * 64]; +int wmwave_mask_width = 64; +int wmwave_mask_height = 64; @@ -125,6 +118,8 @@ +void DrawBar(float percent, int dx, int dy); +void DrawGreenBar(float percent, int dx, int dy); +-#define WMWAVE_VERSION "0.4" +- -int update_rate=100000; - -char *ProgName; |