all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 9154712ab5b54c3fe3b73ed93fb3fae5eaea20f3 1765 bytes (raw)
name: gnu/packages/patches/nethack-correct-directories-and-permissions.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
 
Patch by Kei Kebreau <kei@openmailbox.org>
Keeping "#define CHDIR" makes NetHack unable to find its scoreboard record.
The other two modifications enable building on Linux and building with the
ncurses library, respectively.

diff -r -u nethack-3.6.0.orig/include/config.h nethack-3.6.0/include/config.h
--- nethack-3.6.0.orig/include/config.h	2016-05-27 17:20:03.062318307 -0400
+++ nethack-3.6.0/include/config.h	2016-05-31 16:48:04.283642766 -0400
@@ -308,7 +308,6 @@
 #define INSURANCE /* allow crashed game recovery */
 
 #ifndef MAC
-#define CHDIR /* delete if no chdir() available */
 #endif
 
 #ifdef CHDIR
diff -r -u nethack-3.6.0.orig/include/unixconf.h nethack-3.6.0/include/unixconf.h
--- nethack-3.6.0.orig/include/unixconf.h	2016-05-27 17:20:03.062318307 -0400
+++ nethack-3.6.0/include/unixconf.h	2016-05-30 20:33:52.132273630 -0400
@@ -36,7 +36,7 @@
 #define NETWORK        /* if running on a networked system */
                        /* e.g. Suns sharing a playground through NFS */
 /* #define SUNOS4 */   /* SunOS 4.x */
-/* #define LINUX */    /* Another Unix clone */
+#define LINUX          /* Another Unix clone */
 /* #define CYGWIN32 */ /* Unix on Win32 -- use with case sensitive defines */
 /* #define GENIX */    /* Yet Another Unix Clone */
 /* #define HISX */     /* Bull Unix for XPS Machines */
diff -r -u nethack-3.6.0.orig/sys/unix/Makefile.src nethack-3.6.0/sys/unix/Makefile.src
--- nethack-3.6.0.orig/sys/unix/Makefile.src	2016-05-27 17:20:03.082318966 -0400
+++ nethack-3.6.0/sys/unix/Makefile.src	2016-06-05 12:30:33.301505514 -0400
@@ -238,7 +238,7 @@
 # WINTTYLIB = -ltermcap
 # WINTTYLIB = -lcurses
 # WINTTYLIB = -lcurses16
-# WINTTYLIB = -lncurses
+WINTTYLIB = -lncurses
 #WINTTYLIB = -ltermlib
 #
 # libraries for X11

debug log:

solving 9154712 ...
found 9154712 in https://yhetil.org/guix/20160606162541.5254ed6c@openmailbox.org/

applying [1/1] https://yhetil.org/guix/20160606162541.5254ed6c@openmailbox.org/
diff --git a/gnu/packages/patches/nethack-correct-directories-and-permissions.patch b/gnu/packages/patches/nethack-correct-directories-and-permissions.patch
new file mode 100644
index 0000000..9154712

1:17: trailing whitespace.
 
1:21: trailing whitespace.
 
Checking patch gnu/packages/patches/nethack-correct-directories-and-permissions.patch...
Applied patch gnu/packages/patches/nethack-correct-directories-and-permissions.patch cleanly.
warning: 2 lines add whitespace errors.

index at:
100644 9154712ab5b54c3fe3b73ed93fb3fae5eaea20f3	gnu/packages/patches/nethack-correct-directories-and-permissions.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.