[Pkg-nginx-maintainers] Bug#1068207: Bug#1068207:
Ervin Hegedüs
airween at gmail.com
Tue Apr 23 18:43:42 BST 2024
Hi Jan,
On Tue, Apr 23, 2024 at 07:29:37PM +0200, Jan Mojzis wrote:
> Hi,
>
> 'https://wiki.debian.org/qa.debian.org/FTBFS'
> see:
> 2024-03-13 -Werror=implicit-function-declaration
> ... In dpkg version 1.22.6, the compiler flag -Werror=implicit-function-declaration was enabled by default for all architectures in build flags
> ...
> ...
oh, thanks, this is what I was looking for...
> You need to patch libnginx-mod-http-modsecurity source code:
>
> ~~~
> diff --git a/config b/config
> index c6e7467..3bf06a8 100644
> --- a/config
> +++ b/config
> @@ -10,7 +10,8 @@
>
> ngx_feature_name=
> ngx_feature_run=no
> -ngx_feature_incs="#include <modsecurity/modsecurity.h>"
> +ngx_feature_incs="#include <modsecurity/modsecurity.h>
> +#include <stdio.h>"
> ngx_feature_libs="-lmodsecurity"
> ngx_feature_test='printf("hello");'
> ngx_modsecurity_opt_I=
> ~~~
yes, this is how my patch looks like.
Perhaps I will add this to the upstream too.
Many thanks.
a.
More information about the Pkg-nginx-maintainers
mailing list