From:
[email protected]
Package: ksimus-datarecorder
Severity: normal
Tags: patch
When building 'ksimus-datarecorder' with gcc-3.4 I get the following error:
In file included from textrec.cpp:54:
textrec.h:355: error: extra `;'
textrec.cpp:1034: error: extra `;'
make[3]: *** [textrec.lo] Error 1
make[3]: Leaving directory `/ksimus-datarecorder-0.3.6/ksimus-datarecorder'
With the attached patch 'ksimus-datarecorder' can be compiled using gcc-3.4.
The patch also add '-fPIC' to CXXFLAGS in debian/rules because otherwise
the package FTBFS on amd64 (and probably some other architectures).
Regards
Andreas Jochens
diff -urN ../tmp-orig/ksimus-datarecorder-0.3.6/debian/rules ./debian/rules
--- ../tmp-orig/ksimus-datarecorder-0.3.6/debian/rules 2004-08-13 11:14:14.067185305 +0200
+++ ./debian/rules 2004-08-13 11:07:30.115595281 +0200
@@ -35,7 +35,7 @@
if test ! -f configure; then \
$(MAKE) -f admin/Makefile.common ;\
fi
- QTDIR=/usr/share/qt3 ./configure \
+ CXXFLAGS=-fPIC QTDIR=/usr/share/qt3 ./configure \
--host=$(DEB_HOST_GNU_TYPE) \
--build=$(DEB_BUILD_GNU_TYPE) \
$(configkde) \
diff -urN ../tmp-orig/ksimus-datarecorder-0.3.6/ksimus-datarecorder/channelpositionwidget.cpp ./ksimus-datarecorder/channelpositionwidget.cpp
--- ../tmp-orig/ksimus-datarecorder-0.3.6/ksimus-datarecorder/channelpositionwidget.cpp 2002-04-20 21:48:47.000000000 +0200
+++ ./ksimus-datarecorder/channelpositionwidget.cpp 2004-08-13 10:51:35.800673201 +0200
@@ -190,6 +190,6 @@
-}; //namespace KSimLibDataRecorder
+} //namespace KSimLibDataRecorder
diff -urN ../tmp-orig/ksimus-datarecorder-0.3.6/ksimus-datarecorder/channelpos