-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rustdesk-flutter: Make build reproducible
(cherry picked from commit e1abf9b)
- Loading branch information
1 parent
a3071b6
commit 850096f
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
pkgs/by-name/ru/rustdesk-flutter/make-build-reproducible.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/libs/hbb_common/src/lib.rs b/libs/hbb_common/src/lib.rs | ||
index 15ef310..f3ac940 100644 | ||
--- a/libs/hbb_common/src/lib.rs | ||
+++ b/libs/hbb_common/src/lib.rs | ||
@@ -218,7 +218,7 @@ pub fn gen_version() { | ||
} | ||
} | ||
// generate build date | ||
- let build_date = format!("{}", chrono::Local::now().format("%Y-%m-%d %H:%M")); | ||
+ let build_date = "1970-01-01 00:00"; | ||
file.write_all( | ||
format!("#[allow(dead_code)]\npub const BUILD_DATE: &str = \"{build_date}\";\n").as_bytes(), | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters