Debian Patches
Status for pachi/1:1.0-16
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| debian.diff | Assorted upstream build/runtime fixes Initialise possibly-unused variables, drop dead/unused locals, fix the signed/unsigned comparison in print_text(), clear the name-entry field with spaces instead of dots, and draw the remaining name placeholders correctly. |
Martin A. Godisch <godisch@debian.org> | no | |||
| Makefile.am.diff | Do not chgrp/chmod the score file during make install Permissions on the shared score file are handled by the maintainer scripts via dpkg-statoverride; the install-data-local rule also lacked $(DESTDIR). |
Martin A. Godisch <godisch@debian.org> | not-needed | |||
| const-string-literals.diff | Make read-only string parameters/fields const to silence -Wwrite-strings The .c sources are compiled as C++ (included from faes.cpp), where string literals have type const char[]. Passing them (or the DATADIR macro) to functions taking a plain char*, and storing them in struct Cstages's char* members, triggers 142 "ISO C++ forbids converting a string constant to char*" warnings. All affected functions and fields only read the string, so widening them to const char* is safe and removes every such warning. =================================================================== |
Debian Pachi maintainers | no | 2026-06-07 | ||
| scoredir.diff | Store the high-score file under /var/games (FHS) The maintainer scripts create and manage the shared high-score file under /var/games/pachi, but the compiled-in SCOREDIR still pointed at the old /var/lib/games location, so the game never found its score file. |
Martin A. Godisch <godisch@debian.org> | not-needed | |||
| scorefile-null-check.diff | Do not dereference a NULL FILE* when the score file is missing load_hiscoredata()/save_hiscoredata() passed the result of fopen() straight to getc()/putc() without checking it, crashing the game whenever the high-score file did not exist yet. |
Martin A. Godisch <godisch@debian.org> | no |
