[xml/sgml-pkgs] Bug#1061266: [PATCH] sgmls: Fix type of signal handlers for C89 compatibility

Agustin Martin agmartin at debian.org
Tue Jan 23 09:44:11 GMT 2024


El dom, 21 ene 2024 a las 19:45, Florian Weimer (<fweimer at redhat.com>) escribió:
>
> Package: linuxdoc-tools
> Version:  0.9.82-1
> Tags: upstream patch
>
> This is another fallout from GCC 14 porting of Fedora.

Hi, Florian,

Thanks for the info. Seems it was fixed in already released 0.9.83.
This is the relevant commit

https://gitlab.com/agmartin/linuxdoc-tools/-/commit/fd6cf2b50d5bd9f013017b53edefe51e0e54f5c4

Please let me know if something is missing.

Regards,

-- 
Agustin

> Without this change, the outcome of two tests are altered due to
> compiler errors:
>
> -#define HAVE_EXTENDED_PRINTF 1
> +/* #define HAVE_EXTENDED_PRINTF 1 */
>
> -/* #define USE_ISASCII 1 */
> +#define USE_ISASCII 1
>
> (Not sure if the second change is a pre-existing bug or not.)
>
> diff --git a/sgmls-1.1/configure b/sgmls-1.1/configure
> index e674d24..898b522 100755
> --- a/sgmls-1.1/configure
> +++ b/sgmls-1.1/configure
> @@ -113,7 +113,7 @@ cat >doit.c <<\EOF
>  #include <stdlib.h>
>  #include <unistd.h>
>
> -static int whoops()
> +static void whoops(int signo)
>  {
>    _exit(1);
>  }
> @@ -459,7 +459,7 @@ cat >doit.c <<\EOF
>  #include <unistd.h>
>  #include <string.h>
>
> -static int whoops()
> +static void whoops(int signo)
>  {
>    _exit(1);
>  }
> --
> 2.43.0
>



More information about the debian-xml-sgml-pkgs mailing list