summaryrefslogtreecommitdiff
path: root/games/nethack-qt
diff options
context:
space:
mode:
authorjoerg <joerg>2007-08-08 20:30:27 +0000
committerjoerg <joerg>2007-08-08 20:30:27 +0000
commit4b6d74dc6194e003e909f768840b4324e470bca4 (patch)
treef9a0286cb4e63358a6f031f558ff7dbdc6bfd313 /games/nethack-qt
parent5ae7d9aa91ebb1375ea4513455aa703a9af5f052 (diff)
downloadpkgsrc-4b6d74dc6194e003e909f768840b4324e470bca4.tar.gz
Don't use malloc.h.
Diffstat (limited to 'games/nethack-qt')
-rw-r--r--games/nethack-qt/distinfo4
-rw-r--r--games/nethack-qt/patches/patch-ai21
2 files changed, 19 insertions, 6 deletions
diff --git a/games/nethack-qt/distinfo b/games/nethack-qt/distinfo
index 0a429f141be..3140e7dbc87 100644
--- a/games/nethack-qt/distinfo
+++ b/games/nethack-qt/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.21 2005/12/19 19:45:02 joerg Exp $
+$NetBSD: distinfo,v 1.22 2007/08/08 20:30:27 joerg Exp $
SHA1 (nethack-343-src.tgz) = c26537093c38152bc0fbcec20468d975b35f59fd
RMD160 (nethack-343-src.tgz) = 42f600d24715a0b7e631b357c135761410b3ca95
@@ -10,4 +10,4 @@ SHA1 (patch-ae) = a72da6e6bd1af3a8eaed97ecc1fdd1ed4198a5db
SHA1 (patch-af) = 4c63205d51ad264aec0406810206e7a1913b7c54
SHA1 (patch-ag) = 6aeae6bde079b9c9081f6e32523687010c9bc674
SHA1 (patch-ah) = 238bd9d0284d7b43aa92ab558f9a6dd723722f05
-SHA1 (patch-ai) = 6c3b678a5b8123fe902cce1cbe8cce61ff4cf821
+SHA1 (patch-ai) = f12acf028c90659bde26bdb5d20692a6daf810c7
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()
{