Skip to content

Commit

Permalink
emulators/dosbox: fix build with llvm16
Browse files Browse the repository at this point in the history
Undefine 'register' keyword.

PR:		272659
Reported by:	Trond.Endrestol@ximalas.info
  • Loading branch information
Fernando Apesteguía authored and Fernando Apesteguía committed Jul 24, 2023
1 parent de30501 commit 99db299
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions emulators/dosbox/Makefile
Expand Up @@ -36,6 +36,11 @@ DEBUGGER_HEAVY_DESC=Enable internal debugger with extra features
DEBUGGER_ENABLE_CONFIGURE_ON= --enable-debug=yes
DEBUGGER_HEAVY_CONFIGURE_ON= --enable-debug=heavy

.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
CPPFLAGS+= -Dregister=
.endif

post-patch:
@${REINPLACE_CMD} -e 's#\/usr\/share\/doc\/dosbox#${DOCSDIR}#g' \
${WRKSRC}/docs/dosbox.1
Expand Down

0 comments on commit 99db299

Please sign in to comment.