Package: xfce
Severity: normal

When building 'xfce' on amd64 with gcc-4.0,
I get the following error:

In file included from xfgnome.c:43:
xfgnome.h:143: error: static declaration of '_XA_WIN_STATE' follows non-static 
declaration
../xfwm/xfwm.h:358: error: previous declaration of '_XA_WIN_STATE' was here
xfgnome.h:148: error: static declaration of '_XA_WIN_WORKSPACE' follows 
non-static declaration
../xfwm/xfwm.h:356: error: previous declaration of '_XA_WIN_WORKSPACE' was here
xfgnome.h:149: error: static declaration of '_XA_WIN_WORKSPACE_COUNT' follows 
non-static declaration
../xfwm/xfwm.h:355: error: previous declaration of '_XA_WIN_WORKSPACE_COUNT' 
was here
make[3]: *** [xfgnome.o] Error 1
make[3]: Leaving directory `/xfce-3.8.18/xfgnome'

With the attached patch 'xfce' can be compiled
on amd64 using gcc-4.0. 
I am not sure if this patch is correct, though.

Regards
Andreas Jochens

diff -urN ../tmp-orig/xfce-3.8.18/xfgnome/xfgnome.c ./xfgnome/xfgnome.c
--- ../tmp-orig/xfce-3.8.18/xfgnome/xfgnome.c   2001-08-10 15:11:08.000000000 
+0200
+++ ./xfgnome/xfgnome.c 2005-01-12 08:37:48.798368688 +0100
@@ -39,8 +39,8 @@
 
 #include "utils.h"
 #include "module.h"
-#include "../xfwm/xfwm.h"
 #include "xfgnome.h"
+#include "../xfwm/xfwm.h"
 #include "constant.h"
 
 #ifdef DMALLOC
diff -urN ../tmp-orig/xfce-3.8.18/xfsamba/xfsamba.h ./xfsamba/xfsamba.h
--- ../tmp-orig/xfce-3.8.18/xfsamba/xfsamba.h   2002-11-10 14:27:33.000000000 
+0100
+++ ./xfsamba/xfsamba.h 2005-01-12 08:40:47.321229088 +0100
@@ -240,7 +240,7 @@
 
 EXTERN selected_struc selected;
 EXTERN nmb_list *thisN, *headN;
-EXTERN nmb_history *thisH, *headH;
+EXTERN nmb_history *thisH;
 EXTERN void *fork_obj;
 EXTERN int SMBResult;
 EXTERN int SMBabortdrop;


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to