* updated ksmtp (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / games / nethack / hotfixes.patch
blob3592038834059f2d0465a3cff541125caf3b9e2b
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../nethack/hotfixes.patch
5 # Copyright (C) 2004 - 2005 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 This fixes a few compiler and linker errors.
20 don't ask... please... just don't ask
21 blindcoder
22 --- ./win/Qt/qt_win.cpp 2003-06-08 20:56:11.000000000 +0200
23 +++ ./win/Qt/qt_win.cpp 2003-06-08 14:27:30.000000000 +0200
24 @@ -47,6 +47,8 @@ extern "C" {
25 // enough, and we undefine NetHack macros which conflict with Qt
26 // identifiers.
28 +#include <math.h>
30 #define alloc hide_alloc // avoid treading on STL symbol
31 #define lock hide_lock // avoid treading on STL symbol
32 #ifdef _MSC_VER
33 --- ./src/Makefile 2003-06-08 20:56:11.000000000 +0200
34 +++ ./src/Makefile 2003-06-08 14:27:30.000000000 +0200
35 @@ -147,1 +147,1 @@
36 - winmisc.o winstat.o wintext.o winval.o tile.o
37 + winmisc.o winstat.o wintext.o winval.o
38 @@ -179,1 +179,1 @@
39 -WINQTOBJ = qt_win.o qt_clust.o qttableview.o tile.o
40 +WINQTOBJ = qt_win.o qt_clust.o qttableview.o
41 @@ -191,1 +191,1 @@
42 - gnyesno.o gnworn.o tile.o
43 + gnyesno.o gnworn.o