mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
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:
parent
f7094853cf
commit
61bb218799
21
www-apache/mod_tls/files/mod_tls-0.14.0-werror.patch
Normal file
21
www-apache/mod_tls/files/mod_tls-0.14.0-werror.patch
Normal 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
|
||||
|
||||
|
||||
@ -20,6 +20,8 @@ RDEPEND="
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-werror.patch" )
|
||||
|
||||
need_apache2_4
|
||||
|
||||
src_prepare() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user