summaryrefslogtreecommitdiffstats
path: root/system/gnomint/patches/01_cflags.patch
diff options
context:
space:
mode:
author Matteo Bernardini2020-11-14 23:27:08 +0100
committer Matteo Bernardini2020-11-14 23:27:08 +0100
commitd931520cc3735665f7e7d1e60d16c0ec1a5e3332 (patch)
treec06b65e53a5848e18b8e47e2782985e72194ce06 /system/gnomint/patches/01_cflags.patch
parent35c5ba88b6070f8ff07a047e16affeb15bd3784e (diff)
downloadslackbuilds-1c7aa6a2a913ae7562d4eacfc9c6aebf3fbd5cee.tar.gz
20201114.1 global branch merge.current-20201114.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