summaryrefslogtreecommitdiffstats
path: root/package/maradns/patches
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-30 20:45:11 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-30 20:45:11 +0000
commita7a559116b3d4cf3bb74e6678f66de29f98aa731 (patch)
treed6db5d409ef68633393a9ab1653822cd3bc6f27b /package/maradns/patches
parent635288d1e2b691a30bb3bf57be633dc06288f6f6 (diff)
add maradns
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@777 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/maradns/patches')
-rw-r--r--package/maradns/patches/cross-compile-fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/maradns/patches/cross-compile-fix.patch b/package/maradns/patches/cross-compile-fix.patch
new file mode 100644
index 000000000..d8ee0e051
--- /dev/null
+++ b/package/maradns/patches/cross-compile-fix.patch
@@ -0,0 +1,12 @@
+diff -urN maradns-1.0.26.old/rng/Makefile maradns-1.0.26.dev/rng/Makefile
+--- maradns-1.0.26.old/rng/Makefile 2003-08-02 21:39:36.000000000 +0200
++++ maradns-1.0.26.dev/rng/Makefile 2005-04-30 23:29:30.000000000 +0200
+@@ -20,7 +20,7 @@
+ $(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
++ $(HOSTCC) -o make_32bit_tables make_32bit_tables.c
+
+ rng-32bit-tables.h: make_32bit_tables
+ ./make_32bit_tables > rng-32bit-tables.h