summaryrefslogtreecommitdiff
path: root/debian/patches/kfreebsd-support.patch
diff options
context:
space:
mode:
authorRuben Undheim <ruben.undheim@gmail.com>2019-10-18 20:01:35 +0000
committerRuben Undheim <ruben.undheim@gmail.com>2019-10-18 20:01:35 +0000
commitde8796aa3a94b51ea6bbb5051215f63152671a72 (patch)
tree8bacf2c0c1a78c0d4f3669b1a4f3abb80fcbbd93 /debian/patches/kfreebsd-support.patch
parentb9e09c69c0570486f3f8a73499049b636a4b4c34 (diff)
Changelog entry and refresh patches
Diffstat (limited to 'debian/patches/kfreebsd-support.patch')
-rw-r--r--debian/patches/kfreebsd-support.patch28
1 files changed, 14 insertions, 14 deletions
diff --git a/debian/patches/kfreebsd-support.patch b/debian/patches/kfreebsd-support.patch
index ba4fb8c1..3f8938be 100644
--- a/debian/patches/kfreebsd-support.patch
+++ b/debian/patches/kfreebsd-support.patch
@@ -16,7 +16,7 @@ Subject: Change yosys to look for the #define constant "__unix__" instead of
6 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/kernel/driver.cc b/kernel/driver.cc
-index a0bb7e6..0ea5505 100644
+index f273057..edec776 100644
--- a/kernel/driver.cc
+++ b/kernel/driver.cc
@@ -34,7 +34,7 @@
@@ -28,7 +28,7 @@ index a0bb7e6..0ea5505 100644
# include <sys/resource.h>
# include <sys/types.h>
# include <unistd.h>
-@@ -456,7 +456,7 @@ int main(int argc, char **argv)
+@@ -466,7 +466,7 @@ int main(int argc, char **argv)
if (print_stats)
log_hasher = new SHA1;
@@ -37,7 +37,7 @@ index a0bb7e6..0ea5505 100644
// set stack size to >= 128 MB
{
struct rlimit rl;
-@@ -546,7 +546,7 @@ int main(int argc, char **argv)
+@@ -560,7 +560,7 @@ int main(int argc, char **argv)
#else
std::string meminfo;
std::string stats_divider = ", ";
@@ -46,7 +46,7 @@ index a0bb7e6..0ea5505 100644
std::ifstream statm;
statm.open(stringf("/proc/%lld/statm", (long long)getpid()));
if (statm.is_open()) {
-@@ -613,7 +613,7 @@ int main(int argc, char **argv)
+@@ -627,7 +627,7 @@ int main(int argc, char **argv)
}
}
@@ -56,7 +56,7 @@ index a0bb7e6..0ea5505 100644
{
string filename;
diff --git a/kernel/log.cc b/kernel/log.cc
-index 400a549..757a49c 100644
+index a782095..311bc38 100644
--- a/kernel/log.cc
+++ b/kernel/log.cc
@@ -25,7 +25,7 @@
@@ -68,7 +68,7 @@ index 400a549..757a49c 100644
# include <dlfcn.h>
#endif
-@@ -393,7 +393,7 @@ void log_pop()
+@@ -420,7 +420,7 @@ void log_pop()
log_flush();
}
@@ -77,7 +77,7 @@ index 400a549..757a49c 100644
void log_backtrace(const char *prefix, int levels)
{
if (levels <= 0) return;
-@@ -588,7 +588,7 @@ void log_wire(RTLIL::Wire *wire, std::string indent)
+@@ -615,7 +615,7 @@ void log_wire(RTLIL::Wire *wire, std::string indent)
// ---------------------------------------------------
// This is the magic behind the code coverage counters
// ---------------------------------------------------
@@ -87,10 +87,10 @@ index 400a549..757a49c 100644
dict<std::string, std::pair<std::string, int>> extra_coverage_data;
diff --git a/kernel/log.h b/kernel/log.h
-index 7599390..30f2a64 100644
+index 3e1faca..82e27d0 100644
--- a/kernel/log.h
+++ b/kernel/log.h
-@@ -121,7 +121,7 @@ static inline void log_assert_worker(bool cond, const char *expr, const char *fi
+@@ -165,7 +165,7 @@ static inline void log_assert_worker(bool cond, const char *expr, const char *fi
// This is the magic behind the code coverage counters
// ---------------------------------------------------
@@ -100,10 +100,10 @@ index 7599390..30f2a64 100644
#define cover(_id) do { \
static CoverData __d __attribute__((section("yosys_cover_list"), aligned(1), used)) = { __FILE__, __FUNCTION__, _id, __LINE__, 0 }; \
diff --git a/kernel/yosys.cc b/kernel/yosys.cc
-index 450e4e4..68ba3e6 100644
+index 69a1417..791d40e 100644
--- a/kernel/yosys.cc
+++ b/kernel/yosys.cc
-@@ -79,7 +79,7 @@ std::vector<void*> memhasher_store;
+@@ -89,7 +89,7 @@ std::vector<void*> memhasher_store;
void memhasher_on()
{
@@ -112,7 +112,7 @@ index 450e4e4..68ba3e6 100644
memhasher_rng += time(NULL) << 16 ^ getpid();
#endif
memhasher_store.resize(0x10000);
-@@ -679,7 +679,7 @@ struct TclPass : public Pass {
+@@ -737,7 +737,7 @@ struct TclPass : public Pass {
} TclPass;
#endif
@@ -135,10 +135,10 @@ index 1921a1d..efbfb08 100644
#include <stdlib.h>
diff --git a/passes/cmds/cover.cc b/passes/cmds/cover.cc
-index 0ec7476..5f0042a 100644
+index 1128116..0d137ca 100644
--- a/passes/cmds/cover.cc
+++ b/passes/cmds/cover.cc
-@@ -128,7 +128,7 @@ struct CoverPass : public Pass {
+@@ -130,7 +130,7 @@ struct CoverPass : public Pass {
log("\n");
}