From e8a2e04315d138863b743ff3f51af167cbcdae37 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Sun, 26 Jul 2015 01:34:53 +0200 Subject: 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 --- .../patches/patch-deadwood-3_2_05_src_Makefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 package/maradns/patches/patch-deadwood-3_2_05_src_Makefile (limited to 'package/maradns/patches/patch-deadwood-3_2_05_src_Makefile') diff --git a/package/maradns/patches/patch-deadwood-3_2_05_src_Makefile b/package/maradns/patches/patch-deadwood-3_2_05_src_Makefile new file mode 100644 index 000000000..a4d879c82 --- /dev/null +++ b/package/maradns/patches/patch-deadwood-3_2_05_src_Makefile @@ -0,0 +1,22 @@ + - set HOSTCC to the right value for OpenADK + - maradns, y u no use HOSTCC when appropriate?! +--- maradns-2.0.09.orig/deadwood-3.2.05/src/Makefile 2011-12-21 20:44:37.000000000 +0100 ++++ maradns-2.0.09/deadwood-3.2.05/src/Makefile 2014-06-19 02:48:35.375046777 +0200 +@@ -5,7 +5,7 @@ + # compiling. When cross-compiling, we still need to compile and + # run programs on the build machine, so change the next line when + # cross-compiling. +-HOSTCC=$(CC) ++HOSTCC=$(CC_FOR_BUILD) + + OBJS=DwStr.o \ + DwMararc.o \ +@@ -68,7 +68,7 @@ DwSys.o: DwSys.c DwStr.h + $(CC) $(FLAGS) -Wall -c -o DwSys.o DwSys.c + + RandomPrime: RandomPrime.c +- $(CC) -O3 -o RandomPrime RandomPrime.c ++ $(HOSTCC) -O3 -o RandomPrime RandomPrime.c + + DwRandPrime.h: RandomPrime + if [ -e /dev/urandom ] ; then ./RandomPrime > DwRandPrime.h ; fi -- cgit v1.2.3