diff --git a/games/omega/Makefile b/games/omega/Makefile index a77f6a43b0e1..89c94899c7c2 100644 --- a/games/omega/Makefile +++ b/games/omega/Makefile @@ -1,31 +1,32 @@ # Created by: Andrey Zakhvatov 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 WRKSRC= ${WRKDIR}/${PORTNAME} ALL_TARGET= # empty CFLAGS+= -Wno-return-type MYPORTDOCS= buglist.txt docs/compile.all docs/omega.txt docs/readme.1st \ docs/readme3 docs/readme4 OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/omega ${STAGEDIR}${PREFIX}/bin/omega-game ${INSTALL_MAN} ${WRKSRC}/docs/omega.6 ${STAGEDIR}${MANPREFIX}/man/man6 @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/lib/* ${STAGEDIR}${DATADIR} ${CP} ${STAGEDIR}${DATADIR}/omega.hi ${STAGEDIR}${DATADIR}/omegahi.bak @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${MYPORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/games/omega/files/patch-inv.c b/games/omega/files/patch-inv.c index 932cae631cd6..8403f5f9a264 100644 --- a/games/omega/files/patch-inv.c +++ b/games/omega/files/patch-inv.c @@ -1,15 +1,25 @@ ---- 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 # else -# include +# ifdef __FreeBSD__ +# include +# else +# include +# endif # endif #endif +@@ -840,8 +844,7 @@ + use_pack_item(response - 'a',slot); + } + } +- if ( optionp(TOPINV) ) +- display_possessions(); ++ display_possessions(); + return slot; + } +