diff options
author | adamw <adamw@FreeBSD.org> | 2016-11-01 01:10:52 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2016-11-01 01:10:52 +0800 |
commit | 84577bed67755077d93d99e1e3e1dcaa3e94e37e (patch) | |
tree | 65c9daeedcf48ea697fa34d054c580aec7ac5c60 /games/bsdgames/files | |
parent | b72c93fa6e37e364c581a0936c1d7ae0c5ded3d0 (diff) | |
download | freebsd-ports-gnome-84577bed67755077d93d99e1e3e1dcaa3e94e37e.tar.gz freebsd-ports-gnome-84577bed67755077d93d99e1e3e1dcaa3e94e37e.tar.zst freebsd-ports-gnome-84577bed67755077d93d99e1e3e1dcaa3e94e37e.zip |
Update to the sources from DragonflyBSD 4.6.1. We lost piano(6),
but gained two vitally important tools: colorbars(6), which displays
a couple colors in the terminal, and hals_end(6), which displays
a script of HAL's final words.
Diffstat (limited to 'games/bsdgames/files')
-rw-r--r-- | games/bsdgames/files/patch-Makefile | 9 | ||||
-rw-r--r-- | games/bsdgames/files/patch-colorbars_colorbars.c | 13 |
2 files changed, 18 insertions, 4 deletions
diff --git a/games/bsdgames/files/patch-Makefile b/games/bsdgames/files/patch-Makefile index 07b07f9fa0d0..722d2e35a783 100644 --- a/games/bsdgames/files/patch-Makefile +++ b/games/bsdgames/files/patch-Makefile @@ -1,6 +1,6 @@ ---- Makefile.orig 2009-09-24 10:46:30.000000000 +0200 -+++ Makefile 2009-11-04 18:14:08.698185298 +0100 -@@ -8,32 +8,20 @@ +--- Makefile.orig 2016-10-31 16:52:06 UTC ++++ Makefile +@@ -8,33 +8,21 @@ SUBDIR= adventure \ atc \ backgammon \ battlestar \ @@ -9,12 +9,14 @@ - caesar \ canfield \ cribbage \ + colorbars \ - dm \ - factor \ fish \ - fortune \ - grdc \ hack \ + hals_end \ hangman \ hunt \ larn \ @@ -22,7 +24,6 @@ - morse \ - number \ phantasia \ - piano \ pig \ - pom \ - ppt \ diff --git a/games/bsdgames/files/patch-colorbars_colorbars.c b/games/bsdgames/files/patch-colorbars_colorbars.c new file mode 100644 index 000000000000..2b6756f91d97 --- /dev/null +++ b/games/bsdgames/files/patch-colorbars_colorbars.c @@ -0,0 +1,13 @@ +--- colorbars/colorbars.c.orig 2016-10-31 17:00:48 UTC ++++ colorbars/colorbars.c +@@ -31,6 +31,10 @@ + #include <err.h> + #include <stdlib.h> + ++#ifndef __arysize ++#define __arysize(n) (sizeof(n)/sizeof((n)[0])) ++#endif ++ + int + main(void) + { |