termux-packages/packages/iverilog/driver-main.c.patch
Leonid Pliushch 0d1920a061 move some packages from unstable repository
New packages that will be added:

 * antiword
 * beanshell
 * cabextract
 * deutex
 * direnv
 * exiv2
 * git-lfs
 * gitea
 * hoedown
 * httrack
 * iverilog
 * links
 * loksh
 * mksh
 * mktorrent
 * pdfgrep
 * shellharden
 * swig
 * tidy
 * tweego
 * wordgrinder
2019-05-11 18:36:47 +03:00

13 lines
382 B
Diff

diff -uNr iverilog-10_2/driver/main.c iverilog-10_2.mod/driver/main.c
--- iverilog-10_2/driver/main.c 2017-08-24 18:22:49.000000000 +0300
+++ iverilog-10_2.mod/driver/main.c 2019-02-25 20:10:43.322593058 +0200
@@ -282,7 +282,7 @@
tmpdir = "C:\\TEMP";
#else
if (tmpdir == 0)
- tmpdir = "/tmp";
+ tmpdir = "@TERMUX_PREFIX@/tmp";
#endif
assert(tmpdir);