aboutsummaryrefslogtreecommitdiffstats
path: root/main/kbd/fix-tests.patch
diff options
context:
space:
mode:
authorShiz <hi@shiz.me>2017-05-11 03:07:44 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-05-19 09:50:09 +0000
commitb2ed890e7f876a42229e6181268828c2493c972c (patch)
tree6ce11643843da07c437f8610f2fdd8b43c1cfa3b /main/kbd/fix-tests.patch
parent28a503181e1ac00e9a54722e897e761ee0867908 (diff)
downloadaports-b2ed890e7f876a42229e6181268828c2493c972c.tar.bz2
aports-b2ed890e7f876a42229e6181268828c2493c972c.tar.xz
main/kbd: generate (binary) keymaps from X.org keyboard-config
Diffstat (limited to 'main/kbd/fix-tests.patch')
-rw-r--r--main/kbd/fix-tests.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/main/kbd/fix-tests.patch b/main/kbd/fix-tests.patch
new file mode 100644
index 0000000000..0ca82420c7
--- /dev/null
+++ b/main/kbd/fix-tests.patch
@@ -0,0 +1,41 @@
+busybox readlink doesn't accept -e, and in these cases -f has the same effect.
+--- a/tests/alt-is-meta.in
++++ b/tests/alt-is-meta.in
+@@ -1,6 +1,6 @@
+ #!/bin/sh -efu
+
+-cwd="$(readlink -ev "${0%/*}")"
++cwd="$(readlink -fv "${0%/*}")"
+
+ cd "$cwd"
+
+--- a/tests/dumpkeys-bkeymap.in
++++ b/tests/dumpkeys-bkeymap.in
+@@ -1,6 +1,6 @@
+ #!/bin/sh -efu
+
+-cwd="$(readlink -ev "${0%/*}")"
++cwd="$(readlink -fv "${0%/*}")"
+
+ cd "$cwd"
+
+--- a/tests/dumpkeys-fulltable.in
++++ b/tests/dumpkeys-fulltable.in
+@@ -1,6 +1,6 @@
+ #!/bin/sh -efu
+
+-cwd="$(readlink -ev "${0%/*}")"
++cwd="$(readlink -fv "${0%/*}")"
+
+ cd "$cwd"
+
+--- a/tests/dumpkeys-mktable.in
++++ b/tests/dumpkeys-mktable.in
+@@ -1,6 +1,6 @@
+ #!/bin/sh -efu
+
+-cwd="$(readlink -ev "${0%/*}")"
++cwd="$(readlink -fv "${0%/*}")"
+
+ cd "$cwd"
+