Package: bsdgames / 2.17-28

Metadata

Package Version Patches format
bsdgames 2.17-28 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Replace getline with get_line.patch | (download)

boggle/boggle/bog.c | 2 1 1 - 0 !
boggle/boggle/extern.h | 2 1 1 - 0 !
boggle/boggle/mach.c | 2 1 1 - 0 !
cribbage/crib.c | 4 2 2 - 0 !
cribbage/cribbage.h | 2 1 1 - 0 !
cribbage/io.c | 8 4 4 - 0 !
gomoku/bdisp.c | 2 1 1 - 0 !
gomoku/gomoku.h | 2 1 1 - 0 !
gomoku/main.c | 14 7 7 - 0 !
9 files changed, 19 insertions( ), 19 deletions(-)

 replace getline() with get_line()


0002 robots Refresh screen.patch | (download)

robots/move.c | 1 1 0 - 0 !
1 file changed, 1 insertion( )

 robots: refresh screen


0003 quiz Update presidents capitals fix typos in murders.patch | (download)

quiz/datfiles/africa | 51 32 19 - 0 !
quiz/datfiles/america | 45 36 9 - 0 !
quiz/datfiles/asia | 40 25 15 - 0 !
quiz/datfiles/europe | 44 30 14 - 0 !
quiz/datfiles/murders | 2 1 1 - 0 !
quiz/datfiles/poetry | 2 1 1 - 0 !
quiz/datfiles/pres | 6 4 2 - 0 !
7 files changed, 129 insertions( ), 61 deletions(-)

 quiz: update presidents, capitals, fix typos in murders, poetry


0004 Define __dead for GNU GCC.patch | (download)

include/sys/cdefs.h | 4 4 0 - 0 !
1 file changed, 4 insertions( )

 define __dead for gnu gcc


0005 rain Update default delay. Closes 579062.patch | (download)

rain/rain.6 | 2 1 1 - 0 !
rain/rain.c | 2 1 1 - 0 !
2 files changed, 2 insertions( ), 2 deletions(-)

 rain: update default delay. closes: #579062


0006 Custom configuration of Debian package build.patch | (download)

config.params | 49 49 0 - 0 !
1 file changed, 49 insertions( )

 custom configuration of debian package build


0007 Unsorted Debian patches.patch | (download)

adventure/crc.c | 4 3 1 - 0 !
arithmetic/arithmetic.6 | 2 1 1 - 0 !
backgammon/backgammon/move.c | 3 3 0 - 0 !
backgammon/common_source/allow.c | 4 3 1 - 0 !
backgammon/teachgammon/ttext1.c | 2 1 1 - 0 !
backgammon/teachgammon/ttext2.c | 2 1 1 - 0 !
dab/gamescreen.h | 6 3 3 - 0 !
dm/dm.c | 6 3 3 - 0 !
fish/Makefrag | 8 5 3 - 0 !
fish/fish.6 | 4 2 2 - 0 !
gomoku/gomoku.6 | 2 1 1 - 0 !
hack/Makefrag | 3 2 1 - 0 !
hack/config.h | 15 10 5 - 0 !
hunt/hunt/hunt.6.in | 2 1 1 - 0 !
hunt/hunt/hunt.c | 6 4 2 - 0 !
hunt/hunt/playit.c | 4 2 2 - 0 !
number/number.c | 47 31 16 - 0 !
sail/pl_main.c | 2 1 1 - 0 !
tests/number.-0.1 | 2 1 1 - 0 !
tetris/scores.c | 17 10 7 - 0 !
trek/setup.c | 5 4 1 - 0 !
21 files changed, 92 insertions( ), 54 deletions(-)

 unsorted debian patches


0008 quiz Add answers to adults babies. Closes 659528.patch | (download)

quiz/datfiles/babies | 2 1 1 - 0 !
1 file changed, 1 insertion( ), 1 deletion(-)

 quiz: add answers to adults/babies. closes: #659528


0009 hangman Error out on 1000 unsuitable words. Closes 6.patch | (download)

hangman/getword.c | 18 17 1 - 0 !
1 file changed, 17 insertions( ), 1 deletion(-)

 hangman: error out on 1000 unsuitable words. closes: #610270


0010 Fix typos spotted by Lintian.patch | (download)

atc/update.c | 2 1 1 - 0 !
hack/hack.c | 2 1 1 - 0 !
2 files changed, 2 insertions( ), 2 deletions(-)

 fix typos spotted by lintian


0011 Fix format security compiling errors.patch | (download)

battlestar/room.c | 2 1 1 - 0 !
cribbage/io.c | 10 5 5 - 0 !
hack/hack.apply.c | 2 1 1 - 0 !
hack/hack.eat.c | 2 1 1 - 0 !
hack/hack.end.c | 4 2 2 - 0 !
hack/hack.invent.c | 4 2 2 - 0 !
hack/hack.main.c | 2 1 1 - 0 !
hack/hack.options.c | 2 1 1 - 0 !
hack/hack.pager.c | 4 2 2 - 0 !
hack/hack.potion.c | 2 1 1 - 0 !
hack/hack.rumors.c | 2 1 1 - 0 !
hack/hack.timeout.c | 2 1 1 - 0 !
hunt/hunt/hunt.c | 4 2 2 - 0 !
monop/misc.c | 2 1 1 - 0 !
sail/assorted.c | 6 3 3 - 0 !
15 files changed, 25 insertions( ), 25 deletions(-)

 fix format-security compiling errors


0012 Fix include stdio.h C incompatibility.patch | (download)

include/stdio.h | 6 6 0 - 0 !
1 file changed, 6 insertions( )

 fix include/stdio.h c   incompatibility

I have seen the following error when building bsdgames with
libncurses6:

In file included from /usr/include/wchar.h:36:0,
                 from /usr/include/curses.h:400,
                 from dab/box.cc:48:
include/stdio.h:38:14: error: conflicting declaration of 'char* fgetln(FILE*, size_t*)' with 'C' linkage
 extern char *fgetln(FILE *stream, size_t *len);
              ^~~~~~
In file included from /usr/include/curses.h:183:0,
                 from dab/box.cc:48:
include/stdio.h:38:14: note: previous declaration with 'C  ' linkage
 extern char *fgetln(FILE *stream, size_t *len);
              ^~~~~~
GNUmakefile:298: recipe for target 'dab/box.o' failed

Declaring fgetln as extern "C" fixes this.  The patch has been taken
from the Fedora bsd-games package, see
https://src.fedoraproject.org/rpms/bsd-games/blob/ac743bec7031199ec6fc09b6eb3760ffcfcfd277/f/bsd-games-2.17-stdio-c  .patch.

0013 Update acronyms.patch | (download)

wtf/acronyms | 448 393 55 - 0 !
wtf/acronyms.comp | 1345 1250 95 - 0 !
2 files changed, 1643 insertions( ), 150 deletions(-)

 update acronyms.

Source: http://cvsweb.netbsd.org/bsdweb.cgi/src/share/misc/

0014 Add Debian acronyms.patch | (download)

wtf/acronyms.comp | 16 16 0 - 0 !
1 file changed, 16 insertions( )

 add debian acronyms


0015 primes Update to NetBSD CVS 2018 02 03.patch | (download)

exec.objs | 2 1 1 - 0 !
primes/Makefile.bsd | 4 2 2 - 0 !
primes/pattern.c | 13 6 7 - 0 !
primes/pr_tbl.c | 16 8 8 - 0 !
primes/primes.6 | 41 29 12 - 0 !
primes/primes.c | 148 74 74 - 0 !
primes/primes.h | 33 27 6 - 0 !
primes/spsp.c | 215 215 0 - 0 !
8 files changed, 362 insertions( ), 110 deletions(-)

 primes: update to netbsd cvs, 2018-02-03


0016 Better explanation how to read the documentation.patch | (download)

trek/trek.6.in | 19 15 4 - 0 !
1 file changed, 15 insertions( ), 4 deletions(-)

 better explanation how to read the documentation.

This patch is based on a suggestion from Ben Wong.

Thanks: Ben Wong <[email protected]>
Closes: #874680

0017 hack Fix segv when i inventory done after load from .patch | (download)

hack/hack.o_init.c | 25 23 2 - 0 !
1 file changed, 23 insertions( ), 2 deletions(-)

 hack: fix segv when 'i' (inventory) done after load from saved game.

Not all name information was saved or recovered leaving pointers to
nothing.

Thanks: Richard Henschel <[email protected]>