Package: labplot
Version: 1.4.0-3
Severity: serious
Tags: patch

When building 'labplot' on unstable,
I get the following error:

if /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DPACKAGE_NAME=\"\" 
-DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" 
-DPACKAGE_BUGREPORT=\"\" -DLVERSION=\"1.4.0\" -DLVERSION_DATE=1 -DHAVE_STRTOD=1 
-DHAVE_LOG2=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TIFF=1 
-DHAVE_GSL=1 -DHAVE_NEWGSL=1 -DHAVE_FFTW3=1 -DHAVE_JASPER=1 -DHAVE_PSTOEDIT=1 
-DHAVE_GL=1 -DKDELIBSUFF=\"\" -DHAVE_DLFCN_H=1 -DHAVE_SGI_STL=1 -DHAVE_CRYPT=1 
-Dkde_socklen_t=socklen_t -Dksize_t=socklen_t -DHAVE_SYS_TYPES_H=1 
-DHAVE_STDINT_H=1 -DHAVE_SYS_BITYPES_H=1 -DHAVE_RES_INIT=1 -DHAVE_RES_INIT=1 
-DHAVE_RES_INIT_PROTO=1 -DSIZEOF_INT=4 -DSIZEOF_SHORT=2 -DSIZEOF_LONG=8 
-DSIZEOF_CHAR_P=8 -DSIZEOF_SIZE_T=8 -DSIZEOF_UNSIGNED_LONG=8 -DHAVE_VSNPRINTF=1 
-DHAVE_SNPRINTF=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBJPEG=1 
-DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1  -I. -I.      -I../qwtplot3d/ 
-I/usr/include/kde -I/usr/share/qt3/include -I.   -DQT_THREAD_SUPPORT  
-D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align 
-Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings 
-DNDEBUG -DNO_DEBUG -g -O2 -Wformat-security -Wmissing-format-attribute 
-fno-check-new -fno-common  -MT LabPlotPart.lo -MD -MP -MF 
".deps/LabPlotPart.Tpo" -c -o LabPlotPart.lo LabPlotPart.cc; \
then mv -f ".deps/LabPlotPart.Tpo" ".deps/LabPlotPart.Plo"; else rm -f 
".deps/LabPlotPart.Tpo"; exit 1; fi
MainWin.h:265: warning: unused parameter 'e'
LabPlotPart.h:38: error: expected `)' before '*' token

With the attached patch 'labplot' can be compiled on unstable.

Regards
Andreas Jochens

diff -urN ../tmp-orig/labplot-1.4.0/src/LabPlotPart.h ./src/LabPlotPart.h
--- ../tmp-orig/labplot-1.4.0/src/LabPlotPart.h 2004-01-14 23:26:20.000000000 
+0000
+++ ./src/LabPlotPart.h 2005-08-24 15:54:51.000000000 +0000
@@ -12,6 +12,7 @@
 class KAboutData;
 class KInstance;
 class QLabel;
+class LabPlotPart;
 
 class LabPlotFactory : public KParts::Factory
 {


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

Reply via email to