Index: head/games/xmris/Makefile =================================================================== --- head/games/xmris/Makefile (revision 424988) +++ head/games/xmris/Makefile (revision 424989) @@ -1,42 +1,42 @@ # Created by: jmz # $FreeBSD$ PORTNAME= xmris PORTVERSION= 4.04 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= games MASTER_SITES= XCONTRIB/games DISTNAME= ${PORTNAME}.${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Version of the Mr Do video arcade game for X11 USES= imake tar:tgz USE_XORG= x11 xext xaw xmu xt sm ice ALL_TARGET= xmris xmred Xmris.ad DESKTOP_ENTRIES="XMRis" "" "" "${PORTNAME}" "" "" post-build: @${LN} -sf Xmris.ad ${WRKSRC}/Xmris do-install: .for i in xmred xmris (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${i} \ ${STAGEDIR}${PREFIX}/bin) .endfor ${LN} -sf xmris ${STAGEDIR}${PREFIX}/bin/xmsit .for i in xmred xmris (cd ${WRKSRC} && ${INSTALL_MAN} ${i}.man \ ${STAGEDIR}${MANPREFIX}/man/man6/${i}.6) .endfor ${LN} -sf xmris.6 ${STAGEDIR}${MANPREFIX}/man/man6/xmsit.6 ${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/app-defaults (cd ${WRKSRC} && ${INSTALL_DATA} Xmris \ ${STAGEDIR}${PREFIX}/lib/X11/app-defaults) ${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/xmris (cd ${WRKSRC} && ${INSTALL_DATA} *.gdn \ ${STAGEDIR}${PREFIX}/lib/X11/xmris) ${MKDIR} ${STAGEDIR}/var/games/xmris .include Index: head/games/xmris/files/patch-timer.c =================================================================== --- head/games/xmris/files/patch-timer.c (revision 424988) +++ head/games/xmris/files/patch-timer.c (revision 424989) @@ -1,11 +1,22 @@ --- timer.c.orig 1995-12-22 12:08:21 UTC +++ timer.c @@ -85,7 +85,7 @@ sigprocmask(SIG_BLOCK, &temp, (maskp)); \ } # define signal_release(maskp) sigprocmask(SIG_SETMASK, maskp, (MASK *)NULL) -# define signal_pause(maskp) sigpause(*(maskp)) +# define signal_pause(maskp) sigsuspend(maskp) #else # ifdef __hpux /* hpux is a weird mixture of BSD & SYSV */ /* don't know if this is right */ +@@ -572,7 +572,10 @@ extern VOIDFUNC timer_wait FUNCARGVOID + else + { + while(!tickafter(now, timer.timeout)) ++ { ++ usleep(tickdelta(timer.timeout, now) * TICKTIME); + gettick(&now); ++ } + timer.timeout = tickadd(timer.timeout, timer.delay); + point = -1; + }