summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/bsd-games-add-configure-config.patch
diff options
context:
space:
mode:
authorVitaliy Shatrov <D0dyBo0D0dyBo0@protonmail.com>2020-04-24 20:18:31 +0700
committerGuix Patches Tester <>2020-04-24 15:09:16 +0100
commit55aceef934b8e8165e1653e9fbf80604fda72b65 (patch)
tree5ad3587ba26025a36662fe8ff572d0142cda00f4 /gnu/packages/patches/bsd-games-add-configure-config.patch
parent4ac3461a80338c9596b938b25d6f517af43330f0 (diff)
downloadguix-patches-55aceef934b8e8165e1653e9fbf80604fda72b65.tar
guix-patches-55aceef934b8e8165e1653e9fbf80604fda72b65.tar.gz
gnu: Add bsd-games.
* gnu/packages/games.scm (bsd-games): a new variable. New patches, taken from Arch and Debian: * gnu/packages/patches/bsd-games-2.17-64bit.patch * gnu/packages/patches/bsd-games-bad-ntohl-cast.patch * gnu/packages/patches/bsd-games-fix-number-test.patch * gnu/packages/patches/bsd-games-gamescreen.h.patch * gnu/packages/patches/bsd-games-getline.patch * gnu/packages/patches/bsd-games-null-check.patch * gnu/packages/patches/bsd-games-number.c.patch * gnu/packages/patches/bsd-games-stdio.h.patch New patches: * gnu/packages/patches/bsd-games-add-configure-config.patch * gnu/packages/patches/bsd-games-add-word-list.patch * gnu/packages/patches/bsd-games-add-wrapper.patch * gnu/packages/patches/bsd-games-dont-install-empty-files.patch * gnu/packages/patches/bsd-games-use-anthology-style-naming.patch
Diffstat (limited to 'gnu/packages/patches/bsd-games-add-configure-config.patch')
-rw-r--r--gnu/packages/patches/bsd-games-add-configure-config.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/patches/bsd-games-add-configure-config.patch b/gnu/packages/patches/bsd-games-add-configure-config.patch
new file mode 100644
index 0000000000..d61deeae47
--- /dev/null
+++ b/gnu/packages/patches/bsd-games-add-configure-config.patch
@@ -0,0 +1,17 @@
+Remove a few 'setenv's from the definition.
+
+diff -Naur bsd-games-2.17/config.params bsd-games-patch/config.params
+--- bsd-games-2.17/config.params 1970-01-01 07:00:00.000000000 +0700
++++ bsd-games-patch/config.params 2020-04-22 20:49:40.809695248 +0700
+@@ -0,0 +1,11 @@
++bsd_games_cfg_do_chown=n
++bsd_games_cfg_non_interactive=y
++# The offensive fortunes shown only if requested by user.
++bsd_games_cfg_offensive_fortunes=y
++# Fix some man-pages: cfscores, morse, ppt, rot13, snscore, teachgammon.
++bsd_games_cfg_use_dot_so=syml
++# Don't build dm, countmail, and wargames.
++# Wargames isn't convenient as a game launcher.
++# dm is a toy to restrict access to bsd-games.
++# countmail require some BSD-package called `from`.
++bsd_games_cfg_no_build_dirs="wargames dm countmail"