summaryrefslogtreecommitdiff
path: root/package/maradns/patches/patch-rng_Makefile
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-rng_Makefile
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-rng_Makefile')
-rw-r--r--package/maradns/patches/patch-rng_Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/maradns/patches/patch-rng_Makefile b/package/maradns/patches/patch-rng_Makefile
new file mode 100644
index 000000000..7de1ad94b
--- /dev/null
+++ b/package/maradns/patches/patch-rng_Makefile
@@ -0,0 +1,12 @@
+ use host compiler to compile table generator
+--- maradns-2.0.09.orig/rng/Makefile 2006-01-02 17:59:33.000000000 +0100
++++ maradns-2.0.09/rng/Makefile 2014-06-19 02:40:59.777845739 +0200
+@@ -25,7 +25,7 @@ rng-api-fst.o: rng-alg-fst.o rng-api-fst
+ $(CC) -c $(FLAGS) -o rng-api-fst.o rng-api-fst.c
+
+ make_32bit_tables: make_32bit_tables.c
+- $(CC) -o make_32bit_tables make_32bit_tables.c
++ $(CC_FOR_BUILD) -o make_32bit_tables make_32bit_tables.c
+
+ rng-32bit-tables.h: make_32bit_tables
+ ./make_32bit_tables > rng-32bit-tables.h