0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-07-06 13:33:03 +00:00
Files
termux-packages/x11-packages/1oom/src-os-unix-os.c.patch
TomIO 0886fbb71a bump(main/1oom): 1.8.1 (#20030)
* bump(main/1oom): 1.8.1
* switch to maintained fork
* fix(x11/1oom): build against libandroid-shmem
* fix(x11/1oom): depend on xorgproto

---------

Co-authored-by: Twaik Yont <twaikyont@gmail.com>
2024-05-09 11:50:11 +02:00

14 lines
578 B
Diff

--- a/src/os/unix/os.c
+++ b/src/os/unix/os.c
@@ -79,8 +79,8 @@
all_data_paths[i++] = util_concat(p, "/.local/share/1oom", NULL);;
}
}
- all_data_paths[i++] = lib_stralloc("/usr/share/1oom");
- all_data_paths[i++] = lib_stralloc("/usr/local/share/1oom");
+ all_data_paths[i++] = lib_stralloc("@TERMUX_PREFIX@/share/1oom");
+ all_data_paths[i++] = lib_stralloc("@TERMUX_PREFIX@/local/share/1oom");
all_data_paths[i++] = lib_stralloc(".");
all_data_paths[i] = NULL;
num_data_paths = i;