diff options
Diffstat (limited to 'games/nethack-qt/patches/patch-ai')
-rw-r--r-- | games/nethack-qt/patches/patch-ai | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/games/nethack-qt/patches/patch-ai b/games/nethack-qt/patches/patch-ai index fce697fd688..45c7a59cddc 100644 --- a/games/nethack-qt/patches/patch-ai +++ b/games/nethack-qt/patches/patch-ai @@ -1,8 +1,21 @@ -$NetBSD: patch-ai,v 1.2 2003/03/01 21:12:51 pooka Exp $ +$NetBSD: patch-ai,v 1.3 2007/08/08 20:30:27 joerg Exp $ ---- win/Qt/qt_win.cpp.orig 2003-02-23 16:43:45.000000000 +0200 -+++ win/Qt/qt_win.cpp 2003-03-01 22:37:46.000000000 +0200 -@@ -4278,7 +4278,7 @@ +--- 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() { |