diff options
Diffstat (limited to 'net-dialup/hcfpcimodem/files/hcfpcimodem-1.19-gentoo.patch')
-rw-r--r-- | net-dialup/hcfpcimodem/files/hcfpcimodem-1.19-gentoo.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/net-dialup/hcfpcimodem/files/hcfpcimodem-1.19-gentoo.patch b/net-dialup/hcfpcimodem/files/hcfpcimodem-1.19-gentoo.patch new file mode 100644 index 000000000000..fcbd47440737 --- /dev/null +++ b/net-dialup/hcfpcimodem/files/hcfpcimodem-1.19-gentoo.patch @@ -0,0 +1,29 @@ +diff -Nru hcfpcimodem-1.19full.orig/diag/makefile hcfpcimodem-1.19full/diag/makefile +--- hcfpcimodem-1.19full.orig/diag/makefile 2004-12-14 08:50:41.000000000 +0100 ++++ hcfpcimodem-1.19full/diag/makefile 2009-08-19 18:50:28.000000000 +0200 +@@ -10,7 +10,7 @@ + include $(TOP)/config.mak + -include $(TOP)/modules/imported/makeflags.mak + +-CFLAGS = -I$(TOP)/modules/imported/include -I$(TOP)/modules/include ++CFLAGS += -I$(TOP)/modules/imported/include -I$(TOP)/modules/include + CFLAGS += $(IMPORTED_FRAMEWORK_DEFS) $(IMPORTED_GENERAL_DEFS) + CFLAGS += -DCNXTTARGET="\"$(CNXTTARGET)\"" + +@@ -41,13 +41,13 @@ + $(MKDIR) -p $@ + + $(CNXTTARGET)diag: diag.o modemexpert.o +- $(CC) -o $@ $^ ++ $(CC) ${LDFLAGS} -o $@ $^ + + $(CNXTTARGET)scr: scr.o +- $(CC) -o $@ $^ ++ $(CC) ${CFLAGS} ${LDFLAGS} -o $@ $^ + + $(CNXTTARGET)dmp: dmp.o +- $(CC) -o $@ $^ ++ $(CC) ${CFLAGS} ${LDFLAGS} -o $@ $^ + + clean: + rm -f *.o $(ALL) |