Package: poa / 2.0+20060928-10

Metadata

Package Version Patches format
poa 2.0+20060928-10 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
gcc10.patch | (download)

black_flag.h | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 fix ftbfs with gcc10 
hardening.patch | (download)

Makefile | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 propagate hardening options
fix declaration.patch | (download)

default.h | 1 1 + 0 - 0 !
lpo.h | 5 5 + 0 - 0 !
msa_format.h | 2 2 + 0 - 0 !
3 files changed, 8 insertions(+)

 fix missing function declarations.
typo.patch | (download)

heaviest_bundle.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix a typo caught by lintian.
gcc 15.patch | (download)

black_flag.c | 2 1 + 1 - 0 !
black_flag.h | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 <short description, required>
 This change fixes the following build failure with gcc-15 since the
 standard C 2023 is now the default:
 .
        black_flag.c:97:15: error: assignment to void (*)(void) from incompatible pointer type void (*)(int) [-Wincompatible-pointer-types]
           97 |     crash_fun = SIG_DFL; /* RESET TO STANDARD CRASH BEHAVIOR */
              |               ^
        black_flag.c:100:27: error: passing argument 2 of signal from incompatible pointer type [-Wincompatible-pointer-types]
          100 |     signal(signal_type[i],crash_fun);
              |                           ^~~~~~~~~
              |                           |
              |                           void (*)(void)
        In file included from black_flag.h:7,
                         from default.h:16,
                         from black_flag.c:4:
        /usr/include/signal.h:88:57: note: expected __sighandler_t {aka void (*)(int)} but argument is of type void (*)(void)
           88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
              |                                          ~~~~~~~~~~~~~~~^~~~~~~~~
        /usr/include/signal.h:72:16: note: __sighandler_t declared here
           72 | typedef void (*__sighandler_t) (int);
              |                ^~~~~~~~~~~~~~