aboutsummaryrefslogtreecommitdiff
path: root/mail/reply-o-matic/files
diff options
context:
space:
mode:
Diffstat (limited to 'mail/reply-o-matic/files')
-rw-r--r--mail/reply-o-matic/files/patch-Makefile25
-rw-r--r--mail/reply-o-matic/files/patch-main.c20
2 files changed, 45 insertions, 0 deletions
diff --git a/mail/reply-o-matic/files/patch-Makefile b/mail/reply-o-matic/files/patch-Makefile
new file mode 100644
index 000000000000..7ec4f0d16e25
--- /dev/null
+++ b/mail/reply-o-matic/files/patch-Makefile
@@ -0,0 +1,25 @@
+--- Makefile.orig Tue Nov 25 18:41:39 2003
++++ Makefile Thu May 13 19:34:50 2004
+@@ -1,7 +1,5 @@
+-INSTALL_PREFIX=
+-MAN1=/usr/share/man/man1/
+-
+-CFLAGS=-g -O2
++INSTALL_PREFIX=${PREFIX}
++MAN1=/man/man1/
+
+ all: main.o base64.o
+ $(CC) $(CFLAGS) -o rom main.o base64.o
+@@ -9,10 +7,10 @@
+ clean:
+ @rm -f rom *.o core
+ install:
+- install -d -m 755 $(INSTALL_PREFIX)/usr/sbin
++ install -d -m 755 $(INSTALL_PREFIX)/sbin
+ install -d -m 755 $(INSTALL_PREFIX)/etc/rom
+ install -d -m 1755 $(INSTALL_PREFIX)/etc/rom/.rates
+- install -m 755 rom $(INSTALL_PREFIX)/usr/sbin/
++ install -m 755 rom $(INSTALL_PREFIX)/sbin
+ install -d -m 755 $(INSTALL_PREFIX)$(MAN1)
+ install -m 755 rom.1 $(INSTALL_PREFIX)$(MAN1)
+
diff --git a/mail/reply-o-matic/files/patch-main.c b/mail/reply-o-matic/files/patch-main.c
new file mode 100644
index 000000000000..4234cdca84d1
--- /dev/null
+++ b/mail/reply-o-matic/files/patch-main.c
@@ -0,0 +1,20 @@
+--- main.c.orig Thu May 13 18:44:13 2004
++++ main.c Thu May 13 18:44:46 2004
+@@ -929,7 +929,7 @@
+ case -1:
+ diedie(2);
+ break;
+- default:
++/* default: */
+ }
+ if ( forwardto[0] != 0 ) {
+ pipe(dfd);
+@@ -966,7 +966,7 @@
+ case -1:
+ diedie(2);
+ break;
+- default:
++/* default: */
+ }
+ }
+