summaryrefslogtreecommitdiffstats
path: root/source/a/infozip/zip-patches/zip-3.0-currdir.patch
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2019-03-01 23:44:12 +0000
committer Eric Hameleers <alien@slackware.com>2019-03-02 08:59:47 +0100
commitd26b7f6e82486c7fe02690ce5706b0660867c70b (patch)
treea0974c296e6fafc1ae78b443247ec50cd48347ac /source/a/infozip/zip-patches/zip-3.0-currdir.patch
parent2c09649cb63357808c79c8c6734f986fd5a0d2aa (diff)
downloadcurrent-d26b7f6e82486c7fe02690ce5706b0660867c70b.tar.gz
current-d26b7f6e82486c7fe02690ce5706b0660867c70b.tar.xz
Fri Mar 1 23:44:12 UTC 201920190301234412
a/eudev-3.2.7-x86_64-2.txz: Rebuilt. Don't require kvm group.
Diffstat (limited to 'source/a/infozip/zip-patches/zip-3.0-currdir.patch')
-rw-r--r--source/a/infozip/zip-patches/zip-3.0-currdir.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/a/infozip/zip-patches/zip-3.0-currdir.patch b/source/a/infozip/zip-patches/zip-3.0-currdir.patch
new file mode 100644
index 000000000..40da32e7a
--- /dev/null
+++ b/source/a/infozip/zip-patches/zip-3.0-currdir.patch
@@ -0,0 +1,12 @@
+diff -up zip30/util.c.currdir zip30/util.c
+--- zip30/util.c.currdir 2009-11-16 12:42:17.783961701 +0100
++++ zip30/util.c 2009-11-16 12:42:58.185960707 +0100
+@@ -493,6 +493,8 @@ int cs; /* force case-se
+ /* Compare the sh pattern p with the string s and return true if they match,
+ false if they don't or if there is a syntax error in the pattern. */
+ {
++ while (s[0] == '.' && s[1] == '/')
++ s += 2; /* strip redundant leading "./" sections */
+ return recmatch(p, s, cs) == 1;
+ }
+