summaryrefslogtreecommitdiff
path: root/security/skip/files/patch-de
diff options
context:
space:
mode:
authorArchie Cobbs <archie@FreeBSD.org>2000-01-26 01:55:28 +0000
committerArchie Cobbs <archie@FreeBSD.org>2000-01-26 01:55:28 +0000
commita3dd62941f5a3293aace76538667e68ba52e12c4 (patch)
tree9a66dfd2813b90bae64681c94871563c1efd38c6 /security/skip/files/patch-de
parentWe were forgetting to install "README.FreeBSD+NAT". (diff)
Bash this port until it compiles under -current again.
Notes
Notes: svn path=/head/; revision=25078
Diffstat (limited to '')
-rw-r--r--security/skip/files/patch-de17
1 files changed, 17 insertions, 0 deletions
diff --git a/security/skip/files/patch-de b/security/skip/files/patch-de
new file mode 100644
index 000000000000..83cd5df1e246
--- /dev/null
+++ b/security/skip/files/patch-de
@@ -0,0 +1,17 @@
+diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/tools/skiptool/es_ras.c work.new/skip/tools/skiptool/es_ras.c
+--- skipsrc-1.0.orig/skip/tools/skiptool/es_ras.c Fri Oct 25 13:13:06 1996
++++ work.new/skip/tools/skiptool/es_ras.c Mon Jan 24 12:35:42 2000
+@@ -92,6 +92,13 @@
+ if (stat(path, &st) == 0) {
+ return (path);
+ }
++
++ strcpy(path, SKIP_DIR);
++ strcat(path, "/");
++ strcat(path, name);
++ if (stat(path, &st) == 0) {
++ return (path);
++ }
+ return (NULL);
+ }
+