diff options
author | Grigorios Bouzakis <grbzks@xsmail.com> | 2011-02-20 01:09:55 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-02-28 09:42:04 -0600 |
commit | 205fd2c562ebd24fc237a1afdfef2103f1e079e9 (patch) | |
tree | 6a5cdd885567b6bebe0079207f8c35bedfb5a456 /network/fdm/GNUmakefile.patch | |
parent | 2062bf16019ebbc0af74e2c58b6a574c418b3f0c (diff) |
network/fdm: fixed build failure with recent gcc
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/fdm/GNUmakefile.patch')
-rw-r--r-- | network/fdm/GNUmakefile.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/network/fdm/GNUmakefile.patch b/network/fdm/GNUmakefile.patch new file mode 100644 index 0000000000000..ef9de2f6ebb81 --- /dev/null +++ b/network/fdm/GNUmakefile.patch @@ -0,0 +1,34 @@ +--- fdm-1,6/GNUmakefile 2008-12-22 21:50:05.000000000 +0530 ++++ fdm-1.6/GNUmakefile 2009-05-09 19:07:21.000000000 +0530 +@@ -8,10 +8,7 @@ + + #DEBUG= 1 + +-PREFIX?= /usr/local +- +-BIN_OWNER= bin +-BIN_GROUP= root ++PREFIX?= /usr + + CC= gcc + +@@ -27,8 +24,8 @@ + endif + + INSTALLDIR= install -d +-INSTALLBIN= install -g $(BIN_OWNER) -o $(BIN_GROUP) -m 555 +-INSTALLMAN= install -g $(BIN_OWNER) -o $(BIN_GROUP) -m 444 ++INSTALLBIN= install -m 0755 ++INSTALLMAN= install -m 0644 + + SRCS= fdm.c \ + attach.c buffer.c cleanup.c command.c connect.c io.c log.c netrc.c \ +@@ -72,7 +69,7 @@ + endif + + OBJS= $(patsubst %.c,%.o,$(SRCS)) +-CPPFLAGS+= $(DEFS) -I. -I- $(INCDIRS) ++CPPFLAGS+= $(DEFS) -I. -iquote. $(INCDIRS) + ifdef DEBUG + CFLAGS+= -g -ggdb -DDEBUG + LDFLAGS+= -rdynamic |