summaryrefslogtreecommitdiff
path: root/package/maradns/patches/patch-tcp_Makefile_ipv6
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2015-07-26 01:34:53 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-07-26 10:36:35 +0200
commite8a2e04315d138863b743ff3f51af167cbcdae37 (patch)
tree0a2f15efdac735cf0b284e3ee440e967219a2fb9 /package/maradns/patches/patch-tcp_Makefile_ipv6
parent6533c46eac76c4c7f48db9b66cc891bae7204d00 (diff)
package/maradns: update to version 2.0.09
Additionally: - Also minimize necessary patching. Still a bit hacky, but a lot less intrusive at least. - Allow enabling IPv6 support. - Make sure /etc/maradns/logger exists, necessary for chroot operation Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'package/maradns/patches/patch-tcp_Makefile_ipv6')
-rw-r--r--package/maradns/patches/patch-tcp_Makefile_ipv620
1 files changed, 20 insertions, 0 deletions
diff --git a/package/maradns/patches/patch-tcp_Makefile_ipv6 b/package/maradns/patches/patch-tcp_Makefile_ipv6
new file mode 100644
index 000000000..360687355
--- /dev/null
+++ b/package/maradns/patches/patch-tcp_Makefile_ipv6
@@ -0,0 +1,20 @@
+ - pass CFLAGS manually to CC calls, since using the $(M)
+ from top-level Makefile would lead to double CFLAGS passing
+ in implicit rules
+--- maradns-2.0.09.orig/tcp/Makefile.ipv6 2010-08-29 00:46:26.000000000 +0200
++++ maradns-2.0.09/tcp/Makefile.ipv6 2014-06-30 05:22:46.144053699 +0200
+@@ -25,11 +25,11 @@ clean:
+ rm -f core $(EXECS) $(TCPOBJS) *.exe
+
+ getzone: getzone.c $(OBJECTS)
+- $(CC) $(FLAGS) -o getzone getzone.c $(OBJECTS)
++ $(CC) $(CFLAGS) $(FLAGS) -o getzone getzone.c $(OBJECTS)
+
+ fetchzone: fetchzone.c $(OBJECTS)
+- $(CC) $(FLAGS) -o fetchzone fetchzone.c $(OBJECTS)
++ $(CC) $(CFLAGS) $(FLAGS) -o fetchzone fetchzone.c $(OBJECTS)
+
+ zoneserver: zoneserver.c zoneserver_en.h $(OBJECTS)
+- $(CC) $(FLAGS) -DVERSION=\"$(VERSION)\" -o zoneserver zoneserver.c $(OBJECTS) $(RNGOBJS)
++ $(CC) $(CFLAGS) $(FLAGS) -DVERSION=\"$(VERSION)\" -o zoneserver zoneserver.c $(OBJECTS) $(RNGOBJS)
+