Bug 117890

Summary: net-mgmt/bsd-airtools broken not because of gcc4
Product: Ports & Packages Reporter: Denis Barov <dindin>
Component: Individual Port(s)Assignee: Mark Linimon <linimon>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Denis Barov 2007-11-07 18:30:00 UTC
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
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2007-11-12 18:05:27 UTC
State Changed
From-To: open->closed

I've adjusted the "don't build" instruction to be IGNORE as of the 
approximation OSVERSION that the ioctls disappeared.  Unless someone 
wants to update the source to this port, it's probably just going to 
stay like this. 


Comment 2 Mark Linimon freebsd_committer freebsd_triage 2007-11-12 18:05:27 UTC
Responsible Changed
From-To: freebsd-ports-bugs->linimon
Comment 3 dfilter service freebsd_committer freebsd_triage 2007-11-12 18:06:30 UTC
linimon     2007-11-12 18:05:15 UTC

  FreeBSD ports repository

  Modified files:
    net-mgmt/bsd-airtools Makefile 
  Log:
  Correct the BROKEN line; the commit to if_wavelan_ieee.h of 20070711
  by thompsa removed some ioctls that this port depended on.  Therefore,
  IGNORE is more appropriate.
  
  PR:             ports/117890
  Submitted by:   Denis Barov <dindin at dindin dot ru>
  Approved by:    portmgr (self)
  
  Revision  Changes    Path
  1.9       +2 -6      ports/net-mgmt/bsd-airtools/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"