Package: imms Severity: normal Tags: patch When building 'imms' on amd64 with gcc-4.0, I get the following error:
g++ -g -O2 -fno-rtti -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -O3 -Wall -fPIC -D_REENTRANT -I../ -I../immscore -I../clients -c ../analyzer/analyzer.cc -o analyzer.o ../analyzer/analyzer.cc: In function 'int analyze(const std::string&)': ../analyzer/analyzer.cc:53: error: 'errno' was not declared in this scope ../analyzer/analyzer.cc:61: error: 'errno' was not declared in this scope ../analyzer/analyzer.cc:71: error: 'errno' was not declared in this scope ../analyzer/analyzer.cc:76: error: 'errno' was not declared in this scope ../analyzer/analyzer.cc:83: error: 'errno' was not declared in this scope ../analyzer/analyzer.cc:148: error: 'errno' was not declared in this scope make[2]: *** [analyzer.o] Error 1 With the attached patch 'imms' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/imms-2.0.1/analyzer/analyzer.cc ./analyzer/analyzer.cc --- ../tmp-orig/imms-2.0.1/analyzer/analyzer.cc 2005-02-08 17:08:05.839939783 +0100 +++ ./analyzer/analyzer.cc 2005-02-08 17:07:47.210546454 +0100 @@ -10,6 +10,7 @@ #include <fftw3.h> #include <stdint.h> #include <math.h> +#include <errno.h> #include <utils.h> #include <song.h> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

