pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/angband-tty Use NetBSD hack for FreeBSD and Drag...
details: https://anonhg.NetBSD.org/pkgsrc/rev/62b3e527a2d1
branches: trunk
changeset: 504732:62b3e527a2d1
user: joerg <joerg%pkgsrc.org@localhost>
date: Mon Dec 19 19:39:44 2005 +0000
description:
Use NetBSD hack for FreeBSD and DragonFly as well.
diffstat:
games/angband-tty/distinfo | 4 ++--
games/angband-tty/patches/patch-ad | 17 +++++++++--------
2 files changed, 11 insertions(+), 10 deletions(-)
diffs (71 lines):
diff -r e6eb1acfb2e1 -r 62b3e527a2d1 games/angband-tty/distinfo
--- a/games/angband-tty/distinfo Mon Dec 19 19:38:55 2005 +0000
+++ b/games/angband-tty/distinfo Mon Dec 19 19:39:44 2005 +0000
@@ -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 @@
SHA1 (patch-aa) = f24d8a1f03c98ae09ecb75d5225f77eac138cdaf
SHA1 (patch-ab) = fd39a2a851add826bf072b6f5097e1d9d7e010a7
SHA1 (patch-ac) = 2ed519e243da2e4e6ee1494b32c4b68ebeec7b34
-SHA1 (patch-ad) = 8aac7e60e59d77577dffe6c6fd13cd13aac62cea
+SHA1 (patch-ad) = fbfa3f6e55bf10d41d824999c716c1a20e3b063c
diff -r e6eb1acfb2e1 -r 62b3e527a2d1 games/angband-tty/patches/patch-ad
--- a/games/angband-tty/patches/patch-ad Mon Dec 19 19:38:55 2005 +0000
+++ b/games/angband-tty/patches/patch-ad Mon Dec 19 19:39:44 2005 +0000
@@ -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 @@
#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 @@
/* 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 @@
#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();
Home |
Main Index |
Thread Index |
Old Index