* rebased llvm/hotfix-sparcv9-not-64.diff
[t2sde.git] / package / games / bsd-games / compile.patch.uclibc
blobc3a15a0cb301c10fd0adff517ec910841070644a
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3
4 # T2 SDE: package/.../bsd-games/compile.patch.uclibc
5 # Copyright (C) 2004 - 2016 The T2 SDE Project
6
7 # More information can be found in the files COPYING and README.
8
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
16 diff -r -u bsd-games-2.16/dm/Makefrag bsd-games-2.16.patched/dm/Makefrag
17 --- bsd-games-2.16/dm/Makefrag  2004-01-27 21:33:19.000000000 +0000
18 +++ bsd-games-2.16.patched/dm/Makefrag  2005-05-12 18:28:57.000000000 +0000
19 @@ -27,7 +27,7 @@
20  # SUCH DAMAGE.
22  # Add -DLOG if you want logging
23 -dm_DEFS := $(GETLOADAVG_DEFS) -D_GNU_SOURCE -DSUPPORT_UTMPX -DSUPPORT_UTMP # -DLOG
24 +dm_DEFS := $(GETLOADAVG_DEFS) -D_GNU_SOURCE -DSUPPORT_UTMP # -DLOG
25  dm_DIRS := $(GAMESDIR) $(MAN8DIR) $(MAN5DIR)
27  dm_all:        dm/dm dm/dm.8 dm/dm.conf.5
28 diff -r -u bsd-games-2.16/hunt/hunt/hunt.c bsd-games-2.16.patched/hunt/hunt/hunt.c
29 --- bsd-games-2.16/hunt/hunt/hunt.c     2004-02-08 22:29:06.000000000 +0000
30 +++ bsd-games-2.16.patched/hunt/hunt/hunt.c     2005-05-12 18:29:32.000000000 +0000
31 @@ -51,7 +51,7 @@
32  static struct termios saved_tty;
33  # endif
34  # include      <unistd.h>
35 -# include      <ifaddrs.h>
36 +/*# include    <ifaddrs.h> */
38  # include      "hunt.h"
40 diff -r -u bsd-games-2.16/hunt/huntd/bsd.h bsd-games-2.16.patched/hunt/huntd/bsd.h
41 --- bsd-games-2.16/hunt/huntd/bsd.h     2003-12-17 02:46:45.000000000 +0000
42 +++ bsd-games-2.16.patched/hunt/huntd/bsd.h     2005-05-12 18:32:50.000000000 +0000
43 @@ -32,7 +32,7 @@
44   */
46  # if defined(BSD_RELEASE) && BSD_RELEASE >= 43
47 -# define       BROADCAST
48 +/*# define     BROADCAST*/
49  # define       SYSLOG_43
50  # endif
51  # if defined(BSD_RELEASE) && BSD_RELEASE == 42