Bug#552594: [tvtime] FTBFS with eglibc 2.10

Resul Cetin <[email protected]>
Newsgroups gmane.comp.video.tvtime.devel
Message-ID <200910271039.52541.Resul-Cetin__21577.9072525494$1256700457$gmane$org@gmx.net>
Package: tvtime
Version: 1.0.2-3.1
Severity: serious


if x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..    `/usr/bin/freetype-config --cflags`  -Wall -pedantic -I. -DDATADIR="\"/usr/share/tvtime\"" -
DCONFDIR="\"/etc/tvtime\"" -DFIFODIR="\"/tmp\"" -D_LARGEFILE64_SOURCE -DLOCALEDIR="\"/usr/share/locale\"" -I../plugins  -I/usr/include/libxml2 -
DFONTDIR="\"/usr/share/fonts/truetype/freefont\""  -g  -Wall -O3 -fomit-frame-pointer -std=gnu99 -MT tvtime-xmltv.o -MD -MP -MF ".deps/tvtime-xmltv.Tpo" \
          -c -o tvtime-xmltv.o `test -f 'xmltv.c' || echo './'`xmltv.c; \
        then mv -f ".deps/tvtime-xmltv.Tpo" ".deps/tvtime-xmltv.Po"; \
        else rm -f ".deps/tvtime-xmltv.Tpo"; exit 1; \
        fi
xmltv.c:121: error: conflicting types for 'locale_t'
/usr/include/xlocale.h:43: error: previous declaration of 'locale_t' was here
make[3]: *** [tvtime-xmltv.o] Error 1
make[3]: Leaving directory `/tmp/buildd/tvtime-1.0.2/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/tvtime-1.0.2'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/tvtime-1.0.2'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2


You must just rename locale_t in xmltv.c to tvtime_locale_t (3 places)




------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.