Package: jwm Version: 0.23-1 Severity: serious Tags: patch When building 'jwm' on amd64/unstable, I get the following error:
x86_64-linux-gnu-gcc -c -O2 -Wall -g -O2 hint.c hint.c:531: error: conflicting types for 'GetWindowAtom' hint.h:32: error: previous declaration of 'GetWindowAtom' was here make[2]: *** [hint.o] Error 1 make[2]: Leaving directory `/jwm-0.23/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/jwm-0.23' make: *** [build-stamp] Error 2 With the attached patch 'jwm' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/jwm-0.23/src/hint.c ./src/hint.c --- ../tmp-orig/jwm-0.23/src/hint.c 2005-05-23 23:02:41.000000000 +0000 +++ ./src/hint.c 2005-09-03 05:46:09.000000000 +0000 @@ -528,7 +528,7 @@ /**************************************************************************** ****************************************************************************/ -int GetWindowAtom(Window window, AtomType atom, CARD32 *value) { +int GetWindowAtom(Window window, AtomType atom, Window *value) { unsigned long count; int status; unsigned long extra; -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]