aboutsummaryrefslogtreecommitdiffstats
path: root/cad/yosys/files/patch-passes_cmds_bugpoint.cc
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2025-10-05 09:19:31 +0100
committerLexi Winter <ivy@FreeBSD.org>2025-10-05 09:19:31 +0100
commitf85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (patch)
treead799ccacfb459b809b02b9c115ed4befb93b4c1 /cad/yosys/files/patch-passes_cmds_bugpoint.cc
parent0b1510fe1f98f82da6f3481cb6c58957022d9211 (diff)
parentb057c68280a2f2a7b3d1fbac36f7b034e1fdf593 (diff)
Merge remote-tracking branch 'freebsd/main' into lf/main
Diffstat (limited to 'cad/yosys/files/patch-passes_cmds_bugpoint.cc')
-rw-r--r--cad/yosys/files/patch-passes_cmds_bugpoint.cc18
1 files changed, 18 insertions, 0 deletions
diff --git a/cad/yosys/files/patch-passes_cmds_bugpoint.cc b/cad/yosys/files/patch-passes_cmds_bugpoint.cc
new file mode 100644
index 000000000000..af6de092e41e
--- /dev/null
+++ b/cad/yosys/files/patch-passes_cmds_bugpoint.cc
@@ -0,0 +1,18 @@
+--- passes/cmds/bugpoint.cc.orig 2025-09-21 18:06:28 UTC
++++ passes/cmds/bugpoint.cc
+@@ -22,13 +22,14 @@
+
+ #if defined(_WIN32)
+ # include <csignal>
++#endif
++
+ # define WIFEXITED(x) 1
+ # define WIFSIGNALED(x) 0
+ # define WIFSTOPPED(x) 0
+ # define WEXITSTATUS(x) ((x) & 0xff)
+ # define WTERMSIG(x) SIGTERM
+ # define WSTOPSIG(x) 0
+-#endif
+
+ USING_YOSYS_NAMESPACE
+ using namespace RTLIL_BACKEND;