pdns-2.9.13 kinda works on OpenBSD 3.4 (was: Re: [Pdns-dev] upgraded part of openbsd patch to pdns-2.9.11)

Joost van Baal joostvb-pdns-dev at mdcc.cx
Tue Jan 6 20:40:57 CET 2004


Hi,

FYI: Applying this patch:

------------

--- common_startup.cc.orig    Sun Oct  5 17:44:44 2003
+++ common_startup.cc   Tue Jan  6 16:24:12 2004
@@ -269,7 +269,8 @@
     TN->go(); // tcp nameserver launch

   //  fork(); (this worked :-))
-  DNSDistributor *D= new DNSDistributor(arg().asNum("distributor-threads")); // the big dispatcher!
+  int foo1 = arg().asNum("distributor-threads");
+  DNSDistributor *D= new DNSDistributor(foo1); // the big dispatcher!
   pthread_create(&qtid,0,qthread,static_cast<void *>(D)); // receives packets

   void *p;

---------

to pdns-2.9.13, and compiling as

  ./configure --with-modules=

yields a working PowerDNS on a vanilla OpenBSD 3.4, which ships gcc
2.95.3.

Tnx for maintaining PowerDNS!

Bye,

Joost

-- 
                               . .                  http://mdcc.cx/
Joost van Baal                .   .
                              .   .           http://logreport.org/
                               . .        http://abramowitz.uvt.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.powerdns.com/pipermail/pdns-dev/attachments/20040106/60d17868/attachment.bin


More information about the Pdns-dev mailing list