summaryrefslogtreecommitdiffstats
path: root/openwrt/package/mrd6/patches/01-ceilf_replacement.patch
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/mrd6/patches/01-ceilf_replacement.patch')
-rw-r--r--openwrt/package/mrd6/patches/01-ceilf_replacement.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/openwrt/package/mrd6/patches/01-ceilf_replacement.patch b/openwrt/package/mrd6/patches/01-ceilf_replacement.patch
new file mode 100644
index 000000000..1b4ac6213
--- /dev/null
+++ b/openwrt/package/mrd6/patches/01-ceilf_replacement.patch
@@ -0,0 +1,21 @@
+diff -urN mrd6-0.9.5/src/Makefile mrd6-0.9.5.new/src/Makefile
+--- mrd6-0.9.5/src/Makefile 2005-12-18 19:15:04.000000000 +0100
++++ mrd6-0.9.5.new/src/Makefile 2006-02-11 18:30:44.000000000 +0100
+@@ -43,7 +43,7 @@
+ CFLAGS += -DNO_INET6_OPTION
+ endif
+
+-DEST_PREFIX = $(DESTDIR)$(PREFIX)
++DEST_PREFIX = $(DESTDIR)/$(PREFIX)
+
+ ifeq ($(OPTIMIZE),yes)
+ ifeq ($(SPACE_OPTIMIZE),yes)
+@@ -97,7 +97,7 @@
+ endif
+ endif
+
+-LDFLAGS += -lm
++LDFLAGS += -lm -lnotimpl -L$(STAGING_DIR)/usr/lib
+ ifeq ($(PLATFORM),OS_LINUX)
+ LDFLAGS += -ldl
+ endif