summaryrefslogtreecommitdiff
path: root/openwrt/package/maradns/patches/cross-compile-fix.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-04-30 20:45:11 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-04-30 20:45:11 +0000
commit9d7d9110bed5cd0f41a4ce3b21e014930d82c813 (patch)
treed2895baf9b5c0d8ff8bc5ba760592eaf2492fcad /openwrt/package/maradns/patches/cross-compile-fix.patch
parent14a542b6b31cad924b8f832856697a28b5c4151d (diff)
downloadmtk-20170518-9d7d9110bed5cd0f41a4ce3b21e014930d82c813.zip
mtk-20170518-9d7d9110bed5cd0f41a4ce3b21e014930d82c813.tar.gz
mtk-20170518-9d7d9110bed5cd0f41a4ce3b21e014930d82c813.tar.bz2
add maradns
SVN-Revision: 777
Diffstat (limited to 'openwrt/package/maradns/patches/cross-compile-fix.patch')
-rw-r--r--openwrt/package/maradns/patches/cross-compile-fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/openwrt/package/maradns/patches/cross-compile-fix.patch b/openwrt/package/maradns/patches/cross-compile-fix.patch
new file mode 100644
index 0000000..d8ee0e0
--- /dev/null
+++ b/openwrt/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