Skip to content

Commit

Permalink
devel/rgbds: Update to 0.6.0
Browse files Browse the repository at this point in the history
 - Workaround clang build failure on 13.1 and 14 current with USE_GCC
   gbdev/rgbds#1091

ChangeLog: https://github.com/gbdev/rgbds/releases/tag/v0.6.0
  • Loading branch information
nunotexbsd committed Oct 5, 2022
1 parent 50b3489 commit 442a92f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
12 changes: 10 additions & 2 deletions devel/rgbds/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PORTNAME= rgbds
DISTVERSION= 0.5.2
DISTVERSION= 0.6.0
CATEGORIES= devel games
MASTER_SITES= https://github.com/gbdev/rgbds/releases/download/v${DISTVERSION}/

Expand All @@ -22,4 +22,12 @@ do-configure:
${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

.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>
6 changes: 3 additions & 3 deletions devel/rgbds/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1637707257
SHA256 (rgbds-0.5.2.tar.gz) = 142479e1b68e3947af2dace884fb0efa65e789163cb5909bdcbae1f132dc1457
SIZE (rgbds-0.5.2.tar.gz) = 7955107
TIMESTAMP = 1664826997
SHA256 (rgbds-0.6.0.tar.gz) = a5fa40b92e0562c6a092bc81ca56614316730aca7b10b8177285023781ff0e32
SIZE (rgbds-0.6.0.tar.gz) = 8041666

0 comments on commit 442a92f

Please sign in to comment.