Debian Patches

Status for frozen-bubble/2.212-12

Patch Description Author Forwarded Bugs Origin Last update
hard-code-share-dir-path Hard code share dir path Module::Build share dir mechanisn and File::ShareDir impose a path not
compatible with Debian FHS. debian/frozen-bubble-data.install takes care of
this, but frozen-bubble config files must be patched to take this into
account. This patch hard-codes Debian path in Frozen-bubble config. invalid
total_bubbles no
de_po no
spelling-error-in-manpage.patch Spelling error in manpage Salvatore Bonaccorso <> yes upstream vendor 2012-03-11
shorter-nick Shorter nick nickname for lan game is limited to 12 char by the server. frozen-bubble adds a 'lan-' prefix so the limit
is actually 8. THis nick is used only for lan games so
the hi-score should not be affected.
invalid upstream
kick-out-accelerometers no
hardening-server pass CPPFLAGS to compile flags for server And then the build fails with an unused-return-value error.
So let's handle setgid/setuid results.
gregor herrmann <> no vendor 2014-06-24
pt_po updated Portuguese translation for package messages Amrico Monteiro <> yes debian upstream vendor 2015-08-01
fix-translations.patch Fixes translations falconbird <> no debian vendor 2015-08-01
no-posix-tmpnam-call Remove call to deprecated POSIX::tmpnam This patch replaces the call to POSIX::tmpnam with a call to File::Temp. This call is deprecated and will break with perl 26.
File::Temp object handles file cleanup when the object is destroyed, so the call to unlink($filename) is no longer needed.
While I was at it, I've replaced a call to POSIX::_exit with good old die, so frozen-bubble no longer depends on POSIX.
dod yes debian
gcc8.patch fix compilation with GCC 8 The following fragment of code:
char current_date[50];
char buf[50];
strftime(buf, sizeof(buf), "%Y-%m-%d %H:%M:%S", lt);
snprintf(current_date, sizeof(current_date), "%s.%03d", buf, (int)(1000 * (time-seconds)));
leads to the following error when compiled with format string fortification
flags (default on Debian):
server/log.c: In function 'get_current_date':
server/log.c:64:54: error: '%03d' directive output may be truncated writing
between 3 and 11 bytes into a region of size between 0 and 49 [-Werror=format-truncation=]
snprintf(current_date, sizeof(current_date), "%s.%03d", buf, (int)(1000 * (time-seconds)));
the reason is that in the 'snprintf' call, the %s item is of maximum
length of 50, which leads to insufficient room for the %03d item. The 'buf'
string doesn't need the room for 50 characters, so decreasing that to 25 seems
like a good fix.

All known versions for source package 'frozen-bubble'