diff options
Diffstat (limited to 'patches/efax-0.9/efax-0.9-config.patch')
-rw-r--r-- | patches/efax-0.9/efax-0.9-config.patch | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/patches/efax-0.9/efax-0.9-config.patch b/patches/efax-0.9/efax-0.9-config.patch new file mode 100644 index 000000000..8f7c73334 --- /dev/null +++ b/patches/efax-0.9/efax-0.9-config.patch @@ -0,0 +1,67 @@ +--- efax-0.9/Makefile.config 1999-03-12 02:00:34.000000000 +0100 ++++ efax-0.9/Makefile 2002-06-18 12:43:34.000000000 +0200 +@@ -8,7 +8,7 @@ + # Compile/load options. Add -DNO_STRERROR to CFLAGS if _strerror + # is undefined + +-CFLAGS= ++CFLAGS= $(RPM_OPT_FLAGS) + LDFLAGS= + + # Change the following to the destination directories for +@@ -25,11 +25,9 @@ + + efax: efax.o efaxlib.o efaxio.o efaxos.o efaxmsg.o + $(CC) -o efax $(LDFLAGS) efax.o efaxlib.o efaxio.o efaxos.o efaxmsg.o +- strip efax + + efix: efix.o efaxlib.o efaxmsg.o + $(CC) -o efix $(LDFLAGS) efix.o efaxlib.o efaxmsg.o +- strip efix + + install: + cp fax efax efix $(BINDIR) +--- efax-0.9/fax.config 1999-03-24 09:07:28.000000000 +0100 ++++ efax-0.9/fax 2002-06-18 12:41:53.000000000 +0200 +@@ -17,9 +17,9 @@ + # The names of the fax script, efax and efix, including full path + # if necessary. + +-FAX=fax +-EFAX=efax +-EFIX=efix ++FAX=/usr/bin/fax ++EFAX=/usr/bin/efax ++EFIX=/usr/bin/efix + + # The device to which the fax modem is connected (e.g. ttya for + # /dev/ttya). Use a dial-out (cua) device if available. If +@@ -28,16 +28,16 @@ + # /dev/modem is a link to /dev/cua1, then getty, uucp, kermit, + # pppd, dip, etc. must *all* use either /dev/modem or /dev/cua1. + +-DEV=cua1 ++DEV=modem + + # Your fax number in international format, 20 characters maximum. + # Use only digits, spaces, and the "+" character. + +-FROM="+1 800 555 5555" ++FROM="+0 000 000 0000" + + # Your name as it should appear on the page header. + +-NAME="Put Your Name Here" ++NAME="from a Red Hat Linux system" + + # The preferred page size for creating and printing faxes. + # Allowed values are "letter", "legal", and "a4". +@@ -67,7 +67,7 @@ + # The name of the Ghostscript executable including full path if + # necessary. Only required if faxing Postscript files. + +-GS=gs ++GS=/usr/bin/gs + + # Dial string prefix and suffix such as T for tone dialing, P for + # pulse dialing, 9 to get an external line, commas for delays or |