Package: xmms-synaesthesia
Severity: normal
Tags: patch

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

 gcc -DHAVE_CONFIG_H -I. -I. -I. -DPIC -fPIC -I. -I. -D_REENTRANT 
-I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -D_REENTRANT -Wall -g -O2 -Wp,-MD,.deps/syna_core.pp -c 
syna_core.c  -fPIC -DPIC -o .libs/syna_core.o
syna_core.c: In function 'fadeWave':
syna_core.c:207: error: invalid lvalue in assignment
syna_core.c:208: error: invalid lvalue in assignment
syna_core.c:209: error: invalid lvalue in assignment
syna_core.c: In function 'fadeHeat':
syna_core.c:281: error: invalid lvalue in assignment
syna_core.c:282: error: invalid lvalue in assignment
syna_core.c:283: error: invalid lvalue in assignment
make[1]: *** [syna_core.lo] Error 1
make[1]: Leaving directory `/xmms-synaesthesia-0.0.3'
make: *** [build-stamp] Error 2

With the attached patch 'xmms-synaesthesia' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/xmms-synaesthesia-0.0.3/syna_core.c ./syna_core.c
--- ../tmp-orig/xmms-synaesthesia-0.0.3/syna_core.c     2005-02-28 
15:42:08.651295041 +0100
+++ ./syna_core.c       2005-02-28 15:42:03.289330000 +0100
@@ -204,9 +204,9 @@
        gint x, y, i, j, start, end;
        gint step = outWidth * 2;
 
-       lastLastOutput = lastOutput;
-       lastOutput = output;
-       output = t;
+       synx_output[2] = lastOutput;
+       synx_output[1] = output;
+       synx_output[0] = t;
 
        for (x = 0, i = 0, j = outWidth * (outHeight - 1) * 2; x < outWidth; 
x++, i += 2, j += 2)
        {
@@ -278,9 +278,9 @@
        gint x, y, i, j, start, end;
        gint step = outWidth * 2;
 
-       lastLastOutput = lastOutput;
-       lastOutput = output;
-       output = t;
+       synx_output[2] = lastOutput;
+       synx_output[1] = output;
+       synx_output[0] = t;
 
        for (x = 0, i = 0, j = outWidth * (outHeight - 1) * 2; x < outWidth; 
x++, i += 2, j += 2)
        {


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

Reply via email to