summaryrefslogtreecommitdiffstats
path: root/system/gnomint/patches/01_cflags.patch
diff options
context:
space:
mode:
author Matteo Bernardini2021-01-30 16:23:40 +0100
committer Matteo Bernardini2021-01-30 16:23:40 +0100
commitc92ee29b17ad2239ce11ddd76134b199ef5a3ed2 (patch)
treeed33817b0ffbb52c85efc59a8ff7282182e7c0b5 /system/gnomint/patches/01_cflags.patch
parent2e286279c8e562590897ef95d592f0ce4edbce32 (diff)
downloadslackbuilds-c92ee29b17ad2239ce11ddd76134b199ef5a3ed2.tar.gz
20210130.1 global branch merge.current-20210130.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/gnomint/patches/01_cflags.patch')
-rw-r--r--system/gnomint/patches/01_cflags.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/system/gnomint/patches/01_cflags.patch b/system/gnomint/patches/01_cflags.patch
new file mode 100644
index 0000000000..abf31b6357
--- /dev/null
+++ b/system/gnomint/patches/01_cflags.patch
@@ -0,0 +1,15 @@
+Author: Daniel Baumann <daniel@debian.org>
+Description:
+ Don't hardcode CFLAGS and respect the environment (Closes: #634395).
+
+--- gnomint-1.3.0.orig/configure.ac
++++ gnomint-1.3.0/configure.ac
+@@ -182,7 +182,7 @@
+
+ dnl
+ if test "x$GCC" = "xyes"; then
+- CFLAGS="-Wall -Werror "
++ CFLAGS="${CFLAGS:--Wall}"
+ if test "x$use_debug" = "xYes"; then
+ CFLAGS="$CFLAGS -g -O0"
+ fi