mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-21 19:41:15 +00:00
aedi: patch for nasm build date determinism
This commit is contained in:
parent
a2b57a5bca
commit
d6d2ba8a3e
2 changed files with 13 additions and 1 deletions
|
@ -124,7 +124,8 @@ class NasmTarget(base.ConfigureMakeDependencyTarget):
|
|||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://www.nasm.us/pub/nasm/releasebuilds/2.16.01/nasm-2.16.01.tar.xz',
|
||||
'c77745f4802375efeee2ec5c0ad6b7f037ea9c87c92b149a9637ff099f162558')
|
||||
'c77745f4802375efeee2ec5c0ad6b7f037ea9c87c92b149a9637ff099f162558',
|
||||
patches='nasm-deterministic-date')
|
||||
|
||||
def detect(self, state: BuildState) -> bool:
|
||||
return state.has_source_file('nasm.txt')
|
||||
|
|
11
patch/nasm-deterministic-date.diff
Normal file
11
patch/nasm-deterministic-date.diff
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- a/nasmlib/ver.c
|
||||
+++ b/nasmlib/ver.c
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
/* This is printed when entering nasm -v */
|
||||
const char nasm_version[] = NASM_VER;
|
||||
-const char nasm_date[] = __DATE__;
|
||||
+const char nasm_date[] = "Dec 21 2022";
|
||||
const char nasm_compile_options[] = ""
|
||||
#ifdef DEBUG
|
||||
" with -DDEBUG"
|
Loading…
Reference in a new issue