Package: quakespasm / 0.95.1+dfsg-2

Metadata

Package Version Patches format
quakespasm 0.95.1+dfsg-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
remove redundant linking.patch | (download)

Quake/Makefile | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 remove redundant linking of vorbis libraries

Makefile attempts to link against libvorbis and libogg when using ogg support,
but these are not required, only libvorbisfile.  This avoids an unnecessary
dependency.

mp3 copyright.patch | (download)

Quake/snd_mp3.c | 51 46 + 5 - 0 !
1 file changed, 46 insertions(+), 5 deletions(-)

 reproduce the copyright statements for all identifiable sources of
 snd_mp3.c

use inherited build flags.patch | (download)

Quake/Makefile | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 use the build flags inherited from the environment

The homegrown Makefile overwrites the values of some build flags.  We need the
ability to inject them into the environment from the parent Debian rules file,
so remove this behaviour.

mkpak bashism.patch | (download)

Misc/qs_pak/mkpak.sh | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 use bash for mkpak.sh


reproducible build.patch | (download)

Quake/host.c | 2 0 + 2 - 0 !
1 file changed, 2 deletions(-)

 make the build reproducible


rotfish double count.patch | (download)

Quake/pr_edict.c | 20 20 + 0 - 0 !
Quake/progs.h | 1 1 + 0 - 0 !
Quake/server.h | 1 1 + 0 - 0 !
Quake/sv_main.c | 2 2 + 0 - 0 !
Quake/sv_phys.c | 25 24 + 1 - 0 !
5 files changed, 48 insertions(+), 1 deletion(-)

 avoid double-counting rotfish

Bug: https://sourceforge.net/p/quakespasm/bugs/7/

sys_sdl_unix Stop reading from stdin when EOF is reached.patch | (download)

Quake/sys_sdl_unix.c | 14 13 + 1 - 0 !
1 file changed, 13 insertions(+), 1 deletion(-)

 sys_sdl_unix: stop reading from stdin when eof is reached

If the quakespasm server is run noninteractively with stdin redirected
from /dev/null (for example as a systemd service), this loop would
previously ignore EOF (read() returns 0) and append the uninitialized
contents of `c` to the buffer once per iteration, until the buffer is
full, at which point it would log "Console input too long!" and repeat.

For completeness, treat read errors (read() returns -1) as equivalent
to EOF.

Bug: https://sourceforge.net/p/quakespasm/bugs/59/
Bug-Debian: https://bugs.debian.org/1032276
Signed-off-by: Simon McVittie <smcv@debian.org>