Package: libxbase
Severity: minor
Usertags: clang-ftbfs
User: [email protected]
Tag: patch


Hello,

Using the rebuild infrastructure, your package fails to build with clang
(instead of gcc).

Thanks,
Arthur
diff -Naur libxbase.orig/libxbase-2.0.0/debian/changelog libxbase/libxbase-2.0.0/debian/changelog
--- libxbase.orig/libxbase-2.0.0/debian/changelog	2014-05-18 21:56:19.885746054 -0500
+++ libxbase/libxbase-2.0.0/debian/changelog	2014-05-20 21:57:00.933631688 -0500
@@ -1,3 +1,11 @@
+libxbase (2.0.0-8.6) unstable; urgency=low
+
+  * Fix FTBFS with clang:
+    - Fixed the "wrong main declaration" in
+      libtest/exptest.cpp
+
+ -- Arthur Marble <[email protected]>  Tue, 20 May 2014 21:57:00 -0500
+
 libxbase (2.0.0-8.5) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Naur libxbase.orig/libxbase-2.0.0/patches/clang-ftbfs.diff libxbase/libxbase-2.0.0/patches/clang-ftbfs.diff 
--- libxbase.orig/libxbase-2.0.0/patches/clang-ftbfs.diff	1969-12-31 18:00:00.000000000 -0600
+++ libxbase/libxbase-2.0.0/patches/clang-ftbfs.diff	2014-05-18 21:57:09.489744946 -0500
@@ -0,0 +1,18 @@
+--- a/libtest/exptest.cpp
++++ b/libtest/exptest.cpp
+@@ -133,7 +133,7 @@ xbShort ExpTestor::TestExpression( const
+   return 0;
+ }
+ /*************************************************************************/
+-main()
++int main()
+ {
+   xbSchema MyRecord[] =
+   {
+@@ -230,4 +230,6 @@ main()
+ 
+   e->TestExpression( "TEST->FLOAT1 < 1", (xbDouble) 0 );
+   e->TestExpression( "TEST->FLOAT1 > 1", (xbDouble) 1 );
++
++  return 0;
+ }     
diff -Naur libxbase.orig/libxbase-2.0.0/patches/series libxbase/libxbase-2.0.0/patches/series 
--- libxbase.orig/libxbase-2.0.0/patches/series	1969-12-31 18:00:00.000000000 -0600
+++ libxbase/libxbase-2.0.0/patches/series	2014-05-18 21:56:33.709745745 -0500
@@ -0,0 +1 @@
+clang-ftbfs.diff

Reply via email to