www-apache/mod_tls: disable -Werror

Bug: https://bugs.gentoo.org/961180
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff 2025-08-08 10:19:55 +02:00
parent f7094853cf
commit 61bb218799
No known key found for this signature in database
GPG Key ID: DB347F938654FA34
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,21 @@
--- a/configure.ac 2024-09-18 16:00:53.000000000 +0200
+++ b/configure.ac 2025-08-08 10:05:06.225282494 +0200
@@ -90,7 +90,6 @@
AX_CHECK_COMPILE_FLAG([-Wall], [WERROR_CFLAGS="$WERROR_CFLAGS -Wall"])
AX_CHECK_COMPILE_FLAG([-Wconversion], [WERROR_CFLAGS="$WERROR_CFLAGS -Wconversion"])
AX_CHECK_COMPILE_FLAG([-Wextra], [WERROR_CFLAGS="$WERROR_CFLAGS -Wextra"])
- AX_CHECK_COMPILE_FLAG([-Werror], [WERROR_CFLAGS="$WERROR_CFLAGS -Werror"])
AX_CHECK_COMPILE_FLAG([-Wmissing-prototypes], [WERROR_CFLAGS="$WERROR_CFLAGS -Wmissing-prototypes"])
AX_CHECK_COMPILE_FLAG([-Wstrict-prototypes], [WERROR_CFLAGS="$WERROR_CFLAGS -Wstrict-prototypes"])
AX_CHECK_COMPILE_FLAG([-Wmissing-declarations], [WERROR_CFLAGS="$WERROR_CFLAGS -Wmissing-declarations"])
--- a/src/Makefile.am 2024-09-18 16:00:53.000000000 +0200
+++ b/src/Makefile.am 2025-08-08 10:16:27.571458349 +0200
@@ -23,7 +23,7 @@
# mod_md for httpd
#---------------------------------------------------------------------------------------------------
-mod_tls_la_CPPFLAGS = -g -I../src -std=c99 -D_GNU_SOURCE -Werror @WERROR_CFLAGS@
+mod_tls_la_CPPFLAGS = -I../src -std=c99 -D_GNU_SOURCE @WERROR_CFLAGS@
mod_tls_la_LDFLAGS = -lrustls -module -export-symbols-regex tls_module

View File

@ -20,6 +20,8 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}/${P}-werror.patch" )
need_apache2_4
src_prepare() {