upgpkg: sbcl 2.2.9-1
[arch-packages.git] / vi / trunk / preserve-dir.patch
blobddfe8783a3403a3138dffca07b0f781bf9e3d7aa
1 diff -Naur ex-050325.ori/ex.1 ex-050325/ex.1
2 --- ex-050325.ori/ex.1 2005-02-17 07:39:36.000000000 -0500
3 +++ ex-050325/ex.1 2011-02-01 16:21:51.496666674 -0500
4 @@ -1950,7 +1950,7 @@
5 .B /var/tmp/Rx\fInnnnnnnnnn\fP
6 named buffer temporary
7 .TP
8 -.B /var/preserve
9 +.B /var/lib/ex
10 preservation directory
11 .SH DOCUMENTATION
12 The document
13 diff -Naur ex-050325.ori/expreserve.c ex-050325/expreserve.c
14 --- ex-050325.ori/expreserve.c 2005-03-04 07:44:46.000000000 -0500
15 +++ ex-050325/expreserve.c 2011-02-01 16:22:06.583333342 -0500
16 @@ -272,7 +272,7 @@
17 #ifdef notdef
18 char pattern[] = "/usr/preserve/Exaa`XXXXX";
19 #else
20 -char pattern[] = "/var/preserve/Exa`XXXXXXXXXX";
21 +char pattern[] = "/var/lib/ex/Exa`XXXXXXXXXX";
22 #endif
25 @@ -296,7 +296,7 @@
26 timestamp = ctime(&time);
27 timestamp[16] = 0; /* blast from seconds on */
28 putenv("MAILRC=/dev/null");
29 - sprintf(cmd, "/bin/mail %s", pp->pw_name);
30 + sprintf(cmd, "/usr/bin/mail %s", pp->pw_name);
31 setuid(getuid());
32 mf = popen(cmd, "w");
33 if (mf == NULL)
34 diff -Naur ex-050325.ori/exrecover.c ex-050325/exrecover.c
35 --- ex-050325.ori/exrecover.c 2005-03-04 07:44:46.000000000 -0500
36 +++ ex-050325/exrecover.c 2011-02-01 16:21:51.496666674 -0500
37 @@ -167,7 +167,7 @@
38 #ifdef notdef
39 char mydir[] = "/usr/preserve";
40 #else
41 -char mydir[] = "/var/preserve";
42 +char mydir[] = "/var/lib/ex";
43 #endif
46 diff -Naur ex-050325.ori/Makefile ex-050325/Makefile
47 --- ex-050325.ori/Makefile 2005-03-24 18:50:09.000000000 -0500
48 +++ ex-050325/Makefile 2011-02-01 16:21:51.496666674 -0500
49 @@ -83,7 +83,7 @@
50 BINDIR = $(PREFIX)/bin
51 LIBEXECDIR = $(PREFIX)/libexec
52 MANDIR = $(PREFIX)/share/man
53 -PRESERVEDIR = /var/preserve
54 +PRESERVEDIR = /var/lib/ex
57 # DESTDIR is prepended to the installation paths. It is mostly useful
58 diff -Naur ex-050325.ori/vi.1 ex-050325/vi.1
59 --- ex-050325.ori/vi.1 2005-02-17 07:39:36.000000000 -0500
60 +++ ex-050325/vi.1 2011-02-01 16:21:51.496666674 -0500
61 @@ -979,7 +979,7 @@
62 .B /var/tmp/Rx\fInnnnnnnnnn\fP
63 named buffer temporary
64 .TP
65 -.B /var/preserve
66 +.B /var/lib/ex
67 preservation directory
68 .SH SEE ALSO
69 ex(1),
70 --- ex-050325.original/ex.1 2012-01-27 20:43:00.602119283 +0100
71 +++ ex-050325/ex.1 2012-01-27 20:47:24.535436516 +0100
72 @@ -1932,10 +1932,10 @@
73 Determines the terminal type.
74 .SH FILES
75 .TP
76 -.B /usr/libexec/expreserve
77 +.B /usr/lib/ex/expreserve
78 preserve command
79 .TP
80 -.B /usr/libexec/exrecover
81 +.B /usr/lib/ex/exrecover
82 recover command
83 .TP
84 .B /etc/termcap
85 --- ex-050325.original/vi.1 2012-01-27 20:43:00.602119283 +0100
86 +++ ex-050325/vi.1 2012-01-27 20:46:33.815439611 +0100
87 @@ -961,10 +961,10 @@
88 Determines the terminal type.
89 .SH FILES
90 .TP
91 -.B /usr/libexec/expreserve
92 +.B /usr/lib/ex/expreserve
93 preserve command
94 .TP
95 -.B /usr/libexec/exrecover
96 +.B /usr/lib/ex/exrecover
97 recover command
98 .TP
99 .B /etc/termcap