Package: mhwaveedit
Version: 1.4.22-1
Severity: serious
Tags: patch sid
User: [email protected]
Usertags: powerpcspe

Hi,

on big endian machines, mhwaveedit currently FTBFS like this:

gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 
-I/usr/lib/powerpc-linux-gnuspe/gtk-2.0/include -I/usr/include/atk-1.0 
-I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 
-I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 
-I/usr/lib/powerpc-linux-gnuspe/glib-2.0/include -I/usr/include/pixman-1 
-I/usr/include/freetype2 -I/usr/include/libpng12 -pthread 
-I/usr/include/glib-2.0 -I/usr/lib/powerpc-linux-gnuspe/glib-2.0/include   
-D_REENTRANT   -DLOCALEDIR=\"/usr/share/locale\"   -g -O2 -c dataformat.c
In file included from dataformat.c:247:0:
convert_inc.c:122:0: warning: "C_FLOAT_PCM24SOE" redefined [enabled by default]
convert_inc.c:120:0: note: this is the location of the previous definition
convert_inc.c:123:0: warning: "C_FLOAT_PCM24UOE" redefined [enabled by default]
convert_inc.c:121:0: note: this is the location of the previous definition
In file included from dataformat.c:306:0:
convert_inc.c:120:0: warning: "C_FLOAT_PCM24SOE" redefined [enabled by default]
convert_inc.c:122:0: note: this is the location of the previous definition
convert_inc.c:121:0: warning: "C_FLOAT_PCM24UOE" redefined [enabled by default]
convert_inc.c:123:0: note: this is the location of the previous definition
convert_inc.c:122:0: warning: "C_FLOAT_PCM24SOE" redefined [enabled by default]
convert_inc.c:120:0: note: this is the location of the previous definition
convert_inc.c:123:0: warning: "C_FLOAT_PCM24UOE" redefined [enabled by default]
convert_inc.c:121:0: note: this is the location of the previous definition
convert_inc.c:771:12: error: conflicting types for 'C_FLOAT_PCM32SBEPM'
convert_inc.c:771:12: note: previous definition of 'C_FLOAT_PCM32SBEPM' was here
[...]

Attaching a patch that fixes this.

Thanks,

Roland


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.5.0 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -ruN mhwaveedit-1.4.22.backup/src/convert_inc.c mhwaveedit-1.4.22/src/convert_inc.c
--- mhwaveedit-1.4.22.backup/src/convert_inc.c	2012-07-25 21:04:30.000000000 +0200
+++ mhwaveedit-1.4.22/src/convert_inc.c	2012-11-20 13:49:56.000000000 +0100
@@ -108,19 +108,19 @@
 #define C_FLOAT_PCM16UNE C_FLOAT_PCM16UBE
 #define C_FLOAT_PCM32SNE C_FLOAT_PCM32SBE
 #define C_FLOAT_PCM32UNE C_FLOAT_PCM32UBE
-#define C_FLOAT_PCM24SNEPM C_FLOAT_PCM32SBEPM
-#define C_FLOAT_PCM24UNEPM C_FLOAT_PCM32UBEPM
-#define C_FLOAT_PCM24SNEPL C_FLOAT_PCM32SBEPL
-#define C_FLOAT_PCM24UNEPL C_FLOAT_PCM32UBEPL
+#define C_FLOAT_PCM24SNEPM C_FLOAT_PCM24SBEPM
+#define C_FLOAT_PCM24UNEPM C_FLOAT_PCM24UBEPM
+#define C_FLOAT_PCM24SNEPL C_FLOAT_PCM24SBEPL
+#define C_FLOAT_PCM24UNEPL C_FLOAT_PCM24UBEPL
 
 #define C_FLOAT_PCM16SOE C_FLOAT_PCM16SLE
 #define C_FLOAT_PCM16UOE C_FLOAT_PCM16ULE
 #define C_FLOAT_PCM32SOE C_FLOAT_PCM32SLE
 #define C_FLOAT_PCM32UOE C_FLOAT_PCM32ULE
-#define C_FLOAT_PCM24SOE C_FLOAT_PCM24SLEPM
-#define C_FLOAT_PCM24UOE C_FLOAT_PCM24ULEPM
-#define C_FLOAT_PCM24SOE C_FLOAT_PCM24SLEPL
-#define C_FLOAT_PCM24UOE C_FLOAT_PCM24ULEPL
+#define C_FLOAT_PCM24SOEPM C_FLOAT_PCM24SLEPM
+#define C_FLOAT_PCM24UOEPM C_FLOAT_PCM24ULEPM
+#define C_FLOAT_PCM24SOEPL C_FLOAT_PCM24SLEPL
+#define C_FLOAT_PCM24UOEPL C_FLOAT_PCM24ULEPL
 
 static void C_PCM24SLE_FLOAT(guint32 *in, FTYPE *out, int count)
 {

Reply via email to