net/wmwlmon was just marked for deprecation because the removal of wi_req broke it.
Also, on October 1, 2007, the port was marked broken with gcc4.2.
I have a simple conditional compillation patch that will allow the port to continue to function for everything except the wi NIC. The troublesome code is confined to a single function that is only invoked in the presence of a wi NIC.
Unfortunately my patch removes wi compatibility for versions of FreeBSD where wi_reg still exists. If someone knows a better conditional compillation flag to use than __FreeBSD__, please do so.
Better yet, if someone knows how to correct the one small function that's causing the problem and has the right hardware to test it, that'd be great.
I also made two small changes for some type mismatches. The port now builds with
gcc (GCC) 4.2.1 20070719 [FreeBSD]
This software is valuable to those of us who have never seen a wi NIC, and I don't want it to become deprecated just because it doesn't currently work with one odd NIC. I hope that my contribution will help keep this port alive.
I have two patches to attach, but GNATS only allows one, so I will attach them in followups.
patch file 1 of 2
patch 2 of 2
patch 2 of 2, second try... Something about the last one didn't post
Well, that second one just refuses to post correctly. Maybe I should've
put a .txt on the end or something.
I'll stop spamming just post them both here with .txt on the end:
Maybe you are interested in maintianing this port?
I'll take it.
itetcu 2008-05-10 09:00:09 UTC
FreeBSD ports repository
net/wmwlmon/files extra-patch-wl.c extra-patch-wmwlmon.1
- fix build with gcc 4.2 
- fix build on 7 after wi_req removal (remove support for wi(4)) 
- unBROKEN 
- unDEPRECIATE 
- use REINPALCE_CMD
PR: ports/123408 ,  by itetcu@ (me) based on 
Submitted by: Luke Dean <firstname.lastname@example.org> 
Revision Changes Path
1.9 +9 -10 ports/net/wmwlmon/Makefile
1.1 +20 -0 ports/net/wmwlmon/files/extra-patch-wl.c (new)
1.1 +10 -0 ports/net/wmwlmon/files/extra-patch-wmwlmon.1 (new)
1.1 +10 -0 ports/net/wmwlmon/files/patch-bitmaps__wmwlmon_mask.xbm (new)
1.1 +13 -0 ports/net/wmwlmon/files/patch-wl.c (new)
email@example.com mailing list
To unsubscribe, send any mail to "firstname.lastname@example.org"