Debian Patches

Status for zsnes/1.510+bz2-10.2

Patch Description Author Forwarded Bugs Origin Last update
0005-hyphens-as-minus-signs-in-manpage.patch hyphens-as-minus-signs-in-manpage
Plain '-' characters in the manpage are rendered as hyphens, not minus signs
(like command-line switches). This patch converts those hyphens to minus signs,
en-dashes (for ranges) and proper hyphens.
Etienne Millon <etienne.millon@gmail.com> no 2010-11-30
0018-Fix-ftbfs-with-gcc-10.patch Fix FTBFS with gcc 10 (Closes: #987640)
Declare HacksDisable as external unsigned char in initc.c.
Declaration and assignation is done in cfg.c. This file is generated at
build time by parsegen from cfg.psr. The generated variable is an
unsigned char.
Baptiste Beauplat <lyknode@debian.org> no 2021-05-05
0009-hat-events.patch hat-events
Properly reset directions on joysticks.

This patch was pulled from Simeon Maxein's Ubuntu PPA :
https://launchpad.net/~smaxein/+archive/ppa/+packages

Its original author is hakonrk from the zsnes forum :
http://board.zsnes.com/phpBB3/viewtopic.php?t=12544

Ubuntu bug report :
https://bugs.launchpad.net/ubuntu/+source/zsnes/+bug/519845

===================================================================
Etienne Millon <etienne.millon@gmail.com> no 2011-08-07
0006-spelling-error-separately.patch spelling-error-separately
This patch fixes a spelling error in src/md.psr.
Etienne Millon <etienne.millon@gmail.com> no 2010-11-30
0010-Fix-build-with-libpng-1.5.patch Fix build with libpng 1.5
Fixes #649801.
Nobuhiro Iwamatsu <iwamatsu@nigauri.org> no 2011-11-24
0012-Fix-build-with-gcc-4.7.patch Fix build with gcc 4.7
Headers in the new C++ library do not implicitly import unistd.h, so it is
necessary to do it in the source.
Etienne Millon <etienne.millon@gmail.com> no debian 2012-04-12
0003-gcc-4.3-ftbfs.patch gcc-4.3-ftbfs
Miscellaneous fixes to build with gcc 4.3:

- missing headers
- argc should have type int, not size_t
Etienne Millon <etienne.millon@gmail.com> no 2010-11-02
0004-manpage-in-usr-share-man.patch manpage-in-usr-share-man
Manpage should go in /usr/share/man, not /usr/man.
Etienne Millon <etienne.millon@gmail.com> no 2010-11-30
0007-removed-license-in-html-doc.patch removed-license-in-html-doc
The license in HTML format is redundant with respect to the copyright
information available at /usr/share/doc/zsnes/copyright. This patch prevents the
installation of license.htm and replaces references to it by the former.
Etienne Millon <etienne.millon@gmail.com> no 2010-11-30
0008-manpage-debugger.patch manpage-debugger
This documents the use of the '-d' switch.
Etienne Millon <etienne.millon@gmail.com> no 2010-12-02
0011-Don-t-strip-binaries-upstream.patch Don't strip binaries upstream
In order to honor DEB_BUILD_OPTIONS=nostrip, upstream build system should not
strip binaries.
Etienne Millon <etienne.millon@gmail.com> no debian 2012-03-04
zsnes-linux-resume-freeze-fix.patch Replace floating point arithmetic causing freeze with 64bit integer arithmetic

It seems that sem_GetTicks sometimes returns NAN. If this happens when
resuming the game (i.e. from Start60HZ), than the start variable can be
set to NAN, which causes this test in CheckTimers to never succeed:
while ((end - start) >= update_ticks_pc)

So it never runs Game60hzcall and therefore appears to freeze.

Using gdb to change start to a real number less than end allows zsnes to
continue.

See this forum post for more details:
http://board.zsnes.com/phpBB3/viewtopic.php?f=3&t=2337&p=225071#p225071

This patch changes it to use a 64bit integer instead of floating point
arithmetic to avoid hitting these cases.

Also, remove the unused start2, end2, and update_ticks_pc2 variables.
Ian Munsie <darkstarsword@gmail.com> no debian http://board.zsnes.com/phpBB3/viewtopic.php?f=3&t=2337&p=225071#p225071 2014-04-27
fortify-source.patch Fix compilation with FORTIFY_SOURCE. no http://cvs.rpmfusion.org/viewvc/rpms/zsnes/devel/zsnes-1.51-FORTIFY_SOURCE.patch?root=free&view=markup
fortify-source-load.patch Fix loading save files under FORTIFY_SOURCE. Nelson Elhage <nelhage@nelhage.com> no
hurd.patch Fix FTBFS on hurd-i386 Svante Signell <svante.signell@gmail.com> no 2014-05-15
0014-Initialize-driver_format.matrix-with-NULL.patch Initialize driver_format.matrix with NULL; Fabian Greffrath <fabian+debian@greffrath.com> no debian 2012-07-02
0013-Fix-sound-with-libao.patch Fix sound with libao Etienne Millon <etienne.millon@gmail.com> no debian http://board.zsnes.com/phpBB3/viewtopic.php?f=2&t=10918 2012-05-01
privacy-breach.patch Privacy breaches
This fixes the following lintian tags:
- privacy-breach-w3c-valid
- privacy-breach-donation (link replaced by DEP12 file)
- privacy-breach-logo
Etienne Millon <me@emillon.org> no 2014-04-27

All known versions for source package 'zsnes'

Links