From 82f7f08c51a104810186e85957e2418722850bb12502188a1fc6c82786691253 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 1 Jul 2024 07:25:48 +0000 Subject: [PATCH] - Resolve improper __DATE__ replacement [boo#1226829] OBS-URL: https://build.opensuse.org/package/show/games/gzdoom?expand=0&rev=116 --- gzdoom.changes | 5 +++++ gzdoom.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gzdoom.changes b/gzdoom.changes index 2abe41d..90b2e01 100644 --- a/gzdoom.changes +++ b/gzdoom.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jul 1 07:25:08 UTC 2024 - Jan Engelhardt + +- Resolve improper __DATE__ replacement [boo#1226829] + ------------------------------------------------------------------- Fri May 17 22:04:47 UTC 2024 - Jan Engelhardt diff --git a/gzdoom.spec b/gzdoom.spec index af841f7..457724b 100644 --- a/gzdoom.spec +++ b/gzdoom.spec @@ -84,7 +84,7 @@ SSE2 is a hard requirement even on 32-bit x86. # osc/rpm always has the version identifier (only has an effect when snapshots are used via _service files) perl -i -pe "s{}{%version}g" tools/updaterevision/UpdateRevision.cmake # https://en.opensuse.org/openSUSE:Reproducible_Builds -perl -i -pe "s{__DATE__}{$SOURCE_DATE_EPOCH}g" src/common/platform/posix/sdl/i_main.cpp +perl -i -pe 's{__DATE__}{"'"$SOURCE_DATE_EPOCH"'"}g' src/common/platform/posix/sdl/i_main.cpp %build # Disable LTO, which does not like seeing handcrafted assembler