mirror of
https://github.com/termux-pacman/glibc-packages.git
synced 2024-11-13 13:59:21 +00:00
f1009398db
gpkg/libaom gpkg/libdav1d gpkg/lld gpkg/glib gpkg/fribidi gpkg/harfbuzz gpkg/libcairo gpkg/libdatrie gpkg/libgraphite gpkg/liblzo gpkg/libpixman gpkg/libthai gpkg/pango gpkg/gobject-introspection fix pkgs gpkg/libiconv gpkg/libgmp
14 lines
630 B
Diff
14 lines
630 B
Diff
--- ./gio/gdbusprivate.c.orig 2021-12-10 17:28:44.551721009 +0530
|
|
+++ ./gio/gdbusprivate.c 2021-12-10 19:24:17.521718364 +0530
|
|
@@ -2477,8 +2477,9 @@
|
|
|
|
/* Copy what dbus.git does: allow the /var/lib path to be configurable at
|
|
* build time, but hard-code the system-wide machine ID path in /etc. */
|
|
+ /* Note that LOCALSTATEDIR is defined as "@TERMUX_PREFIX@/var". */
|
|
const gchar *var_lib_path = LOCALSTATEDIR "/lib/dbus/machine-id";
|
|
- const gchar *etc_path = "/etc/machine-id";
|
|
+ const gchar *etc_path = "@TERMUX_PREFIX@/etc/machine-id";
|
|
|
|
if (!g_file_get_contents (var_lib_path,
|
|
&ret,
|