summarylogtreecommitdiffstats
path: root/0001-build-Don-t-treat-warnings-as-errors.patch
diff options
context:
space:
mode:
authorManuel2015-07-23 12:16:07 +0200
committerManuel2015-07-23 12:16:07 +0200
commitfb30506babc02e79059a465bac04d70f4c9be268 (patch)
tree98d82d15da1a3253fb8ae285ffbc8e0c87155d07 /0001-build-Don-t-treat-warnings-as-errors.patch
parentf2419a1e1fa89a7ae32c632e30cb98d291108888 (diff)
downloadaur-fb30506babc02e79059a465bac04d70f4c9be268.tar.gz
Version 3.16.2
Diffstat (limited to '0001-build-Don-t-treat-warnings-as-errors.patch')
-rw-r--r--0001-build-Don-t-treat-warnings-as-errors.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/0001-build-Don-t-treat-warnings-as-errors.patch b/0001-build-Don-t-treat-warnings-as-errors.patch
new file mode 100644
index 000000000000..f8426615a31b
--- /dev/null
+++ b/0001-build-Don-t-treat-warnings-as-errors.patch
@@ -0,0 +1,37 @@
+From 5ecf7b1d3ccc7b196803e48d3bfce7caefe82416 Mon Sep 17 00:00:00 2001
+From: Debarshi Ray <debarshir@gnome.org>
+Date: Mon, 23 Feb 2015 18:54:36 +0100
+Subject: [PATCH] build: Don't treat warnings as errors
+
+---
+ configure.ac | 14 +++++++-------
+ 1 file changed, 7 insertions(+), 7 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 523a0da..f055dfe 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -270,13 +270,13 @@ CC_CHECK_FLAGS_APPEND([WARN_CFLAGS],[CFLAGS],[ \
+ -Wall \
+ -Wcast-align \
+ -Wendif-labels \
+- -Werror=declaration-after-statement \
+- "-Werror=format=2 -Werror=format-nonliteral -Werror=format-security" \
+- -Werror=implicit-function-declaration \
+- -Werror=init-self \
+- -Werror=missing-include-dirs \
+- -Werror=missing-prototypes \
+- -Werror=pointer-arith \
++ -Wdeclaration-after-statement \
++ "-Wformat=2 -Wformat-nonliteral -Wformat-security" \
++ -Wimplicit-function-declaration \
++ -Winit-self \
++ -Wmissing-include-dirs \
++ -Wmissing-prototypes \
++ -Wpointer-arith \
+ -Wextra \
+ -Wfloat-equal \
+ -Wimplicit \
+--
+2.1.0
+