summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes 'josch' Schauer <josch@mister-muffin.de>2020-10-23 09:15:11 +0200
committerJohannes 'josch' Schauer <josch@mister-muffin.de>2020-10-23 09:15:11 +0200
commit64b73953e5a0a1bf5447e4ba658c18141c105be8 (patch)
treef133aa136f3312bb6fab36f626527c65314c790d
parent9b9860244800a73341d7ea6283be29a0ea8d7dbe (diff)
add patch to make reproducible
-rw-r--r--debian/patches/reproducible.patch11
-rw-r--r--debian/patches/series1
2 files changed, 12 insertions, 0 deletions
diff --git a/debian/patches/reproducible.patch b/debian/patches/reproducible.patch
new file mode 100644
index 0000000..347b2a9
--- /dev/null
+++ b/debian/patches/reproducible.patch
@@ -0,0 +1,11 @@
+--- a/fuzzylite/fl/fuzzylite.h
++++ b/fuzzylite/fl/fuzzylite.h
+@@ -44,7 +44,7 @@
+ #endif
+ #endif
+
+-#define FL__FILE__ std::string(__FILE__).substr(std::string(FL_BUILD_PATH).size())
++#define FL__FILE__ ""
+
+ #define FL_LOG_PREFIX FL__FILE__ << " (" << __LINE__ << "):"
+
diff --git a/debian/patches/series b/debian/patches/series
index e44d37d..53ab6e3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+reproducible.patch
fix-tests.patch
when-testing-large-float-numbers-for-equ.patch