Package: xmms-jess
Version: 2.9.1-8
Severity: serious
Tags: patch
When building 'xmms-jess' on unstable, I get the following error:
make[1]: Entering directory `/xmms-jess-2.9.1'
libtool --mode=compile gcc -c -I/usr/include/xmms -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/SDL
-D_GNU_SOURCE=1 -D_REENTRANT -Wall -g -O2 -pipe -ansi -ffast-math -DPIC -fPIC
jess.c
mkdir .libs
gcc -c -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall
-g -O2 -pipe -ansi -ffast-math -DPIC -fPIC jess.c -fPIC -DPIC -o .libs/jess.o
In file included from jess.c:20:
def.h:19:1: warning: "LINE_MAX" redefined
In file included from /usr/include/limits.h:148,
from /usr/lib/gcc/x86_64-linux-gnu/4.1.2/include/limits.h:122,
from /usr/lib/gcc/x86_64-linux-gnu/4.1.2/include/syslimits.h:7,
from /usr/lib/gcc/x86_64-linux-gnu/4.1.2/include/limits.h:11,
from /usr/lib/glib/include/glibconfig.h:9,
from /usr/include/glib-1.2/glib.h:66,
from /usr/include/xmms/plugin.h:27,
from jess.c:11:
/usr/include/bits/posix2_lim.h:82:1: warning: this is the location of the
previous definition
jess.c:30: error: conflicting types for 'usleep'
/usr/include/unistd.h:405: error: previous declaration of 'usleep' was here
make[1]: *** [jess.lo] Error 1
make[1]: Leaving directory `/xmms-jess-2.9.1'
make: *** [build-arch] Error 2
With the attached patch 'xmms-jess' can be compiled on unstable.
Regards
Andreas Jochens
diff -urN ../tmp-orig/xmms-jess-2.9.1/jess.c ./jess.c
--- ../tmp-orig/xmms-jess-2.9.1/jess.c 2006-10-12 07:00:10.000000000 +0000
+++ ./jess.c 2006-10-12 06:56:55.000000000 +0000
@@ -27,7 +27,6 @@
#include "palette.h"
#include "draw_low_level.h"
-void usleep (unsigned long usec);
int nice(int inc);
void jess_init (void);
void jess_init_xmms (void);
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]