aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-05-20 14:47:26 +0000
committerNicolas Thill <nico@openwrt.org>2005-05-20 14:47:26 +0000
commit65bf5d39fc5e5c7b7f00b39ea08b3c51bd8e7732 (patch)
treee4b813f4c1dfc436c07518eda97f3d9d901b6c67
parentf08e28b4e35b715bb868f0c0d9d9545383b8ab96 (diff)
downloadupstream-65bf5d39fc5e5c7b7f00b39ea08b3c51bd8e7732.tar.gz
upstream-65bf5d39fc5e5c7b7f00b39ea08b3c51bd8e7732.tar.bz2
upstream-65bf5d39fc5e5c7b7f00b39ea08b3c51bd8e7732.zip
Add a patch for olsrd to use gcc instead of makedepend
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@990 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/olsrd/patches/olsrd-0.4.9-no-makedepend.patch59
1 files changed, 59 insertions, 0 deletions
diff --git a/package/olsrd/patches/olsrd-0.4.9-no-makedepend.patch b/package/olsrd/patches/olsrd-0.4.9-no-makedepend.patch
new file mode 100644
index 0000000000..1e0e4de1c4
--- /dev/null
+++ b/package/olsrd/patches/olsrd-0.4.9-no-makedepend.patch
@@ -0,0 +1,59 @@
+diff -ruN olsrd-0.4.9-old/Makefile olsrd-0.4.9-new/Makefile
+--- olsrd-0.4.9-old/Makefile 2005-05-20 17:37:26.000000000 +0200
++++ olsrd-0.4.9-new/Makefile 2005-05-20 17:42:20.000000000 +0200
+@@ -75,7 +75,7 @@
+ OFLAGS ?= -O2 -g
+ CFLAGS ?= $(CCWARNINGS) $(OFLAGS) #-DDEBUG #-pg #-march=i686
+ LIBS = -lm -ldl #-pg
+-MAKEDEPEND = makedepend -f $(DEPFILE) $(DEFINES) -Y $(INCLUDES) $(SRCS) >/dev/null 2>&1
++MAKEDEPEND = $(CC) -M $(DEFINES) $(INCLUDES) $(SRCS) >> $(DEPFILE)
+
+ all: cfgparser olsrd
+ install: install_olsrd
+diff -ruN olsrd-0.4.9-old/lib/dot_draw/Makefile olsrd-0.4.9-new/lib/dot_draw/Makefile
+--- olsrd-0.4.9-old/lib/dot_draw/Makefile 2005-04-01 23:53:01.000000000 +0200
++++ olsrd-0.4.9-new/lib/dot_draw/Makefile 2005-05-20 17:42:52.000000000 +0200
+@@ -64,8 +64,7 @@
+
+ EXTRA_OBJS = # nothing
+
+-MAKEDEPEND = makedepend -f $(DEPFILE) $(CFLAGS_ADD) -Y $(INCLUDES) \
+- $(SRCS) >/dev/null 2>&1
++MAKEDEPEND = $(CC) -M $(CFLAGS_ADD) $(INCLUDES) $(SRCS) >> $(DEPFILE)
+
+ all: all2
+ install: install2
+diff -ruN olsrd-0.4.9-old/lib/nameservice/Makefile olsrd-0.4.9-new/lib/nameservice/Makefile
+--- olsrd-0.4.9-old/lib/nameservice/Makefile 2005-03-01 22:41:34.000000000 +0100
++++ olsrd-0.4.9-new/lib/nameservice/Makefile 2005-05-20 17:42:57.000000000 +0200
+@@ -98,8 +98,7 @@
+
+ EXTRA_OBJS = # nothing
+
+-MAKEDEPEND = makedepend -f $(DEPFILE) $(CFLAGS_ADD) -Y $(INCLUDES) \
+- $(SRCS) >/dev/null 2>&1
++MAKEDEPEND = $(CC) -M $(CFLAGS_ADD) $(INCLUDES) $(SRCS) >> $(DEPFILE)
+
+ all: all2
+ install: install2
+diff -ruN olsrd-0.4.9-old/src/cfgparser/Makefile olsrd-0.4.9-new/src/cfgparser/Makefile
+--- olsrd-0.4.9-old/src/cfgparser/Makefile 2005-03-21 03:17:36.000000000 +0100
++++ olsrd-0.4.9-new/src/cfgparser/Makefile 2005-05-20 17:43:50.000000000 +0200
+@@ -56,7 +56,7 @@
+
+ ifeq ($(OS), linux)
+ PIPETONULL = >/dev/null 2>&1
+-DEPFLAGS += -Dlinux -Y
++DEPFLAGS += -Dlinux
+ endif
+
+ ifeq ($(OS), fbsd)
+@@ -129,7 +129,7 @@
+ endif
+ endif
+
+-MAKEDEPEND = makedepend -f $(DEPFILE) $(DEPFLAGS) $(INCLUDES) $(SRCS) $(PIPETONULL)
++MAKEDEPEND = $(CC) -M $(DEPFLAGS) $(INCLUDES) $(SRCS) >> $(DEPFILE)
+
+ OBJS = olsrd_conf.o oparse.o oscan.o cfgfile_gen.o $(PORT_OBJS)
+ LIBS += $(PORT_LIBS)