diff --git a/devel/rgbds/Makefile b/devel/rgbds/Makefile index 87438a6a3e83..be5abdd7f40a 100644 --- a/devel/rgbds/Makefile +++ b/devel/rgbds/Makefile @@ -1,29 +1,25 @@ PORTNAME= rgbds -DISTVERSION= 0.9.0 -PORTREVISION= 1 +DISTVERSION= 0.9.1 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 LIB_DEPENDS= libpng16.so:graphics/png TEST_DEPENDS= bash>0:shells/bash \ git>0:devel/git \ xxd>0:sysutils/xxd USES= bison cmake:testing pkgconfig shebangfix SHEBANG_FILES= contrib/view_palettes.sh src/bison.sh test/*.sh test/*/*.sh CMAKE_OFF= USE_NONFREE_TESTS -EXTRA_PATCHES= ${FILESDIR}/extra-patch-fix_rgbfix:-p1 \ - ${FILESDIR}/extra-patch-inc_signal:-p1 - WRKSRC= ${WRKDIR}/rgbds .include diff --git a/devel/rgbds/distinfo b/devel/rgbds/distinfo index e586ec480f5b..4acaa03bf0f1 100644 --- a/devel/rgbds/distinfo +++ b/devel/rgbds/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1735171701 -SHA256 (rgbds-0.9.0.tar.gz) = e15721fe11a943a9fc6d11958abe1951d65fd285ade5af75c968d1bd1774caf6 -SIZE (rgbds-0.9.0.tar.gz) = 8091041 +TIMESTAMP = 1738530315 +SHA256 (rgbds-0.9.1.tar.gz) = 55cfa65b62f31de08c4050c7a8b0d7aba8d344ab2165cbbf76210e196d4e1f16 +SIZE (rgbds-0.9.1.tar.gz) = 8093364 diff --git a/devel/rgbds/files/extra-patch-fix_rgbfix b/devel/rgbds/files/extra-patch-fix_rgbfix deleted file mode 100644 index 6edf93f10c42..000000000000 --- a/devel/rgbds/files/extra-patch-fix_rgbfix +++ /dev/null @@ -1,29 +0,0 @@ -From b99ce3845e863894e918b483f80ffbb1e9f91252 Mon Sep 17 00:00:00 2001 -From: Rangi42 -Date: Sun, 29 Dec 2024 13:09:37 -0500 -Subject: [PATCH] Fix RGBFIX writing bytes when one syscall is not sufficient - ---- - src/fix/main.cpp | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) - -diff --git a/src/fix/main.cpp b/src/fix/main.cpp -index ce9a1d8d8..06a3a88a2 100644 ---- a/src/fix/main.cpp -+++ b/src/fix/main.cpp -@@ -805,13 +805,11 @@ static ssize_t writeBytes(int fd, uint8_t *buf, size_t len) { - - if (ret == -1 && errno != EINTR) // Return errors, unless we only were interrupted - return -1; -- // EOF reached -- if (ret == 0) -- return total; -- // If anything was read, accumulate it, and continue -+ // If anything was written, accumulate it, and continue - if (ret != -1) { - total += ret; - len -= ret; -+ buf += ret; - } - } - diff --git a/devel/rgbds/files/extra-patch-inc_signal b/devel/rgbds/files/extra-patch-inc_signal deleted file mode 100644 index ddd2537a2288..000000000000 --- a/devel/rgbds/files/extra-patch-inc_signal +++ /dev/null @@ -1,21 +0,0 @@ -From 06daf2a9b59595cc1f5df6213921e25dd35824ce Mon Sep 17 00:00:00 2001 -From: Rangi <35663410+Rangi42@users.noreply.github.com> -Date: Mon, 30 Dec 2024 17:22:14 -0500 -Subject: [PATCH] Include in rgbgfx_test.cpp (#1589) - ---- - test/gfx/rgbgfx_test.cpp | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/test/gfx/rgbgfx_test.cpp b/test/gfx/rgbgfx_test.cpp -index e2bcd7a10..68b4d266d 100644 ---- a/test/gfx/rgbgfx_test.cpp -+++ b/test/gfx/rgbgfx_test.cpp -@@ -5,6 +5,7 @@ - #include - #include - -+ #include - #include - #include - #else diff --git a/devel/rgbds/files/patch-test_run-tests.sh b/devel/rgbds/files/patch-test_run-tests.sh index 9ccae4b54623..82905522ca7f 100644 --- a/devel/rgbds/files/patch-test_run-tests.sh +++ b/devel/rgbds/files/patch-test_run-tests.sh @@ -1,14 +1,14 @@ Do not run extra tests that require build ---- test/run-tests.sh.orig 2024-12-31 01:19:31 UTC +--- test/run-tests.sh.orig 2025-02-02 21:10:40 UTC +++ test/run-tests.sh -@@ -74,6 +74,6 @@ fi +@@ -119,6 +119,6 @@ fi test_downstream pret pokered compare pokered.gbc ea9bcae617fdf159b045185467ae58b2e4a48b9a test_downstream zladx LADX-Disassembly default azle.gbc d90ac17e9bf17b6c61624ad9f05447bdb5efc01a fi --test_downstream AntonioND ucity all ucity.gbc 67e67a4eaefb12ddc98d3caa8959102b885c0405 --test_downstream pinobatch libbet all libbet.gb 7001af0f0664ba4e941310cde2c4c8392423abd2 +-test_downstream AntonioND ucity all ucity.gbc d2f4a7db48ee208b1bd69a78bd492a1c9ac4a030 +-test_downstream pinobatch libbet all libbet.gb f117089aa056600e2d404bbcbac96b016fc64611 -test_downstream LIJI32 SameBoy bootroms build/bin/BootROMs/cgb_boot.bin 113903775a9d34b798c2f8076672da6626815a91 -+#test_downstream AntonioND ucity all ucity.gbc 67e67a4eaefb12ddc98d3caa8959102b885c0405 -+#test_downstream pinobatch libbet all libbet.gb 7001af0f0664ba4e941310cde2c4c8392423abd2 ++#test_downstream AntonioND ucity all ucity.gbc d2f4a7db48ee208b1bd69a78bd492a1c9ac4a030 ++#test_downstream pinobatch libbet all libbet.gb f117089aa056600e2d404bbcbac96b016fc64611 +#test_downstream LIJI32 SameBoy bootroms build/bin/BootROMs/cgb_boot.bin 113903775a9d34b798c2f8076672da6626815a91