diff options
Diffstat (limited to 'debian/patches/kfreebsd-support.patch')
-rw-r--r-- | debian/patches/kfreebsd-support.patch | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/debian/patches/kfreebsd-support.patch b/debian/patches/kfreebsd-support.patch index d1ae9201..ba4fb8c1 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 1786411..8b328e5 100644 +index a0bb7e6..0ea5505 100644 --- a/kernel/driver.cc +++ b/kernel/driver.cc @@ -34,7 +34,7 @@ @@ -28,7 +28,7 @@ index 1786411..8b328e5 100644 # include <sys/resource.h> # include <sys/types.h> # include <unistd.h> -@@ -449,7 +449,7 @@ int main(int argc, char **argv) +@@ -456,7 +456,7 @@ int main(int argc, char **argv) if (print_stats) log_hasher = new SHA1; @@ -37,7 +37,7 @@ index 1786411..8b328e5 100644 // set stack size to >= 128 MB { struct rlimit rl; -@@ -532,7 +532,7 @@ int main(int argc, char **argv) +@@ -546,7 +546,7 @@ int main(int argc, char **argv) #else std::string meminfo; std::string stats_divider = ", "; @@ -46,7 +46,7 @@ index 1786411..8b328e5 100644 std::ifstream statm; statm.open(stringf("/proc/%lld/statm", (long long)getpid())); if (statm.is_open()) { -@@ -599,7 +599,7 @@ int main(int argc, char **argv) +@@ -613,7 +613,7 @@ int main(int argc, char **argv) } } @@ -56,7 +56,7 @@ index 1786411..8b328e5 100644 { string filename; diff --git a/kernel/log.cc b/kernel/log.cc -index 0ee2170..1dfa89a 100644 +index 400a549..757a49c 100644 --- a/kernel/log.cc +++ b/kernel/log.cc @@ -25,7 +25,7 @@ @@ -68,7 +68,7 @@ index 0ee2170..1dfa89a 100644 # include <dlfcn.h> #endif -@@ -389,7 +389,7 @@ void log_pop() +@@ -393,7 +393,7 @@ void log_pop() log_flush(); } @@ -77,7 +77,7 @@ index 0ee2170..1dfa89a 100644 void log_backtrace(const char *prefix, int levels) { if (levels <= 0) return; -@@ -584,7 +584,7 @@ void log_wire(RTLIL::Wire *wire, std::string indent) +@@ -588,7 +588,7 @@ void log_wire(RTLIL::Wire *wire, std::string indent) // --------------------------------------------------- // This is the magic behind the code coverage counters // --------------------------------------------------- @@ -87,10 +87,10 @@ index 0ee2170..1dfa89a 100644 dict<std::string, std::pair<std::string, int>> extra_coverage_data; diff --git a/kernel/log.h b/kernel/log.h -index 0b4905c..0f068a1 100644 +index 7599390..30f2a64 100644 --- a/kernel/log.h +++ b/kernel/log.h -@@ -119,7 +119,7 @@ static inline void log_assert_worker(bool cond, const char *expr, const char *fi +@@ -121,7 +121,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 0b4905c..0f068a1 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 ad03289..822cab9 100644 +index 450e4e4..68ba3e6 100644 --- a/kernel/yosys.cc +++ b/kernel/yosys.cc -@@ -77,7 +77,7 @@ std::vector<void*> memhasher_store; +@@ -79,7 +79,7 @@ std::vector<void*> memhasher_store; void memhasher_on() { @@ -112,7 +112,7 @@ index ad03289..822cab9 100644 memhasher_rng += time(NULL) << 16 ^ getpid(); #endif memhasher_store.resize(0x10000); -@@ -660,7 +660,7 @@ struct TclPass : public Pass { +@@ -679,7 +679,7 @@ struct TclPass : public Pass { } TclPass; #endif |