source: mod_gnutls/debian/patches/0007-Do-not-treat-warnings-about-deprecated-declarations-.patch @ 1307a81

Last change on this file since 1307a81 was 36663ec, checked in by Thomas Klute <thomas2.klute@…>, 5 years ago

Add test suite and compatibility patches from master

Added 0002-Test-suite-Run-flock-with-verbose-to-log-timeouts.patch: test suite fix
Added 0005-Check-if-flock-supports-verbose.patch: test suite fix
Added 0004-Test-suite-Make-timeouts-for-server-locks-and-HTTPS-.patch: test suite fix
Added 0006-Test-suite-Do-not-explicitly-set-the-mutex-type-to-d.patch: test suite fix
Added 0007-Do-not-treat-warnings-about-deprecated-declarations-.patch: GnuTLS 3.5.9 compatibility
Added 0003-Test-suite-Log-if-a-process-to-be-stopped-by-PID-fil.patch: test suite logging

  • Property mode set to 100644
File size: 856 bytes
[36663ec]1From: Thomas Klute <>
2Date: Sun, 19 Feb 2017 18:57:56 +0100
3Subject: Do not treat warnings about deprecated declarations as errors
5GnuTLS has declared OpenPGP support as deprecated in version
63.5.9. Treating deprecation warnings as errors causes the build to
7fail with this version, so exempt them from "-Werror" until OpenPGP
8support is removed from mod_gnutls.
10 | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
13diff --git a/ b/
14index cc3e8ae..3335773 100644
15--- a/
16+++ b/
17@@ -64,7 +64,7 @@ AC_ARG_ENABLE(strict,
20 if test "$use_strict" != "no"; then
21-        STRICT_CFLAGS="-Wall -Werror -Wextra"
22+       STRICT_CFLAGS="-Wall -Werror -Wextra -Wno-error=deprecated-declarations"
23 fi
25 AC_MSG_CHECKING([whether to enable SRP functionality])
Note: See TracBrowser for help on using the repository browser.