termux-packages/packages/gpac/src-utils-os_divers.c.patch

12 lines
295 B
Diff

--- a/src/utils/os_divers.c
+++ b/src/utils/os_divers.c
@@ -1955,7 +1955,7 @@
#elif defined(GPAC_CONFIG_ANDROID)
strcpy(szCacheDir, "/data/data/com.gpac.Osmo4/cache");
#else
- strcpy(szCacheDir, "/tmp");
+ strcpy(szCacheDir, "@TERMUX_PREFIX@/tmp");
#endif
strcpy(root_tmp, szCacheDir);