games/omega: Fix inventory display crash and take maintainership

PR:		259786
Reported by:	Alex <r7st.guru@gmail.com> (new maintainer)
Approved by:	portmgr (blanket: bugfix, unmaintained port)
MFH:		2021Q4
This commit is contained in:
Alex 2021-12-12 16:53:57 +09:00 committed by Hiroki Tagato
parent cd7082eeb0
commit dfc806ae70
2 changed files with 14 additions and 3 deletions

View File

@ -2,11 +2,12 @@
PORTNAME= omega
PORTVERSION= 0.90.4
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.alcyone.com/binaries/omega/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= ports@FreeBSD.org
MAINTAINER= r7st.guru@gmail.com
COMMENT= Complex rogue-style game of dungeon exploration
USES= gmake ncurses

View File

@ -1,5 +1,5 @@
--- inv.c Fri Jan 1 03:08:33 1999
+++ /home/andy/tmp/wrk/inv.c Fri May 14 20:28:52 1999
--- inv.c.orig 2021-11-11 18:12:35.355855000 -0500
+++ inv.c 2021-11-11 18:13:11.096005000 -0500
@@ -8,7 +8,11 @@
# ifdef AMIGA
# include <curses210.h>
@ -13,3 +13,13 @@
# endif
#endif
@@ -840,8 +844,7 @@
use_pack_item(response - 'a',slot);
}
}
- if ( optionp(TOPINV) )
- display_possessions();
+ display_possessions();
return slot;
}