termux-packages/packages/gmic/CImg.h.patch
2019-05-07 01:20:07 +03:00

14 lines
488 B
Diff

--- src/CImg.h.orig 2019-03-06 00:12:31.199855708 +0000
+++ ./src/CImg.h 2019-03-06 00:13:39.517197538 +0000
@@ -60983,8 +60984,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;