Skip to content

Commit

Permalink
games/omega: Fix inventory display crash and take maintainership
Browse files Browse the repository at this point in the history
PR:		259786
Reported by:	Alex <r7st.guru@gmail.com> (new maintainer)
Approved by:	portmgr (blanket: bugfix, unmaintained port)
MFH:		2021Q4
  • Loading branch information
r7st authored and tagattie committed Dec 12, 2021
1 parent cd7082e commit dfc806a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
3 changes: 2 additions & 1 deletion games/omega/Makefile
Expand Up @@ -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
Expand Down
14 changes: 12 additions & 2 deletions games/omega/files/patch-inv.c
@@ -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>
Expand All @@ -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;
}

0 comments on commit dfc806a

Please sign in to comment.