[nethack] 19/31: Ship sysconf in /etc/nethack

James Cowgill jcowgill-guest at moszumanska.debian.org
Mon Mar 7 17:54:21 UTC 2016


This is an automated email from the git hooks/post-receive script.

jcowgill-guest pushed a commit to branch master
in repository nethack.

commit adb8355a7b03581444a5fbdbb9a2a8ede94af042
Author: James Cowgill <james410 at cowgill.org.uk>
Date:   Sat Mar 5 00:52:13 2016 +0000

    Ship sysconf in /etc/nethack
---
 debian/nethack-common.install                                    | 1 +
 .../patches/0006-Common-config.h-for-all-binary-packages.patch   | 9 +++++++++
 2 files changed, 10 insertions(+)

diff --git a/debian/nethack-common.install b/debian/nethack-common.install
index d5f36b1..65d2281 100644
--- a/debian/nethack-common.install
+++ b/debian/nethack-common.install
@@ -1,4 +1,5 @@
 debian/nethackrc.tty  etc/nethack
+sys/unix/sysconf      etc/nethack
 debian/recover-all    usr/lib/games/nethack
 debian/recover-helper usr/lib/games/nethack
 dat/nhdat             usr/lib/games/nethack
diff --git a/debian/patches/0006-Common-config.h-for-all-binary-packages.patch b/debian/patches/0006-Common-config.h-for-all-binary-packages.patch
index c0243bf..fc46ca1 100644
--- a/debian/patches/0006-Common-config.h-for-all-binary-packages.patch
+++ b/debian/patches/0006-Common-config.h-for-all-binary-packages.patch
@@ -39,6 +39,15 @@ Subject: Common config.h for all binary packages.
  #ifdef USE_XPM
  #define GRAPHIC_TOMBSTONE /* Use graphical tombstone (rip.xpm) */
  #endif
+@@ -189,7 +196,7 @@
+ 
+ #ifndef SYSCF
+ #define SYSCF                /* use a global configuration */
+-#define SYSCF_FILE "sysconf" /* global configuration is in a file */
++#define SYSCF_FILE "/etc/nethack/sysconf" /* global configuration is in a file */
+ #endif
+ 
+ #ifndef GDBPATH
 @@ -204,7 +211,6 @@
  #define LOGFILE  "logfile"  /* larger file for debugging purposes */
  #define XLOGFILE "xlogfile" /* even larger logfile */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/nethack.git



More information about the Pkg-games-commits mailing list