devel/rgbds: Update to 0.6.0

- Workaround clang build failure on 13.1 and 14 current with USE_GCC
   https://github.com/gbdev/rgbds/issues/1091

ChangeLog: https://github.com/gbdev/rgbds/releases/tag/v0.6.0
This commit is contained in:
Nuno Teixeira 2022-10-05 11:06:23 +01:00
parent 50b348965f
commit 442a92fca3
2 changed files with 13 additions and 5 deletions

View file

@ -1,5 +1,5 @@
PORTNAME= rgbds PORTNAME= rgbds
DISTVERSION= 0.5.2 DISTVERSION= 0.6.0
CATEGORIES= devel games CATEGORIES= devel games
MASTER_SITES= https://github.com/gbdev/rgbds/releases/download/v${DISTVERSION}/ MASTER_SITES= https://github.com/gbdev/rgbds/releases/download/v${DISTVERSION}/
@ -22,4 +22,12 @@ do-configure:
${CC} -std=gnu11 -D_POSIX_C_SOURCE=200809L -D_ISOC11_SOURCE -xc - 2>/dev/null || \ ${CC} -std=gnu11 -D_POSIX_C_SOURCE=200809L -D_ISOC11_SOURCE -xc - 2>/dev/null || \
${REINPLACE_CMD} 's,-D_POSIX_C_SOURCE=200809L,,' ${WRKSRC}/Makefile ${REINPLACE_CMD} 's,-D_POSIX_C_SOURCE=200809L,,' ${WRKSRC}/Makefile
.include <bsd.port.mk> .include <bsd.port.pre.mk>
# clang build fails on 13.1 and 14 current
# see https://github.com/gbdev/rgbds/issues/1091
.if ${OSVERSION} >= 1300000
USE_GCC= yes
.endif
.include <bsd.port.post.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1637707257 TIMESTAMP = 1664826997
SHA256 (rgbds-0.5.2.tar.gz) = 142479e1b68e3947af2dace884fb0efa65e789163cb5909bdcbae1f132dc1457 SHA256 (rgbds-0.6.0.tar.gz) = a5fa40b92e0562c6a092bc81ca56614316730aca7b10b8177285023781ff0e32
SIZE (rgbds-0.5.2.tar.gz) = 7955107 SIZE (rgbds-0.6.0.tar.gz) = 8041666