diff options
author | Patrick Li <pat@FreeBSD.org> | 2002-06-18 04:38:09 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2002-06-18 04:38:09 +0000 |
commit | 8d2b25684f1f023fb9c2b6d4db140946e54ea613 (patch) | |
tree | 2d8967d16831191906534b8a6903e6c5f2aded43 /net | |
parent | Unbreak this port by patching the Makefile to use bmake syntax rather (diff) |
Location change of if_wavelan_ieee.h MFC'd, so fix patch.
Reviewed by: maintainer
Diffstat (limited to '')
-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; |