OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.6 KiB

  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 - 2006 The T2 SDE Project
  6. # Copyright (C) 1998 - 2003 Clifford Wolf
  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 ---
  17. This fixes a few compiler and linker errors.
  18. don't ask... please... just don't ask
  19. blindcoder
  20. --- ./win/Qt/qt_win.cpp 2003-06-08 20:56:11.000000000 +0200
  21. +++ ./win/Qt/qt_win.cpp 2003-06-08 14:27:30.000000000 +0200
  22. @@ -47,6 +47,8 @@ extern "C" {
  23. // enough, and we undefine NetHack macros which conflict with Qt
  24. // identifiers.
  25. +#include <math.h>
  26. +
  27. #define alloc hide_alloc // avoid treading on STL symbol
  28. #define lock hide_lock // avoid treading on STL symbol
  29. #ifdef _MSC_VER
  30. --- ./src/Makefile 2003-06-08 20:56:11.000000000 +0200
  31. +++ ./src/Makefile 2003-06-08 14:27:30.000000000 +0200
  32. @@ -147,1 +147,1 @@
  33. - winmisc.o winstat.o wintext.o winval.o tile.o
  34. + winmisc.o winstat.o wintext.o winval.o
  35. @@ -179,1 +179,1 @@
  36. -WINQTOBJ = qt_win.o qt_clust.o qttableview.o tile.o
  37. +WINQTOBJ = qt_win.o qt_clust.o qttableview.o
  38. @@ -191,1 +191,1 @@
  39. - gnyesno.o gnworn.o tile.o
  40. + gnyesno.o gnworn.o