aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-12-24 00:33:09 +0800
committersteve <steve@FreeBSD.org>1999-12-24 00:33:09 +0800
commit3159daf57c86a42d21e0b601252f6f2c5763dbc8 (patch)
tree456af816eb613498102ae3ca697f345699e4d084 /misc
parentb46f9ec485ecf0512ad0d75f1d74d7fe2c8017ea (diff)
downloadfreebsd-ports-gnome-3159daf57c86a42d21e0b601252f6f2c5763dbc8.tar.gz
freebsd-ports-gnome-3159daf57c86a42d21e0b601252f6f2c5763dbc8.tar.zst
freebsd-ports-gnome-3159daf57c86a42d21e0b601252f6f2c5763dbc8.zip
Find (un)zip in /usr/local instead of /usr/bin.
PR: 15250 Submitted by: Alexander N. Kabaev <ak03@gte.com>
Diffstat (limited to 'misc')
-rw-r--r--misc/mc/files/patch-ai20
1 files changed, 20 insertions, 0 deletions
diff --git a/misc/mc/files/patch-ai b/misc/mc/files/patch-ai
new file mode 100644
index 000000000000..9ab65e350498
--- /dev/null
+++ b/misc/mc/files/patch-ai
@@ -0,0 +1,20 @@
+--- vfs/extfs/uzip.in Wed Sep 29 16:39:35 1999
++++ vfs/extfs/uzip.in.new Fri Dec 3 22:17:45 1999
+@@ -7,7 +7,7 @@
+ #
+ #
+
+-DZIP=/usr/bin
++DZIP=/usr/local/bin
+ XZIP="$DZIP/zip -g"
+ XDZIP="$DZIP/zip -d"
+ XUNZIP="$DZIP/unzip"
+@@ -67,7 +67,7 @@
+ if ($8 ~ /\/$/)
+ printf "drwxr-xr-x 1 %-8d %-8d %8d %s %s %s\n", uid, 0, $1, $5, $6, $8
+ else
+- printf "-rw-r--r-- 1 %-8d %-8d %8d %s %s %s\n", uid, 0, $1, $5, $6, substr($0, index($0, $7) + length($7 " ")
++ printf "-rw-r--r-- 1 %-8d %-8d %8d %s %s %s\n", uid, 0, $1, $5, $6, substr($0, index($0, $7) + length($7 " "))
+ }' 2>/dev/null
+ fi
+ }