Debian Codegraph @

debian/patches/Fix-FTBFS-because-of-Wcast-align-error-flag.patch

raw
1 From: Markus Koschany <[email protected]>
2 Date: Fri, 10 May 2013 00:08:14 +0200
3 Subject: Fix FTBFS because of Wcast-align-error-flag
4
5 Byzanz still FTBFS on sparc, armel, armhf, mips, mipsel and ia64 and
6 this patch is still necessary to prevent this.
7
8 Forwarded: not-needed
9 ---
10 configure.ac | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13 diff --git a/configure.ac b/configure.ac
14 index 620bb26..2384482 100644
15 --- a/configure.ac
16 +++ b/configure.ac
17 @@ -36,7 +36,7 @@ dnl For interactive UNIX (a Sun thing)
18 AC_ISC_POSIX
19
20 dnl decide on error flags
21 -AS_COMPILER_FLAGS(ERROR_CFLAGS, "-Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Winline -Wformat-nonliteral -Wformat-security -Wswitch-enum -Wswitch-default -Winit-self -Wmissing-include-dirs -Wundef -Waggregate-return -Wmissing-format-attribute -Wnested-externs -Wunsafe-loop-optimizations -Wpacked -Winvalid-pch -Wsync-nand")
22 +AS_COMPILER_FLAGS(ERROR_CFLAGS, "-Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wpointer-arith -Wwrite-strings -Winline -Wformat-nonliteral -Wformat-security -Wswitch-enum -Wswitch-default -Winit-self -Wmissing-include-dirs -Wundef -Waggregate-return -Wmissing-format-attribute -Wnested-externs -Wunsafe-loop-optimizations -Wpacked -Winvalid-pch -Wsync-nand")
23 if test "x$BYZANZ_CVS" = "xyes"
24 then
25 AS_COMPILER_FLAGS(ERROR_CFLAGS, "-Werror")