Debian Patches

Status for xfireworks/1.3-16

Patch Description Author Forwarded Bugs Origin Last update
debian-changes-1.3-7 Upstream changes introduced in version 1.3-7
Disp.c (Disp_Create): Fix a bug, replacing NULL to 0.
Yukiharu YABUKI <yabuki@netfort.gr.jp> no 2025-09-14
hardening hardening
===================================================================
Yukiharu YABUKI <yyabuki@debian.org> no 2025-09-14
cross-build-dh_auto_build cross build patch
This patch enable us to build in cross environment.

Apply dh_auto_build patch (Closes: #913841).

[ Helmut Grohne <helmut@subdivi.de> ]
* Fix FTCBFS
* Let dh_auto_bild pass cross tools to make.
* cross.patch: Use the build architecture compiler for mkconf.c.
Yukiharu YABUKI <yabuki@netfort.gr.jp> not-needed debian 2025-09-14
Fix-FBTFS-for-time_t-transition Fix FBTFS for time_t transition
* Fix FBTFS for time_t transition
Yukiharu YABUKI <yyabuki@debian.org> not-needed debian 2025-09-14
Fix-FBTFS-for-mkconf Fix FBTFS for mkconf.c
* Fix FBTFS mkconf.c with gcc-14
(Closes: #1075661)
Yukiharu YABUKI <yyabuki@debian.org> not-needed debian 2025-09-14
0006-Fix-compilation-error-due-to-very-old-style-C-code-C.patch Fix compilation error due to very old style C code (Closes: #1114447)

The build failed due to multiple `[-Wincompatible-pointer-types]` errors
when passing destructor callback functions to `ObjList` manipulation
routines.

Functions like `ObjList_InsertObjToStart` and `ObjList_InsertObjToEnd`
were declared in `Obj.h` with an old-style C function pointer syntax:
`Obj (*destructor)()`. This style implicitly informs the compiler that
the function takes no arguments, leading it to interpret the signature
as `void * (*)(void)`.

However, the actual destructor functions provided (e.g.,
`ColorGCInstance_Destroy`) are defined and intended to accept an `Obj`
argument, which is typically a `void *`, matching a `void * (*)(void *)`
signature. This mismatch between the declared and actual function
pointer types caused the compiler errors.

To resolve this, update the function pointer declarations in `Obj.h` to
explicitly specify that the destructor takes an `Obj` argument. This
changes the signature from `Obj (*destructor)()` to `Obj (*destructor)(Obj)`,
aligning the declaration with the expected and provided function type
and resolving the incompatible pointer type errors.

Example error:

ColorGC.c:160:30: error: passing argument 3 of 'ObjList_InsertObjToStart' from incompatible pointer type [-Wincompatible-pointer-types]
160 | (ObjDestructor)ColorGCInstance_Destroy);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Obj.h:41:44: note: expected 'void * (*)(void)' but argument is of type 'void * (*)(void *)'
41 | Obj (*destructor)());
| ~~~~~~^~~~~~~~~~~~~

Update function definitions in Obj.c to match
the `destructor` function pointer signature declared in Obj.h. The definitions
used an old-style declaration `Obj (*destructor)()`, which implied `void`
parameters. This conflicted with the `Obj (*destructor)(Obj)` signature
specified in the header file.

This change resolves several `conflicting types` errors for the
`ObjList_InsertObjToPrev`, `ObjList_InsertObjToNext`,
`ObjList_InsertObjToStart`, and `ObjList_InsertObjToEnd` functions,
and an `incompatible-pointer-types` error for `ObjListData_Create`,
ensuring type consistency across declarations and definitions.

Errors fixed:
Obj.c:21:25: error: assignment to 'void * (*)(void *)' from incompatible
pointer type 'void * (*)(void)'
Obj.c:121:13: error: conflicting types for 'ObjList_InsertObjToPrev'
Obj.c:141:13: error: conflicting types for 'ObjList_InsertObjToNext'
Obj.c:161:13: error: conflicting types for 'ObjList_InsertObjToStart'
Obj.c:169:13: error: conflicting types for 'ObjList_InsertObjToEnd'
Yukiharu YABUKI <yyabuki@debian.org> no 2025-09-15
0007-Convert-encoding-from-EUC-JP-to-UTF-8.patch Convert encoding from EUC-JP to UTF-8.
Before UTF-8 became the standard in Japan, EUC-JP was widely used
in the Linux and Unix world. Nowadays, EUC-JP is ancient encoding.

I decided to convert encoding from EUC-JP to UTF-8. It is eaier to
get reading program comments and documents for person which under-
stand Japanese.
Yukiharu YABUKI <yyabuki@debian.org> no 2025-09-15
0008-Update-FSF-address.patch Update FSF address Yukiharu YABUKI <yyabuki@debian.org> no 2025-09-16

All known versions for source package 'xfireworks'

Links