aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>1996-10-22 12:44:08 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>1996-10-22 12:44:08 +0000
commitc03dff4b530f9f2ade1949acaea2cece2f037a6e (patch)
treef310b0fb6815e377ff34766aaad625978d0f40e2 /japanese
parent7669466a8f01a02e232b75b9b11671317ccf86a5 (diff)
downloadports-c03dff4b530f9f2ade1949acaea2cece2f037a6e.tar.gz
ports-c03dff4b530f9f2ade1949acaea2cece2f037a6e.zip
Workaround for elvrec acts inproperly when there is symbolic links in
relevant directories. (Closing PR #1733.) Submitted by: sanpei@yy.cs.keio.ac.jp
Notes
Notes: svn path=/head/; revision=4074
Diffstat (limited to 'japanese')
-rw-r--r--japanese/elvis/files/patch-ad28
1 files changed, 28 insertions, 0 deletions
diff --git a/japanese/elvis/files/patch-ad b/japanese/elvis/files/patch-ad
new file mode 100644
index 000000000000..79130f46b061
--- /dev/null
+++ b/japanese/elvis/files/patch-ad
@@ -0,0 +1,28 @@
+--- prsvunix.c.org Mon Oct 21 21:15:25 1996
++++ prsvunix.c Mon Oct 21 21:17:15 1996
+@@ -105,6 +105,17 @@
+ fprintf(m, "was preserved when %s.\n", when);
+ fprintf(m, "To recover this file, do the following:\n");
+ fprintf(m, "\n");
++
++#ifdef __FreeBSD__
++ if (tmp)
++ {
++ fprintf(m, " elvprsv %s/%s\n", file, tmp);
++ }
++ else
++ {
++ fprintf(m, " elvrec %s/%s\n", file, base);
++ }
++#else
+ #if OSK
+ fprintf(m, " chd %s\n", file);
+ #else /* ANY_UNIX */
+@@ -118,6 +129,7 @@
+ {
+ fprintf(m, " elvrec %s\n", base);
+ }
++#endif
+ fprintf(m, "\n");
+ fprintf(m, "With fond wishes for a speedy recovery,\n");
+ fprintf(m, " Elvis\n");