summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-12-19 19:39:44 +0000
committerjoerg <joerg@pkgsrc.org>2005-12-19 19:39:44 +0000
commit40d4b32010046551a1904150619c485a9a5b4d61 (patch)
treebc08240f0114b6c94f63cb9a4e3f8dbfd5cd9c09 /games
parenteb1f14f871a0afd1794e96b32719c1fe0fc1850c (diff)
downloadpkgsrc-40d4b32010046551a1904150619c485a9a5b4d61.tar.gz
Use NetBSD hack for FreeBSD and DragonFly as well.
Diffstat (limited to 'games')
-rw-r--r--games/angband-tty/distinfo4
-rw-r--r--games/angband-tty/patches/patch-ad17
2 files changed, 11 insertions, 10 deletions
diff --git a/games/angband-tty/distinfo b/games/angband-tty/distinfo
index ed818b4e3d7..6d81877f3b1 100644
--- a/games/angband-tty/distinfo
+++ b/games/angband-tty/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 23:11:54 agc Exp $
+$NetBSD: distinfo,v 1.6 2005/12/19 19:39:44 joerg Exp $
SHA1 (angband-283.tar.gz) = 1dc4a2786c31c2336daf57f76f4fa762f7d84cf3
RMD160 (angband-283.tar.gz) = 0b910673d6bd6faa07850274ff19bfae51b03707
@@ -9,4 +9,4 @@ Size (angband-spoilers.tar.gz) = 234909 bytes
SHA1 (patch-aa) = f24d8a1f03c98ae09ecb75d5225f77eac138cdaf
SHA1 (patch-ab) = fd39a2a851add826bf072b6f5097e1d9d7e010a7
SHA1 (patch-ac) = 2ed519e243da2e4e6ee1494b32c4b68ebeec7b34
-SHA1 (patch-ad) = 8aac7e60e59d77577dffe6c6fd13cd13aac62cea
+SHA1 (patch-ad) = fbfa3f6e55bf10d41d824999c716c1a20e3b063c
diff --git a/games/angband-tty/patches/patch-ad b/games/angband-tty/patches/patch-ad
index b187c5b0fa3..f17f651e2cd 100644
--- a/games/angband-tty/patches/patch-ad
+++ b/games/angband-tty/patches/patch-ad
@@ -1,12 +1,12 @@
-$NetBSD: patch-ad,v 1.1 2000/05/04 01:48:12 hubertf Exp $
+$NetBSD: patch-ad,v 1.2 2005/12/19 19:39:44 joerg Exp $
--- main-gcu.c.orig Thu May 4 03:37:38 2000
+++ main-gcu.c Thu May 4 03:41:22 2000
-@@ -458,6 +458,14 @@
+@@ -458,6 +458,14 @@ static errr Term_xtra_gcu_alive(int v)
/* Flush the curses buffer */
(void)refresh();
-+#ifdef __NetBSD__
++#if defined(__NetBSD__) || defined(__DragonFly__) || defined(__FreeBSD__)
+ {
+ int cury, curx;
+
@@ -17,7 +17,7 @@ $NetBSD: patch-ad,v 1.1 2000/05/04 01:48:12 hubertf Exp $
#ifdef SPECIAL_BSD
/* this moves curses to bottom right corner */
mvcur(curscr->cury, curscr->curx, LINES - 1, 0);
-@@ -465,6 +473,7 @@
+@@ -465,6 +473,7 @@ static errr Term_xtra_gcu_alive(int v)
/* this moves curses to bottom right corner */
mvcur(curscr->_cury, curscr->_curx, LINES - 1, 0);
#endif
@@ -25,11 +25,11 @@ $NetBSD: patch-ad,v 1.1 2000/05/04 01:48:12 hubertf Exp $
/* Exit curses */
endwin();
-@@ -529,12 +538,21 @@
+@@ -529,6 +538,14 @@ static void Term_nuke_gcu(term *t)
/* Hack -- make sure the cursor is visible */
Term_xtra(TERM_XTRA_SHAPE, 1);
-+#ifdef __NetBSD__
++#if defined(__NetBSD__) || defined(__DragonFly__) || defined(__FreeBSD__)
+ {
+ int cury, curx;
+
@@ -40,10 +40,11 @@ $NetBSD: patch-ad,v 1.1 2000/05/04 01:48:12 hubertf Exp $
#ifdef SPECIAL_BSD
/* This moves curses to bottom right corner */
mvcur(curscr->cury, curscr->curx, LINES - 1, 0);
- #else
+@@ -536,6 +553,7 @@ static void Term_nuke_gcu(term *t)
/* This moves curses to bottom right corner */
mvcur(curscr->_cury, curscr->_curx, LINES - 1, 0);
-+#endif
#endif
++#endif
/* Flush the curses buffer */
+ (void)refresh();