* rebased llvm/hotfix-sparcv9-not-64.diff
[t2sde.git] / package / games / aop / hotfixes.patch
blob483cf8472080fa2d7862155e502abe3d248371ac
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../aop/hotfixes.patch
5 # Copyright (C) 2004 - 2007 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 ---
17 --- ./aop.c.orig 2004-04-06 15:13:28.000000000 +0200
18 +++ ./aop.c 2004-04-14 22:20:13.847780240 +0200
19 @@ -21,7 +21,7 @@
20 init_pair(1, COLOR_RED, COLOR_BLACK);
22 start: memset(field, ' ', 25*81);
23 - snprintf(tmp, 96, "/usr/local/share/aop/aop-level-%02d.txt", level);
24 + snprintf(tmp, 96, "/usr/share/aop/aop-level-%02d.txt", level);
25 f = fopen(argc>=2 ? argv[level] : tmp, "r");
26 if (!f) { endwin(); printf("Can't open level file.\n"); return 1; }
27 opx=ipx=px=3, opy=ipy=py=2; op=p; p += 700000 + level*373737;