Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jan 2021 21:55:10 +0000 (UTC)
From:      Hiroki Tagato <tagattie@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r560741 - in branches/2021Q1/audio/vgmplay: . files
Message-ID:  <202101072155.107LtAlX063578@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tagattie
Date: Thu Jan  7 21:55:09 2021
New Revision: 560741
URL: https://svnweb.freebsd.org/changeset/ports/560741

Log:
  MFH: r560739
  
  - Fix build with -fno-common (clang 11 and gcc 10)
  - Use MANPREFIX/share/man for manpage path
  - Remove over-optimization
  - Bump port revision for package change
  
  Reviewed by:	ehaupt

Added:
  branches/2021Q1/audio/vgmplay/files/patch-VGMPlay__AddFmts.c
     - copied unchanged from r560739, head/audio/vgmplay/files/patch-VGMPlay__AddFmts.c
Modified:
  branches/2021Q1/audio/vgmplay/Makefile
  branches/2021Q1/audio/vgmplay/files/patch-Makefile
Directory Properties:
  branches/2021Q1/   (props changed)

Modified: branches/2021Q1/audio/vgmplay/Makefile
==============================================================================
--- branches/2021Q1/audio/vgmplay/Makefile	Thu Jan  7 21:53:49 2021	(r560740)
+++ branches/2021Q1/audio/vgmplay/Makefile	Thu Jan  7 21:55:09 2021	(r560741)
@@ -2,7 +2,7 @@
 
 PORTNAME=	vgmplay
 PORTVERSION=	0.40.9
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	audio
 MASTER_SITES=	https://github.com/vgmrips/${PORTNAME}/releases/download/${PORTVERSION}/
 DISTNAME=	${PORTNAME:S/vgmp/VGMP/}_${PORTVERSION:S/.//:S/./-/}_src
@@ -35,7 +35,7 @@ MAKE_ENV_powerpc64=	BYTE_ORDER=2
 MAKE_ENV_powerpc64le=	BYTE_ORDER=1
 MAKE_ENV_powerpcspe=	BYTE_ORDER=2
 
-PLIST_FILES=	bin/vgmplay bin/vgm2pcm bin/vgm2wav man/man1/vgmplay.1.gz ${EXAMPLESDIR}/vgmplay.ini
+PLIST_FILES=	bin/vgmplay bin/vgm2pcm bin/vgm2wav share/man/man1/vgmplay.1.gz ${EXAMPLESDIR}/vgmplay.ini
 
 .include <bsd.port.pre.mk>
 
@@ -50,7 +50,7 @@ do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/vgmplay ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_PROGRAM} ${WRKSRC}/vgm2pcm ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_PROGRAM} ${WRKSRC}/vgm2wav ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/vgmplay.1 ${STAGEDIR}${PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/vgmplay.1 ${STAGEDIR}${MANPREFIX}/share/man/man1
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/VGMPlay.ini ${STAGEDIR}${EXAMPLESDIR}/vgmplay.ini
 

Modified: branches/2021Q1/audio/vgmplay/files/patch-Makefile
==============================================================================
--- branches/2021Q1/audio/vgmplay/files/patch-Makefile	Thu Jan  7 21:53:49 2021	(r560740)
+++ branches/2021Q1/audio/vgmplay/files/patch-Makefile	Thu Jan  7 21:55:09 2021	(r560741)
@@ -1,4 +1,4 @@
---- Makefile.orig	2019-01-11 06:06:08 UTC
+--- Makefile.orig	2021-01-07 10:55:33 UTC
 +++ Makefile
 @@ -58,7 +58,9 @@ endif
  
@@ -10,3 +10,12 @@
  ifndef PREFIX
  PREFIX = /usr/local
  #PREFIX = $(HOME)/.local
+@@ -101,7 +103,7 @@ endif
+ 
+ # -- General Compile Flags --
+ ifeq ($(DEBUG), 0)
+-CFLAGS := -O3 -g0 $(CFLAGS)
++CFLAGS := -g0 $(CFLAGS)
+ else
+ CFLAGS := -g $(CFLAGS)
+ endif

Copied: branches/2021Q1/audio/vgmplay/files/patch-VGMPlay__AddFmts.c (from r560739, head/audio/vgmplay/files/patch-VGMPlay__AddFmts.c)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2021Q1/audio/vgmplay/files/patch-VGMPlay__AddFmts.c	Thu Jan  7 21:55:09 2021	(r560741, copy of r560739, head/audio/vgmplay/files/patch-VGMPlay__AddFmts.c)
@@ -0,0 +1,11 @@
+--- VGMPlay_AddFmts.c.orig	2021-01-06 02:49:31 UTC
++++ 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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101072155.107LtAlX063578>