Debian Patches

Status for pngphoon/1.4-0.1

Patch Description Author Forwarded Bugs Origin Last update
Fix-incorrect-pointer-and-change-to-time_t.patch Fix incorrect pointer type and change to time_t Altered pointer comparison in dlocaltime function to properly check for NULL.
.
Replaced the incorrect check `clock == (long*) 0` with `!clock` to ensure the
pointer validation is done safely.
.
Changed the return value to `NULL` instead of an invalid cast to
`(struct tws*) 0` to follow proper C conventions and improve clarity.
.
Ensures better readability and prevents potential pointer-related type errors.
Leandro Cunha <leandrocunha016@gmail.com> no debian
Fix-FTBFS-using-GCC-15.patch Fix FTBFS using GCC 15
Fix FTBFS with GCC 15: align dlocaltime() declaration and remove redundant localtime()

- Add #include <time.h> to tws.h to define time_t
- Update dlocaltime() prototype in tws.h to match implementation (const time_t *)
- Remove conflicting declaration of localtime() in tws.c

This fixes build errors with GCC 15 due to conflicting types and unknown time_t.
Leandro Cunha <leandrocunha016@gmail.com> no debian 2025-07-02

All known versions for source package 'pngphoon'

Links