Friday, January 29, 2021

Fix audio/vgmplay -fno-common

Index: Makefile
===================================================================
RCS file: /cvs/ports/audio/vgmplay/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile 12 Jul 2019 20:43:42 -0000 1.3
+++ Makefile 29 Jan 2021 20:05:21 -0000
@@ -1,6 +1,7 @@
# $OpenBSD: Makefile,v 1.3 2019/07/12 20:43:42 sthen Exp $

COMMENT = command line audio player for VGM files
+REVISION = 0
CATEGORIES = audio

GH_ACCOUNT = vgmrips
Index: patches/patch-VGMPlay_VGMPlay_AddFmts_c
===================================================================
RCS file: patches/patch-VGMPlay_VGMPlay_AddFmts_c
diff -N patches/patch-VGMPlay_VGMPlay_AddFmts_c
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-VGMPlay_VGMPlay_AddFmts_c 29 Jan 2021 20:05:21 -0000
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+Fixed upstream from https://github.com/vgmrips/vgmplay/pull/74
+
+Index: VGMPlay/VGMPlay_AddFmts.c
+--- VGMPlay/VGMPlay_AddFmts.c.orig
++++ VGMPlay/VGMPlay_AddFmts.c
+@@ -117,7 +117,7 @@ extern INT32 VGMSmplPlayed;
+ extern INT32 VGMSampleRate;
+ extern UINT32 BlocksSent;
+ extern UINT32 BlocksPlayed;
+-bool VGMEnd;
++extern bool VGMEnd;
+ extern bool EndPlay;
+ extern bool PausePlay;
+ extern bool FadePlay;
Hello ports --

This patch fixes vgmplay for -fno-common.
Taken from upstream (no new release since this was committed upstream):
https://github.com/vgmrips/vgmplay/pull/74

OK?

~Brian

No comments:

Post a Comment