mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-11 04:10:52 +00:00
- 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()`.
14 lines
429 B
Diff
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;
|