Martin,

thanks for the heads up. I am going to apply your patch and make a release. The version number will be 2.0.11. It worries me a little that the current version in Debian is 2.0.9, which is one version behind. Hopefully Jeremy will pick new version up as soon as it is released. You did not mention it, but was there any problem compiling the other package - fwbuilder - once this patch was applied ?

I'll send another email when new release of fwbuilder is out.

thanks
--vk

On Mar 18, 2006, at 1:07 PM, Martin Michlmayr wrote:

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/



!DSPAM:441c7cb8243441102117851!




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

Reply via email to