summaryrefslogtreecommitdiffstats
path: root/system/gnomint/patches/01_cflags.patch
diff options
context:
space:
mode:
author Matteo Bernardini2020-09-05 12:00:48 +0200
committer Matteo Bernardini2020-09-05 12:00:48 +0200
commit839043f491ef6b69aa53a28544e6840d94aa994f (patch)
treef71ca459b3f1d8ad0534ec73884c06f09fc7b148 /system/gnomint/patches/01_cflags.patch
parentd52c3f21bc810174eab256ff9fc51b3fe3904ddc (diff)
downloadslackbuilds-8bd3047252e157bc93f1080e04d6fc77e5a77cd5.tar.gz
20200905.1 global branch merge.current-20200905.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