summaryrefslogtreecommitdiff
path: root/user/icewm/fix-globit.patch
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-07-31 00:17:44 -0500
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-07-31 00:17:44 -0500
commit7ae40701ee87c40771bfa8f13019a614263a3767 (patch)
tree339cfd61758d9cc5a5e3cbacb7704f9128415f66 /user/icewm/fix-globit.patch
parent118ca90c3d1a1d3cd5d873ef1aec3a7675c4a09c (diff)
downloadpackages-7ae40701ee87c40771bfa8f13019a614263a3767.tar.gz
packages-7ae40701ee87c40771bfa8f13019a614263a3767.tar.bz2
packages-7ae40701ee87c40771bfa8f13019a614263a3767.tar.xz
packages-7ae40701ee87c40771bfa8f13019a614263a3767.zip
user/icewm: new package
Diffstat (limited to 'user/icewm/fix-globit.patch')
-rw-r--r--user/icewm/fix-globit.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/user/icewm/fix-globit.patch b/user/icewm/fix-globit.patch
new file mode 100644
index 000000000..be04bd219
--- /dev/null
+++ b/user/icewm/fix-globit.patch
@@ -0,0 +1,23 @@
+From 3817103bae789b2bff7cf8c1bbe2255b60878ab3 Mon Sep 17 00:00:00 2001
+From: Bert Gijsbers <gijsbers@science.uva.nl>
+Date: Sun, 3 Jun 2018 09:34:12 +0200
+Subject: [PATCH] portability
+
+---
+ src/globit.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/globit.c b/src/globit.c
+index 9bc8dc76..726c8bd8 100644
+--- a/src/globit.c
++++ b/src/globit.c
+@@ -143,7 +143,9 @@ globit_best(const char *pattern_, char **result)
+ } else if (*pattern == '~') {
+ /* yes, tilde */
+ is_absolute = 2;
++#ifdef GLOB_TILDE
+ glob_flags |= GLOB_TILDE;
++#endif
+ /* any slash in the pattern? */
+ while (*cp && *cp != '/')
+ ++cp;