Subject: pkg/24171: gkrellm-wireless (current) doesn't build (patch included)
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <netbsd-install@home.nl>
List: netbsd-bugs
Date: 01/20/2004 22:31:37
>Number: 24171
>Category: pkg
>Synopsis: gkrellm-wireless (current) doesn't build (patch included)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jan 20 22:32:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Noud de Brouwer
>Release: 1.6ZG
>Organization:
none
>Environment:
NetBSD host016.template 1.6ZG NetBSD 1.6ZG (GENERIC.MP) #0: Sun Jan 18 17:43:12 CET 2004 root@:/usr/src/sys/arch/i386/compile/GENERIC.MP i386
>Description:
gcc -O2 -I/usr/pkg/include -I/usr/X11R6/include -fPIC `gtk-config --cflags gthread` `imlib-config --cflags-gdk` -I/usr/pkg/include -O2 -I/usr/pkg/include -I/usr/X11R6/include -fPIC `gtk-config --cflags gthread` `imlib-config --cflags-gdk` -I/usr/pkg/include -I/usr/pkg/include -I/usr/X11R6/include -c -o wireless.o wireless.c
In file included from wireless.c:21:
wireless.h:34:32: net/if_ieee80211.h: No such file or directory
gmake: *** [wireless.o] Error 1
>How-To-Repeat:
clean install + pkgsrc.tar.gz dated 20040117
cd /usr/pkgsrc/net/gkrellm-wireless; make
>Fix:
patch-ab should be altered into
(i'm not sure about __NetBSD_Version__'s value):
--- wireless.h.orig 2001-09-09 16:25:55.000000000 +0200
+++ wireless.h 2004-01-20 22:41:19.000000000 +0100
@@ -31,8 +31,16 @@
#include <net/if_dl.h>
#include <net/if_ether.h>
#include <net/if_media.h>
+# if __NetBSD_Version__ > 106220000
+ #include <net80211/ieee80211.h>
+# else
#include <net/if_ieee80211.h>
- #include <dev/pcmcia/if_wi_ieee.h>
+# endif
+# if __NetBSD_Version__ > 105210000
+ #include <dev/ic/wi_ieee.h>
+# else
+ #include <dev/pcmcia/if_wi_ieee.h>
+# endif
#endif
#define PLUGIN_CONFIG_KEYWORD "gkrellmwireless"
>Release-Note:
>Audit-Trail:
>Unformatted: