From:
[email protected]
Package: ksimus-boolean
Severity: normal
Tags: patch
When building 'ksimus-boolean' with gcc-3.4 I get the following error:
In file included from booltristatexor.h:28,
from booltristatexor.cpp:31:
booltristate1out.h:372: error: extra `;'
In file included from booltristatexor.cpp:31:
booltristatexor.h:78: error: extra `;'
booltristatexor.cpp:111: error: extra `;'
make[3]: *** [booltristatexor.lo] Error 1
make[3]: Leaving directory `/ksimus-boolean-0.3.6/ksimus-boolean'
With the attached patch 'ksimus-boolean' can be compiled using gcc-3.4.
The patch also adds '-fPIC' to CXXFLAGS in debian/rules because otherwise
the package FTBFS on amd64 (and probably other architectures).
Regards
Andreas Jochens
diff -urN ../tmp-orig/ksimus-boolean-0.3.6/debian/rules ./debian/rules
--- ../tmp-orig/ksimus-boolean-0.3.6/debian/rules 2004-08-13 11:57:00.301058457 +0200
+++ ./debian/rules 2004-08-13 11:18:13.460791945 +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-boolean-0.3.6/ksimus-boolean/boolean.cpp ./ksimus-boolean/boolean.cpp
--- ../tmp-orig/ksimus-boolean-0.3.6/ksimus-boolean/boolean.cpp 2003-02-28 00:07:30.000000000 +0100
+++ ./ksimus-boolean/boolean.cpp 2004-08-13 11:56:40.629049057 +0200
@@ -205,7 +205,7 @@
KInstance * instance = 0;
const PackageInfo * packageInfo = 0;
-}; //namespace KSimLibBoolean
+} //namespace KSimLibBoolean
diff -urN ../tmp-orig/ksimus-boolean-0.3.6/ksimus-boolean/boolean.h ./ksimus-boolean/boolean.h
--- ../tmp-orig/ks