Package: libmad0-dev Version: 0.15.1b-4 Severity: important Tags: patch While building xbmc (not in Debian), i received this error.
g++ -MD -c -g -D_DEBUG -Wall -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/hal -DHAS_PULSEAUDIO -I/usr/include/lzo -D_LINUX -D_FILE_DEFINED -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DINSTALL_PATH="\"/usr/local/share/xbmc\"" -DHAS_SDL_JOYSTICK -DHAS_XRANDR -DHAS_PCRE -D'SVN_REV="exported"' -DHAVE_CONFIG_H -DDLL_PATH_LIBCURL="\"/usr/lib/libcurl.so\"" -I. -I../ -I../../ -I../../../ -I../../../../ -I../../../linux -I../../../../guilib DVDFactoryCodec.cpp -o DVDFactoryCodec.o In file included from Audio/DllLibMad.h:28, from Audio/DVDAudioCodecLibMad.h:25, from DVDFactoryCodec.cpp:34: /usr/include/mad.h:552: error: expected unqualified-id before ‘unsigned’ /usr/include/mad.h:552: error: expected ‘;’ before ‘unsigned’ I'm not sure if this is a c++ issue. Just in case, I set the severity to important. Attached is a patch that fixes this issue. -- System Information: Debian Release: 5.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libmad0-dev depends on: ii libmad0 0.15.1b-4 MPEG audio decoder library libmad0-dev recommends no packages. libmad0-dev suggests no packages. -- no debconf information
--- /usr/include/mad.h 2008-12-23 16:04:51.000000000 -0500 +++ mad.h 2009-01-23 01:46:36.000000000 -0500 @@ -549,7 +549,7 @@ # define LIBMAD_BIT_H struct mad_bitptr { - unsigned char const *byte; + unsigned char const *byte_; unsigned short cache; unsigned short left; };
signature.asc
Description: This is a digitally signed message part.