File: no-nested-externs-error.patch

package info (click to toggle)
gnumeric 1.12.18-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 103,816 kB
  • ctags: 25,022
  • sloc: ansic: 278,696; xml: 54,477; sh: 11,677; perl: 4,216; makefile: 2,751; yacc: 1,324; python: 203
file content (20 lines) | stat: -rw-r--r-- 775 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Last-Update: 2013-05-27
Forwarded: not-needed
Author: J.H.M. Dassen (Ray) <jdassen@debian.org>
Description: Don't build -Werror=nested-externs
 as this breaks a test used for GLIB_WITH_NLS
 which in turn makes the locales directory come out wrong.

--- a/configure.ac
+++ b/configure.ac
@@ -276,9 +276,9 @@
 	warning_options="-Wsign-compare -Wpointer-arith \
 			 -Wchar-subscripts -Wwrite-strings \
 			 -Wdeclaration-after-statement -Wnested-externs \
 			 -Wmissing-noreturn \
-			 -Werror=missing-prototypes -Werror=nested-externs \
+			 -Werror=missing-prototypes \
 			 -Werror=implicit-function-declaration \
 			 -Wmissing-declarations -Wno-pointer-sign \
 			 -Werror=format-security -Wbitwise -Wcast-to-as \
 			 -Wdefault-bitfield-sign -Wdo-while -Wparen-string \