diff --git a/devel/rgbds/Makefile b/devel/rgbds/Makefile index 9412a6de039a..4a6d71637c9b 100644 --- a/devel/rgbds/Makefile +++ b/devel/rgbds/Makefile @@ -1,28 +1,26 @@ PORTNAME= rgbds -DISTVERSION= 0.8.0 +DISTVERSION= 0.9.0 CATEGORIES= devel games MASTER_SITES= https://github.com/gbdev/rgbds/releases/download/v${DISTVERSION}/ MAINTAINER= eduardo@FreeBSD.org COMMENT= Free assembler/linker for the Game Boy and Game Boy Color WWW= https://rgbds.gbdev.io/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= bash>0:shells/bash LIB_DEPENDS= libpng16.so:graphics/png +TEST_DEPENDS= bash>0:shells/bash \ + git>0:devel/git \ + xxd>0:sysutils/xxd -USES= bison compiler:c11 dos2unix pkgconfig shebangfix +USES= bison cmake:testing dos2unix pkgconfig shebangfix -SHEBANG_FILES= src/bison.sh -MAKE_ARGS= Q= # verbose builds +SHEBANG_FILES= contrib/view_palettes.sh src/bison.sh test/*.sh test/*/*.sh WRKSRC= ${WRKDIR}/rgbds -do-configure: -# yank _POSIX_C_SOURCE because it breaks the build, see also: -# https://github.com/gbdev/rgbds/issues/1091 -# https://github.com/gbdev/rgbds/issues/1111 - ${REINPLACE_CMD} 's,-D_POSIX_C_SOURCE=200809L,,' ${WRKSRC}/Makefile +TESTING_UNSAFE= https://github.com/gbdev/rgbds/issues/1580 .include diff --git a/devel/rgbds/distinfo b/devel/rgbds/distinfo index 8ead19a236b4..e586ec480f5b 100644 --- a/devel/rgbds/distinfo +++ b/devel/rgbds/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1719606529 -SHA256 (rgbds-0.8.0.tar.gz) = cc9340534f24b6b1ce8a6d8c4d4d92b2ef6c5dcf1c3e3709ea362626a3435a96 -SIZE (rgbds-0.8.0.tar.gz) = 8050853 +TIMESTAMP = 1735171701 +SHA256 (rgbds-0.9.0.tar.gz) = e15721fe11a943a9fc6d11958abe1951d65fd285ade5af75c968d1bd1774caf6 +SIZE (rgbds-0.9.0.tar.gz) = 8091041 diff --git a/devel/rgbds/files/patch-test_gfx_rgbgfx__test.cpp b/devel/rgbds/files/patch-test_gfx_rgbgfx__test.cpp new file mode 100644 index 000000000000..e3f42d092f5f --- /dev/null +++ b/devel/rgbds/files/patch-test_gfx_rgbgfx__test.cpp @@ -0,0 +1,10 @@ +--- test/gfx/rgbgfx_test.cpp.orig 2024-12-25 20:36:32 UTC ++++ test/gfx/rgbgfx_test.cpp +@@ -23,6 +23,7 @@ + #include + #include + #include ++#include + #include + #include + #include diff --git a/devel/rgbds/pkg-plist b/devel/rgbds/pkg-plist index 314168bdc8aa..858b6ad32472 100644 --- a/devel/rgbds/pkg-plist +++ b/devel/rgbds/pkg-plist @@ -1,13 +1,14 @@ bin/rgbasm bin/rgbfix bin/rgbgfx bin/rgblink share/man/man1/rgbasm.1.gz share/man/man1/rgbfix.1.gz share/man/man1/rgbgfx.1.gz share/man/man1/rgblink.1.gz +share/man/man5/rgbasm-old.5.gz share/man/man5/rgbasm.5.gz share/man/man5/rgbds.5.gz share/man/man5/rgblink.5.gz share/man/man7/gbz80.7.gz share/man/man7/rgbds.7.gz