Files
termux-packages/packages/gmic/tmpdir.patch
termux-pacman-bot 0356d37568 bump(main/gmic): 3.6.6
- Fixes https://github.com/termux/termux-packages/issues/24593

- Rebase `Makefile.patch`

- No longer contains any instances of `pthread_cancel()`. One instance of `pthread_testcancel()` remains, but it can be disabled because `pthread_testcancel()` does not do anything in programs that never use `pthread_cancel()`.
2026-01-03 08:43:33 +00:00

14 lines
429 B
Diff

--- a/src/CImg.h
+++ b/src/CImg.h
@@ -68470,8 +68485,8 @@
_cimg_test_temporary_path("D:\\Temp");
_cimg_test_temporary_path("D:");
#else
- _cimg_test_temporary_path("/tmp");
- _cimg_test_temporary_path("/var/tmp");
+ _cimg_test_temporary_path("@TERMUX_PREFIX@/tmp");
+ _cimg_test_temporary_path("@TERMUX_PREFIX@/var/tmp");
#endif
if (!path_found) {
*s_path = 0;