diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-07-20 08:47:19 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-07-20 08:47:19 +0000 |
commit | 49b905a2cf884c01aac3a863c981af4abf6ac6c8 (patch) | |
tree | 6352eba4c68d2ce1778e471c9f6f02729fff101b /package/comgt/patches/001-compile_fix.patch | |
parent | 60d593c2d727c5f325ee65c514f3dc30ae64e7e3 (diff) | |
download | upstream-49b905a2cf884c01aac3a863c981af4abf6ac6c8.tar.gz upstream-49b905a2cf884c01aac3a863c981af4abf6ac6c8.tar.bz2 upstream-49b905a2cf884c01aac3a863c981af4abf6ac6c8.zip |
comgt: clean up patch, rename gcom binary to comgt, but add a compatibility symlink
SVN-Revision: 27699
Diffstat (limited to 'package/comgt/patches/001-compile_fix.patch')
-rw-r--r-- | package/comgt/patches/001-compile_fix.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/package/comgt/patches/001-compile_fix.patch b/package/comgt/patches/001-compile_fix.patch new file mode 100644 index 0000000000..15de850b73 --- /dev/null +++ b/package/comgt/patches/001-compile_fix.patch @@ -0,0 +1,23 @@ +--- a/Makefile ++++ b/Makefile +@@ -32,6 +32,7 @@ SCRIPTPATH = /etc/comgt/ + SCRIPTSRC = ./scripts/ + BIN = $(CPROG) + MANP = comgt.1 sigmon.1 ++CC = cc + + CFLAGS = -c + LDFLAGS = +@@ -70,10 +71,5 @@ clean: + -rm *~ + -rm $(SCRIPTSRC)*~ + +- +-comgt: comgt.o +- cc comgt.o $(LDFLAGS) -o comgt +- +-comgt.o: comgt.c comgt.h +- cc comgt.c $(CFLAGS) +- ++comgt: comgt.c comgt.h ++ $(CC) $(CFLAGS) -o comgt $< $(LDFLAGS) |