pkgsrc/games/nethack-qt/patches/patch-ai
2007-08-08 20:30:27 +00:00

26 lines
621 B
Text

$NetBSD: patch-ai,v 1.3 2007/08/08 20:30:27 joerg Exp $
--- win/Qt/qt_win.cpp.orig 2003-12-07 23:39:13.000000000 +0000
+++ win/Qt/qt_win.cpp
@@ -102,11 +102,7 @@ extern "C" {
#include "qt_xpms.h"
#include <dirent.h>
-#ifdef Q_WS_MACX
-# include <sys/malloc.h>
-#else
-# include <malloc.h>
-#endif
+#include <stdlib.h>
#ifdef _WS_X11_
// For userid control
@@ -4278,7 +4274,7 @@ void NetHackQtYnDialog::done(int i)
NetHackQtGlyphs::NetHackQtGlyphs()
{
- const char* tile_file = "nhtiles.bmp";
+ const char* tile_file = "tiles.xpm";
if ( iflags.wc_tile_file )
tile_file = iflags.wc_tile_file;