On Mon, 13 Oct 2025 23:12:01 -0300 "Henrique F. Simoes" wrote:
> From c35901c3fe8af72952677226993c997c36b1f059 Mon Sep 17 00:00:00 2001
> From: "Henrique F. Simoes"
> Date: Thu, 9 Oct 2025 23:00:46 -0300
> Subject: [PATCH] Use gnu17 C standard version
>
> Because C23 drops support for declarators without information about
> number and type of parameters and interprets them as without arguments,
> the array of algorithms and ciphers are not compatible with C23.
>
> In this case, porting is not straightforward as different algorithms
> take arguments of different types (e.g. unsigned char* vs char*). The
> same happens for ciphers. Declare that this code should be built with
> C17 standard version, so that this porting doesn't need to happen right
> now.
>
> Closes: #1096497
> ---
> debian/rules | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/debian/rules b/debian/rules
> index 3c25863..98fe26c 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -1,7 +1,7 @@
> #!/usr/bin/make -f
>
> export DEB_BUILD_MAINT_OPTIONS = hardening=+all
> -export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
> +export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic -std=gnu17
>
> execute_before_dh_builddeb:
> find debian/dact/ -type d -empty -delete
> --
> 2.47.3

>

Thank you for providing the patch.

There is autopkgtest which test the compression algorithms.

Regards,

Syed Shahrukh Hussain.


--
OSS Revival
Empowering open-source, one project at a time.
https://ossrevival.org/


Attachment: OpenPGP_0xEB62B1057DE7A8B1.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to