* rebased llvm/hotfix-sparcv9-not-64.diff
[t2sde.git] / package / games / bsd-games / delay_output-sym.patch
blobf5b94a7e33a051492cad23826ea79851c0b7be54
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../bsd-games/delay_output-sym.patch
5 # Copyright (C) 2004 - 2006 The T2 SDE Project
6 # Copyright (C) 1998 - 2003 ROCK Linux Project
7 #
8 # More information can be found in the files COPYING and README.
9 #
10 # This patch file is dual-licensed. It is available under the license the
11 # patched project is licensed under, as long as it is an OpenSource license
12 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
13 # of the GNU General Public License as published by the Free Software
14 # Foundation; either version 2 of the License, or (at your option) any later
15 # version.
16 # --- T2-COPYRIGHT-NOTE-END ---
18 size of symbol `delay_output' changed from 21 in hack/hack.termcap.o to 161
19 in libncurses.a
21 diff -urN -x '*~' bsd-games-2.14/hack/extern.h bsd-games-2.14-fix/hack/extern.h
22 --- ./hack/extern.h.orig 2004-01-27 17:51:11.000000000 -0300
23 +++ ./hack/extern.h 2005-03-01 00:53:42.691752816 -0300
24 @@ -511,7 +511,7 @@
25 void standoutend(void);
26 void backsp(void);
27 void bell(void);
28 -void delay_output(void);
29 +void delay_output_my(void);
30 void cl_eos(void);
32 /* hack.timeout.c */
33 diff -urN -x '*~' bsd-games-2.14/hack/hack.pri.c bsd-games-2.14-fix/hack/hack.pri.c
34 --- bsd-games-2.14/hack/hack.pri.c 2003-03-29 13:05:30.000000000 +0100
35 +++ bsd-games-2.14-fix/hack/hack.pri.c 2003-10-02 03:56:22.000000000 +0200
36 @@ -171,7 +171,7 @@
37 return;
39 if (prevx >= 0 && cansee(prevx, prevy)) {
40 - delay_output();
41 + delay_output_my();
42 prl(prevx, prevy); /* in case there was a monster */
43 at(prevx, prevy, levl[prevx][prevy].scrsym);
45 diff -urN -x '*~' bsd-games-2.14/hack/hack.termcap.c bsd-games-2.14-fix/hack/hack.termcap.c
46 --- bsd-games-2.14/hack/hack.termcap.c 2003-03-29 13:05:30.000000000 +0100
47 +++ bsd-games-2.14-fix/hack/hack.termcap.c 2003-10-02 03:56:30.000000000 +0200
48 @@ -326,7 +326,7 @@
51 void
52 -delay_output()
53 +delay_output_my()
56 /* delay 50 ms - could also use a 'nap'-system call */