2 Commits

3 changed files with 28 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Nov 23 14:01:51 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>
- Add reproducible-noaslr.patch (boo#1231626)
-------------------------------------------------------------------
Wed May 15 07:45:40 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@@ -30,6 +30,7 @@ Source2: %{name}-rpmlintrc
Patch1: LiE-2.2.2-date-time.patch
# PATCH-FIX-UPSTREAM bmwiedemann -- initialize memory (boo#1061220)
Patch2: LiE-2.2.2-memory-init.patch
Patch3: reproducible-noaslr.patch
BuildRequires: bison
BuildRequires: gcc-c++
BuildRequires: ghostscript

22
reproducible-noaslr.patch Normal file
View File

@@ -0,0 +1,22 @@
commit 18754159423027378536b21e7f63db1b1c7bd36d
Author: Bernhard M. Wiedemann <bwiedemann+git@suse.de>
Date: Sat Nov 23 13:57:09 2024 +0000
Disable ASLR for Lie.exe run
because it introduces randomness into INFO.a output
which breaks reproducible builds.
diff --git a/Makefile b/Makefile
index c049e89..8b95f34 100644
--- a/Makefile
+++ b/Makefile
@@ -117,7 +117,7 @@ learnind: util/learnind.c
INFO.a: progs/maxsub progs/maxsub0 progs/eqrank
rm -f INFO.a
- ./Lie.exe < progs/maxsub
+ setarch -R ./Lie.exe < progs/maxsub
.PHONY: clean
clean: