unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 6f6d43677939756c18ce92d1053e22a797a42948 2755 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
 
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-05-27 17:42:47.183397931 -0400
@@ -64,7 +64,7 @@
 #	if you get setcgtty() warnings during execution, you are feeding gcc
 #		a non-ANSI <sys/ioctl.h> -- either run fixincludes on it or use
 #		-traditional in CFLAGS
-# CC = gcc
+CC = gcc
 #
 #	For Bull DPX/2 systems at B.O.S. 2.0 or higher use the following:
 #
@@ -238,7 +238,7 @@
 # WINTTYLIB = -ltermcap
 # WINTTYLIB = -lcurses
 # WINTTYLIB = -lcurses16
-# WINTTYLIB = -lncurses
+WINTTYLIB = -lncurses
 #WINTTYLIB = -ltermlib
 #
 # libraries for X11
diff -r -u nethack-3.6.0.orig/sys/unix/Makefile.utl nethack-3.6.0/sys/unix/Makefile.utl
--- nethack-3.6.0.orig/sys/unix/Makefile.utl	2016-05-27 17:20:03.082318966 -0400
+++ nethack-3.6.0/sys/unix/Makefile.utl	2016-05-27 20:01:54.605040799 -0400
@@ -18,7 +18,7 @@
 
 # if you are using gcc as your compiler,
 #	uncomment the CC definition below if it's not in your environment
-# CC = gcc
+CC = gcc
 #
 #	For Bull DPX/2 systems at B.O.S. 2.0 or higher use the following:
 #
@@ -104,11 +104,11 @@
 
 # yacc/lex programs to use to generate *_comp.h, *_lex.c, and *_yacc.c.
 # if, instead of yacc/lex you have bison/flex, comment/uncomment the following.
-YACC     = yacc
-LEX      = lex
-# YACC     = bison -y
+# YACC     = yacc
+# LEX      = lex
+YACC     = bison -y
 # YACC     = byacc
-# LEX      = flex
+LEX      = flex
 
 # these are the names of the output files from YACC/LEX. Under MS-DOS
 # and similar systems, they may differ

debug log:

solving 6f6d436 ...
found 6f6d436 in https://yhetil.org/guix-devel/20160531175630.0bfd76ff@openmailbox.org/

applying [1/1] https://yhetil.org/guix-devel/20160531175630.0bfd76ff@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..6f6d436

1:12: trailing whitespace.
 
1:16: trailing whitespace.
 
1:55: trailing whitespace.
 
1:64: trailing whitespace.
 
1:76: 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: 5 lines add whitespace errors.

index at:
100644 6f6d43677939756c18ce92d1053e22a797a42948	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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).