dbus: fix tmpdir path
This commit is contained in:
parent
93d5e93ff2
commit
620040a71a
@ -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"
|
||||
|
12
x11-packages/dbus/dbus-sysdeps-unix.c.patch
Normal file
12
x11-packages/dbus/dbus-sysdeps-unix.c.patch
Normal 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);
|
Loading…
Reference in New Issue
Block a user