Xfce 4.6 BETA-3 (Tuco-Tuco) Released

Anders F Björklund afb at algonet.se
Thu Jan 15 20:28:21 CET 2009


Oliver Lehmann wrote:

>> I am pleased to announce the release of Xfce 4.6 BETA-3.
>>
>> Just like with the previous BETA, this release comes with a lot of
>> bugfixes but is not expected to be 100% stable. This is why we  
>> want to
>> encourage you to test this release to it's limits and tell us what
>> breaks.
>
> xfce4-panel is broken on FreeBSD:
>
> launcher-exec.c: In function `launcher_exec_on_screen':
> launcher-exec.c:460: error: `environ' undeclared (first use in this  
> function)
> launcher-exec.c:460: error: (Each undeclared identifier is reported  
> only once
> launcher-exec.c:460: error: for each function it appears in.)

Equally broken on Mac OS X as well:

launcher-exec.c: In function 'launcher_exec_on_screen':
launcher-exec.c:460: error: 'environ' undeclared (first use in this  
function)
launcher-exec.c:460: error: (Each undeclared identifier is reported  
only once
launcher-exec.c:460: error: for each function it appears in.)

Here's the usual workaround/definition:

#ifdef __APPLE__
#include <crt_externs.h>
#define environ (*_NSGetEnviron())
#else
extern char **environ;
#endif

--anders




More information about the Xfce4-dev mailing list