dot-forward/dot-forward-0.71.patch.2001020500

87 lines
2.6 KiB
Plaintext
Raw Normal View History

diff -ruN dot-forward-0.71-01/Makefile dot-forward-0.71-02/Makefile
--- dot-forward-0.71-01/Makefile Tue May 19 06:15:50 1998
+++ dot-forward-0.71-02/Makefile Mon Feb 5 18:47:49 2001
@@ -39,6 +39,14 @@
compile auto_qmail.c
./compile auto_qmail.c
+root_auto_qmail.c: \
+auto-str conf-qmail
+ ./auto-str root_auto_qmail `pwd`/root`head -1 conf-qmail` > root_auto_qmail.c
+
+root_auto_qmail.o: \
+compile root_auto_qmail.c
+ ./compile root_auto_qmail.c
+
byte_chr.o: \
compile byte_chr.c byte.h
./compile byte_chr.c
@@ -177,13 +185,13 @@
rm -f trywaitp.o trywaitp
hier.o: \
-compile hier.c auto_qmail.h
+compile hier.c root_auto_qmail.h
./compile hier.c
install: \
-load install.o hier.o auto_qmail.o strerr.a substdio.a error.a open.a \
+load install.o hier.o root_auto_qmail.o strerr.a substdio.a error.a open.a \
str.a
- ./load install hier.o auto_qmail.o strerr.a substdio.a \
+ ./load install hier.o root_auto_qmail.o strerr.a substdio.a \
error.a open.a str.a
install.o: \
@@ -192,9 +200,9 @@
./compile install.c
instcheck: \
-load instcheck.o hier.o auto_qmail.o strerr.a substdio.a error.a \
+load instcheck.o hier.o root_auto_qmail.o strerr.a substdio.a error.a \
str.a
- ./load instcheck hier.o auto_qmail.o strerr.a substdio.a \
+ ./load instcheck hier.o root_auto_qmail.o strerr.a substdio.a \
error.a str.a
instcheck.o: \
diff -ruN dot-forward-0.71-01/hier.c dot-forward-0.71-02/hier.c
--- dot-forward-0.71-01/hier.c Tue May 19 06:15:50 1998
+++ dot-forward-0.71-02/hier.c Mon Feb 5 18:44:49 2001
@@ -1,16 +1,16 @@
-#include "auto_qmail.h"
+#include "root_auto_qmail.h"
void hier()
{
- h(auto_qmail,-1,-1,0755);
+ h(root_auto_qmail,-1,-1,0755);
- d(auto_qmail,"bin",-1,-1,0755);
- d(auto_qmail,"man",-1,-1,0755);
- d(auto_qmail,"man/man1",-1,-1,0755);
- d(auto_qmail,"man/cat1",-1,-1,0755);
+ d(root_auto_qmail,"bin",-1,-1,0755);
+ d(root_auto_qmail,"man",-1,-1,0755);
+ d(root_auto_qmail,"man/man1",-1,-1,0755);
+ d(root_auto_qmail,"man/cat1",-1,-1,0755);
- c(auto_qmail,"bin","dot-forward",-1,-1,0755);
+ c(root_auto_qmail,"bin","dot-forward",-1,-1,0755);
- c(auto_qmail,"man/man1","dot-forward.1",-1,-1,0644);
- c(auto_qmail,"man/cat1","dot-forward.0",-1,-1,0644);
+ c(root_auto_qmail,"man/man1","dot-forward.1",-1,-1,0644);
+ c(root_auto_qmail,"man/cat1","dot-forward.0",-1,-1,0644);
}
diff -ruN dot-forward-0.71-01/root_auto_qmail.h dot-forward-0.71-02/root_auto_qmail.h
--- dot-forward-0.71-01/root_auto_qmail.h Wed Dec 31 19:00:00 1969
+++ dot-forward-0.71-02/root_auto_qmail.h Mon Feb 5 18:44:34 2001
@@ -0,0 +1,6 @@
+#ifndef ROOT_AUTO_QMAIL_H
+#define ROOT_AUTO_QMAIL_H
+
+extern char root_auto_qmail[];
+
+#endif