Hi,

I noticed that the package for MaraDNS is for the older v1.3.07 instead of the current v2.0.04. I went to compile v2.0.04 from the upstream source on 5.0-stable, but it failed. Experimenting a bit, I found that (for some reason), inserting an "#include <stdio.h>" in two places fixes the problem (see attached patch). After two days of testing, it seems to work like a charm.

I'd be happy to help test and/or maintain this package. How can I help in updating it?

   Thanks,
   - Joe

diff -ru maradns-2.0.04.old/server/read_kvars.c maradns-2.0.04/server/read_kvars.c
--- maradns-2.0.04.old/server/read_kvars.c  Sat Nov 12 03:25:42 2011
+++ maradns-2.0.04/server/read_kvars.c  Sat Nov 26 08:08:55 2011
@@ -16,6 +16,7 @@
  * fitness for purpose.
  */
 
+#include <stdio.h>
 #include "../MaraDns.h"
 #include "../libs/MaraHash.h"
 #include "../parse/functions_parse.h"
diff -ru maradns-2.0.04.old/server/MaraAnyChain.c maradns-2.0.04/server/MaraAnyChain.c
--- maradns-2.0.04.old/server/MaraAnyChain.c        Sat Nov 12 03:25:42 2011
+++ maradns-2.0.04/server/MaraAnyChain.c        Sat Nov 26 08:09:26 2011
@@ -16,6 +16,7 @@
  * fitness for purpose.
  */
 
+#include <stdio.h>
 #include "../MaraDns.h"
 #include "../libs/MaraHash.h"
 #ifndef MINGW32

Reply via email to