termux-packages/disabled-packages/iverilog/driver-main.c.patch
Henrik Grimler 425135d923
iverilog: disable package
It doesn't build, fails with:

    parse.cc:299:10: fatal error: 'parse.hh' file not found
    #include "parse.hh"
             ^~~~~~~~~~
    1 warning and 1 error generated.
    make[1]: *** [Makefile:108: parse.o] Error 1
2022-02-08 08:41:48 +01: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);