Release notes: https://github.com/YosysHQ/yosys/releases/tag/yosys-0.8 ok Alessandro De Laurenzis (maintainer)
29 lines
584 B
Plaintext
29 lines
584 B
Plaintext
$OpenBSD: patch-kernel_yosys_cc,v 1.2 2019/01/09 04:27:10 bentley Exp $
|
|
|
|
Index: kernel/yosys.cc
|
|
--- kernel/yosys.cc.orig
|
|
+++ kernel/yosys.cc
|
|
@@ -55,6 +55,10 @@
|
|
# include <sys/sysctl.h>
|
|
#endif
|
|
|
|
+#ifdef __OpenBSD__
|
|
+# include <sys/wait.h>
|
|
+#endif
|
|
+
|
|
#include <limits.h>
|
|
#include <errno.h>
|
|
|
|
@@ -726,6 +730,11 @@ std::string proc_self_dirname()
|
|
for (i = 0; shortpath[i]; i++)
|
|
path += char(shortpath[i]);
|
|
return path;
|
|
+}
|
|
+#elif defined(__OpenBSD__)
|
|
+std::string proc_self_dirname()
|
|
+{
|
|
+ return "${PREFIX}/bin/";
|
|
}
|
|
#elif defined(EMSCRIPTEN)
|
|
std::string proc_self_dirname()
|