git: 567a0e30fe6b - main - multimedia/gst123: Fix build with ncurses 6.6

From: Kousuke Kannagi <mce_at_FreeBSD.org>
Date: Tue, 31 Mar 2026 10:46:58 UTC
The branch main has been updated by mce:

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

commit 567a0e30fe6ba7105443fbb8fa412e7e38a69b42
Author:     Kousuke Kannagi <mce@FreeBSD.org>
AuthorDate: 2026-03-30 06:44:36 +0000
Commit:     Kousuke Kannagi <mce@FreeBSD.org>
CommitDate: 2026-03-31 10:46:30 +0000

    multimedia/gst123: Fix build with ncurses 6.6
    
    Apply the upstream patch to fix the build.
    Update USE_GSTREAMER and USE_XORG.
    Since it has been a while since the version was updated, remove the
    pkg-message for migration.
    
    In file included from gst123.cc:33:
    ./terminal.h:31:30: error: field has incomplete type 'struct termios'
       31 |   struct termios             tio_orig;
          |                              ^
    ./terminal.h:31:10: note: forward declaration of 'termios'
       31 |   struct termios             tio_orig;
          |          ^
    
    PR:             292500
    Approved by:    fluffy (mentor)
---
 multimedia/gst123/Makefile    | 10 +++++++---
 multimedia/gst123/distinfo    |  4 +++-
 multimedia/gst123/pkg-message |  8 --------
 3 files changed, 10 insertions(+), 12 deletions(-)

diff --git a/multimedia/gst123/Makefile b/multimedia/gst123/Makefile
index f3b9ade6dbd3..deeceaa6d06b 100644
--- a/multimedia/gst123/Makefile
+++ b/multimedia/gst123/Makefile
@@ -1,9 +1,13 @@
 PORTNAME=	gst123
 DISTVERSION=	0.4.1
+PORTREVISION=	1
 CATEGORIES=	multimedia
 MASTER_SITES=	https://github.com/swesterfeld/${PORTNAME}/releases/download/${DISTVERSION}/
 
-MAINTAINER=	mew14930xvi@inbox.lv
+PATCH_SITES=	https://github.com/swesterfeld/${PORTNAME}/commit/
+PATCHFILES=	bbb67ee48eb08af3ad29e3ec60a404153f4d4acb.patch:-p1
+
+MAINTAINER=	mce@FreeBSD.org
 COMMENT=	Command-line tool to play audio and video files
 WWW=		https://space.twc.de/~stefan/gst123.php
 
@@ -12,8 +16,8 @@ LICENSE=	LGPL20+
 USES=		compiler:c++11-lang localbase gmake gnome gstreamer ncurses \
 		pkgconfig tar:bzip2 xorg
 USE_GNOME=	gtk30
-USE_GSTREAMER=	good
-USE_XORG=	x11
+USE_GSTREAMER=	good libav
+USE_XORG=	x11 xorgproto
 
 GNU_CONFIGURE=	yes
 
diff --git a/multimedia/gst123/distinfo b/multimedia/gst123/distinfo
index a8958cbb29c0..f8eb3ba9dafc 100644
--- a/multimedia/gst123/distinfo
+++ b/multimedia/gst123/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1736050485
+TIMESTAMP = 1774372896
 SHA256 (gst123-0.4.1.tar.bz2) = 891d4f0a39f1341a80d3acc4293f46a5fb563c41f6795935a49425a2219d2e68
 SIZE (gst123-0.4.1.tar.bz2) = 121588
+SHA256 (bbb67ee48eb08af3ad29e3ec60a404153f4d4acb.patch) = 2488c095e6030018ebbfceab21cf482725ae25507adf5b74475a946865c7e417
+SIZE (bbb67ee48eb08af3ad29e3ec60a404153f4d4acb.patch) = 676
diff --git a/multimedia/gst123/pkg-message b/multimedia/gst123/pkg-message
deleted file mode 100644
index a622dd2b3e84..000000000000
--- a/multimedia/gst123/pkg-message
+++ /dev/null
@@ -1,8 +0,0 @@
-[
-{ type: install
-  message: <<EOM
-Since version 0.4.0, migrate the configuration file from ~/.gst123rc
-to $XDG_CONFIG_HOME/gst123rc which defaults to ~/.config/gst123rc.
-EOM
-}
-]