net-mgmt/bsd-airtools broken not because of gcc4

Denis Barov dindin at yandex-team.ru
Wed Nov 7 10:46:13 PST 2007


Hi all!
I found, that port net-mgmt/bsd-airtools marked as broken:

BROKEN=          Does not compile with GCC 4.2

but, it's not really so. 

It's broken after Wed Jul 11 21:25:48 2007 UTC commit by
thompsa at freebsd.org, when some ioctls was deleted from kernel.

For example, after patching /usr/include/dev/wi/if_wavelan_ieee.h
bsd-airtools compiled well:

--- /usr/include/dev/wi/if_wavelan_ieee.h       2007-11-07
19:36:15.000000000 +0300
+++ /usr/src/sys/dev/wi/if_wavelan_ieee.h       2007-07-12
01:25:48.000000000 +0400
@@ -59,7 +59,7 @@
  */
 #define WI_MAX_DATALEN 512
 
-#if 1
+#if 0
 struct wi_req {
        u_int16_t       wi_len;
        u_int16_t       wi_type;


But, still missing some ioctls. dstumbler said
error: unable to ioctl device socket: Invalid argument

May be I can do something helpful?
-- 
Denis Barov
Yandex http://www.yandex.ru
WEB-Search Administtration Team
e-mail: dindin at yandex-team.ru
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20071107/308c2d18/attachment-0001.pgp


More information about the freebsd-ports mailing list