git: cafeb553e30f - main - emulators/sameboy: Fix build with devel/rgbds 0.6.0

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Wed, 05 Oct 2022 10:32:30 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cafeb553e30f517492236534fa8381b0cd348c0e

commit cafeb553e30f517492236534fa8381b0cd348c0e
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2022-10-05 10:11:41 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2022-10-05 10:32:11 +0000

    emulators/sameboy: Fix build with devel/rgbds 0.6.0
    
     - Add upstream patch to fix build with latest devel/rgbds 0.6.0 dep
     - Bump PORTREVISION
---
 emulators/sameboy/Makefile | 4 ++++
 emulators/sameboy/distinfo | 4 +++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/emulators/sameboy/Makefile b/emulators/sameboy/Makefile
index 3fed0c489160..477e78ff08bf 100644
--- a/emulators/sameboy/Makefile
+++ b/emulators/sameboy/Makefile
@@ -1,8 +1,12 @@
 PORTNAME=	sameboy
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.15.6
+PORTREVISION=	1
 CATEGORIES=	emulators games
 
+PATCH_SITES=	https://github.com/LIJI32/SameBoy/commit/
+PATCHFILES=	c0966ceebaf1cf2518427ffa3c0189d8f96ab5aa.patch:-p1 # https://github.com/LIJI32/SameBoy/pull/501
+
 MAINTAINER=	eduardo@FreeBSD.org
 COMMENT=	Game Boy and Game Boy Color emulator written in C
 WWW=		https://sameboy.github.io/
diff --git a/emulators/sameboy/distinfo b/emulators/sameboy/distinfo
index 0545322d5cba..10e5fe35a1d1 100644
--- a/emulators/sameboy/distinfo
+++ b/emulators/sameboy/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1663535805
+TIMESTAMP = 1664963905
 SHA256 (LIJI32-SameBoy-v0.15.6_GH0.tar.gz) = 2a093310b85728a201dc95a9538a167942f099c78a2ff16afe3e49317934d29b
 SIZE (LIJI32-SameBoy-v0.15.6_GH0.tar.gz) = 3096139
+SHA256 (c0966ceebaf1cf2518427ffa3c0189d8f96ab5aa.patch) = 3276c2c455e4b7c9076c1220af7c4bcd3337e3386f43e7f8c8b52de2272c8a6c
+SIZE (c0966ceebaf1cf2518427ffa3c0189d8f96ab5aa.patch) = 36701