summaryrefslogtreecommitdiffstats
path: root/debian/patches/reproducible.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:52:36 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:52:36 +0000
commit1749bf0f4f53574b18e5c0fc679c991ffab570e4 (patch)
tree1a8e66c93085cc55a8a4fe84e307c4bbfdeb84fa /debian/patches/reproducible.patch
parentAdding upstream version 1:4.13.0. (diff)
downloadresource-agents-1749bf0f4f53574b18e5c0fc679c991ffab570e4.tar.xz
resource-agents-1749bf0f4f53574b18e5c0fc679c991ffab570e4.zip
Adding debian version 1:4.13.0-1.debian/1%4.13.0-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/reproducible.patch')
-rw-r--r--debian/patches/reproducible.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/patches/reproducible.patch b/debian/patches/reproducible.patch
new file mode 100644
index 0000000..dd1b482
--- /dev/null
+++ b/debian/patches/reproducible.patch
@@ -0,0 +1,19 @@
+Description: Try to make the package build reproducible
+ Some compile options cause the build to be unreproducible:
+ -ggdb3: debug info and Build ID in the binaries change
+Author: Valentin Vidic <Valentin.Vidic@CARNet.hr>
+Forwarded: not-needed
+Last-Update: 2017-08-22
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/configure.ac
++++ b/configure.ac
+@@ -835,7 +835,7 @@
+ CFLAGS="$CFLAGS -g"
+ enable_fatal_warnings=no
+ else
+- CFLAGS="$CFLAGS -ggdb3"
++ CFLAGS="$CFLAGS -ggdb2"
+
+ # We had to eliminate -Wnested-externs because of libtool changes
+ # Also remove -Waggregate-return because we use one libnet