termux-packages/packages/gmic/CImg.h.patch

15 lines
581 B
Diff
Raw Permalink Normal View History

2019-06-29 17:45:43 +02:00
diff -uNr gmic-2.6.7/src/CImg.h gmic-2.6.7.mod/src/CImg.h
--- gmic-2.6.7/src/CImg.h 2019-06-28 09:56:12.000000000 +0300
+++ gmic-2.6.7.mod/src/CImg.h 2019-06-29 18:45:02.595895578 +0300
@@ -60774,8 +60774,8 @@
_cimg_test_temporary_path("D:\\Temp");
_cimg_test_temporary_path("D:");
2019-05-07 00:02:58 +02:00
#else
2019-06-29 17:45:43 +02:00
- _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");
2019-05-07 00:02:58 +02:00
#endif
2019-06-29 17:45:43 +02:00
if (!path_found) {
*s_path = 0;