dbus: fix tmpdir path

This commit is contained in:
Leonid Pliushch 2019-08-15 02:30:24 +03:00 committed by Yaksh Bariya
parent 93d5e93ff2
commit 620040a71a
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
2 changed files with 13 additions and 1 deletions

View File

@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Freedesktop.org message bus system"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
TERMUX_PKG_VERSION=1.12.16
TERMUX_PKG_REVISION=3
TERMUX_PKG_REVISION=4
TERMUX_PKG_SRCURL="https://dbus.freedesktop.org/releases/dbus/dbus-$TERMUX_PKG_VERSION.tar.gz"
TERMUX_PKG_SHA256=54a22d2fa42f2eb2a871f32811c6005b531b9613b1b93a0d269b05e7549fec80
TERMUX_PKG_DEPENDS="libexpat, libx11"

View File

@ -0,0 +1,12 @@
diff -uNr dbus-1.12.16/dbus/dbus-sysdeps-unix.c dbus-1.12.16.mod/dbus/dbus-sysdeps-unix.c
--- dbus-1.12.16/dbus/dbus-sysdeps-unix.c 2019-05-13 12:33:56.000000000 +0300
+++ dbus-1.12.16.mod/dbus/dbus-sysdeps-unix.c 2019-08-15 02:15:37.825982953 +0300
@@ -3602,7 +3602,7 @@
/* And this is the sane fallback. */
if (tmpdir == NULL)
- tmpdir = "/tmp";
+ tmpdir = "@TERMUX_PREFIX@/tmp";
}
_DBUS_UNLOCK (sysdeps);