aboutsummaryrefslogtreecommitdiffstats
path: root/community/ibus/0001-Use-more-portable-call-to-mktemp.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-05-31 10:12:18 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-05-31 10:30:16 +0000
commitdcedaed3e5d35a1c15a707f03d8f8f78123051e0 (patch)
treeed41a9d14d189c9a537dee6f21ec7246b4176c6b /community/ibus/0001-Use-more-portable-call-to-mktemp.patch
parente8549d3a7df184630d46688c2b355ccb8283c808 (diff)
downloadaports-dcedaed3e5d35a1c15a707f03d8f8f78123051e0.tar.bz2
aports-dcedaed3e5d35a1c15a707f03d8f8f78123051e0.tar.xz
community/ibus: move from testing
needed by gtksourceview testsuite
Diffstat (limited to 'community/ibus/0001-Use-more-portable-call-to-mktemp.patch')
-rw-r--r--community/ibus/0001-Use-more-portable-call-to-mktemp.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/ibus/0001-Use-more-portable-call-to-mktemp.patch b/community/ibus/0001-Use-more-portable-call-to-mktemp.patch
new file mode 100644
index 0000000000..2e15dae89d
--- /dev/null
+++ b/community/ibus/0001-Use-more-portable-call-to-mktemp.patch
@@ -0,0 +1,28 @@
+From 2083455a9e1de2980d229b5f98788b563498e2dc Mon Sep 17 00:00:00 2001
+From: Drew DeVault <sir@cmpwn.com>
+Date: Mon, 15 Jan 2018 13:49:09 -0500
+Subject: [PATCH] Use more portable call to mktemp
+
+--tmpdir is not supported by BusyBox.
+
+Signed-off-by: Drew DeVault <sir@cmpwn.com>
+---
+ data/dconf/make-dconf-override-db.sh | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/data/dconf/make-dconf-override-db.sh b/data/dconf/make-dconf-override-db.sh
+index 9c650e97..38838d09 100755
+--- a/data/dconf/make-dconf-override-db.sh
++++ b/data/dconf/make-dconf-override-db.sh
+@@ -6,7 +6,7 @@ set -e
+ # breaks dbus-launch. There's dbus-run-session which is
+ # better, but not everyone has it yet.
+ export DBUS_FATAL_WARNINGS=0
+-export TMPDIR=$(mktemp -d --tmpdir="$PWD")
++export TMPDIR=$(TMPDIR="$PWD" mktemp -d)
+ export XDG_CONFIG_HOME="$TMPDIR/config"
+ export XDG_CACHE_HOME="$TMPDIR/cache"
+ export GSETTINGS_SCHEMA_DIR="$TMPDIR/schemas"
+--
+2.15.0
+