termux-packages/packages/dbus/dbus-sysdeps-unix.c.patch
Henrik Grimler e47244007c
dbus: mv from x11-packages to termux-packages (#6205)
Needed by libbluetooth in termux-root-packages so needs to be in main repository
2021-01-01 12:50:59 +01:00

13 lines
448 B
Diff

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);