diff options
author | joerg <joerg@pkgsrc.org> | 2007-08-08 20:30:27 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-08-08 20:30:27 +0000 |
commit | a2277ba41508942831631ca703bda56ae7fea354 (patch) | |
tree | f9a0286cb4e63358a6f031f558ff7dbdc6bfd313 /games/nethack-qt | |
parent | be4606f6371c4eff5830a4645a001383ddd50fab (diff) | |
download | pkgsrc-a2277ba41508942831631ca703bda56ae7fea354.tar.gz |
Don't use malloc.h.
Diffstat (limited to 'games/nethack-qt')
-rw-r--r-- | games/nethack-qt/distinfo | 4 | ||||
-rw-r--r-- | games/nethack-qt/patches/patch-ai | 21 |
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() { |