ports/117890: net-mgmt/bsd-airtools broken not because of gcc4

[ Available lists | Index of freebsd-ports-bugs | Month of Nov 2007 | Week of 7 Nov 2007 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Denis Barov <dindin@dindin.ru>
Date
7 Nov 2007 18:30:01
Subject
ports/117890: net-mgmt/bsd-airtools broken not because of gcc4
Message-ID
200711071828.lA7ISO3k040066@www.freebsd.org


[ Hide this part ]
 
>Number: 117890
>Category: ports
>Synopsis: net-mgmt/bsd-airtools broken not because of gcc4
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Nov 07 18:30:00 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator: Denis Barov
>Release: FreeBSD 5.* 6.* 7.*
>Organization:
Yandex
>Environment:
FreeBSD sepulcator.local.yandex.ru 7.0-BETA2 FreeBSD 7.0-BETA2 #0: Tue Nov 6 10:08:06 MSK 2007 root@sepulcator.local.yandex.ru:/usr/obj/usr/RELENG_7/src/sys/LIFEORB i386
>Description:
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@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

>How-To-Repeat:
# cd /usr/ports/net-mgm/bsd-airtools; make install
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


Elapsed time: 0.103 seconds