Package: libfwbuilder
Version: 2.0.9-3.2
Severity: important
Tags: patch

Your package fails to build with G++ 4.1.  I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.

A patch is below.


> Automatic build of libfwbuilder_2.0.9-3.2 on bigsur by sbuild/mips 1.94
...
> g++ -c -pipe -Wall -W -g -Wno-unused-parameter -D_REENTRANT -fPIC   
> -I/usr/share/qt3/mkspecs/default -I. -I.. -I../.. -I/usr/include 
> -I/usr/include/libxml2 -I-pthread -I.ui/ -o .obj/BackgroundOp.o 
> BackgroundOp.cpp
> BackgroundOp.cpp: In member function 'virtual libfwbuilder::Logger* 
> libfwbuilder::BackgroundOp::start_operation()':
> BackgroundOp.cpp:128: error: 'background_thread' was not declared in this 
> scope
> make[3]: *** [.obj/BackgroundOp.o] Error 1


--- libfwbuilder-2.0.9/src/fwbuilder/BackgroundOp.h~    2006-03-18 
20:49:06.000000000 +0000
+++ libfwbuilder-2.0.9/src/fwbuilder/BackgroundOp.h     2006-03-18 
20:49:15.000000000 +0000
@@ -55,6 +55,9 @@
 /**
  *  Abstract class BackgroundOp represents operatioin executed in background
  */
+
+void *background_thread(void *);
+
 class BackgroundOp 
 {
     friend void *background_thread(void *);
--- libfwbuilder-2.0.9/src/fwbuilder/dns.h~     2006-03-18 20:56:06.000000000 
+0000
+++ libfwbuilder-2.0.9/src/fwbuilder/dns.h      2006-03-18 20:56:10.000000000 
+0000
@@ -92,7 +92,7 @@
      */
     static void init();
     
-    DNS::DNS();
+    DNS();
 
     /**
      * Finds IP adddresses of the host with given host name.
--- libfwbuilder-2.0.9/src/fwbuilder/IPAddress.h~       2006-03-18 
21:01:23.000000000 +0000
+++ libfwbuilder-2.0.9/src/fwbuilder/IPAddress.h        2006-03-18 
21:02:26.000000000 +0000
@@ -142,6 +142,11 @@
 
 };
 
+class IPNetwork;
+std::vector<IPNetwork> convertAddressRange(const IPAddress &start,
+                                           const IPAddress &end);
+std::vector<IPNetwork> getOverlap(const IPNetwork &n1,const IPNetwork &n2);
+
 class IPNetwork
 {
     private:

-- 
Martin Michlmayr
http://www.cyrius.com/


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

Reply via email to