Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Feb 2013 10:03:26 -0500
From:      Karim Fodil-Lemelin <fodillemlinkarim@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   WindowMaker 0.95.3 Port broken in 7.x
Message-ID:  <51111F3E.3030701@gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

For those still sporting 7.x systems with updated ports (as of yesterday 
04/02/2013)) and using windowmaker (I guess if your old school, might as 
well do it right ;) then you probably got greeted with a lovely broken 
port message when trying to compile your favorite window manager. I 
googled around and found that the same patch that was made for 
WindowMaker 0.95.2 fixed the port for me. I can confirm that after 
applying the patch (and commenting the BROKEN= part in the ports 
makefile) I could compile and run the latest wmaker on FreeBSD 7.4.

Here is the original email thread: 
http://freebsd.1045724.n5.nabble.com/PATCH-proposal-for-x11-wm-windowmaker-td5576336.html

And the patch itself:

kfl@pluto[x11-wm] #cat ~/patch-have_sys_select_h
--- ../WindowMaker-0.95.2-pre-patch/configure   2012-03-19 
08:51:13.000000000 +0100
+++ ./configure 2012-03-19 08:51:28.000000000 +0100
@@ -11555,7 +11555,7 @@
         ;;
         *-*-freebsd*|*-k*bsd-gnu*)
                 WM_OSDEP="bsd"
-               CFLAGS="$CFLAGS -D_XOPEN_SOURCE=600 -DFREEBSD"
+               CFLAGS="$CFLAGS -D_XOPEN_SOURCE=600 -DFREEBSD 
-DHAVE_SYS_SELECT_H"
         ;;
         *-*-netbsd*)
                 WM_OSDEP="bsd"

Hopefully this might save someone else time :)

Karim.

PS: I am not on freebsd-ports mailing list so reply directly if needed.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51111F3E.3030701>