File: reproducible.patch

package info (click to toggle)
fuzzylite 6.0%2Bdfsg-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,544 kB
  • sloc: cpp: 25,882; java: 1,370; sh: 85; makefile: 16; xml: 12
file content (14 lines) | stat: -rw-r--r-- 385 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
From: Johannes Schauer Marin Rodrigues <josch@debian.org>
Subject: avoid __FILE__ to make the build reproducible

--- 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__ << "):"