File: Remove-Werror-flag-for-the-build.patch

package info (click to toggle)
openvas-scanner 23.23.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 11,260 kB
  • sloc: ansic: 41,150; xml: 6,251; pascal: 3,723; yacc: 1,250; sh: 590; makefile: 95; javascript: 12
file content (24 lines) | stat: -rw-r--r-- 837 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Sophie Brun <sophie@kali.org>
Date: Fri, 23 Aug 2024 15:42:19 +0200
Subject: Remove -Werror flag for the build

The package FTBFS with
"cc1: all warnings being treated as errors"

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1077954
---
 CMakeLists.txt | 1 -
 1 file changed, 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a0489fe..4263d09 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -212,7 +212,6 @@ set (CMAKE_C_FLAGS              "${CMAKE_C_FLAGS} ${GPGME_C_FLAGS} \
                                 -std=c11 \
                                 -Wall \
                                 -Wextra \
-                                -Werror \
                                 -Wpedantic \
                                 -Wmissing-prototypes \
                                 -Wshadow \