Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 May 2018 15:57:25 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r468848 - head/emulators/mgba
Message-ID:  <201805021557.w42FvPFJ027141@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Wed May  2 15:57:25 2018
New Revision: 468848
URL: https://svnweb.freebsd.org/changeset/ports/468848

Log:
  emulators/mgba: unbreak with ffmpeg 4.0
  
  src/feature/ffmpeg/ffmpeg-encoder.c:232:29: error: use of undeclared identifier 'CODEC_FLAG_GLOBAL_HEADER'
                          encoder->audio->flags |= CODEC_FLAG_GLOBAL_HEADER;
                                                   ^
  src/feature/ffmpeg/ffmpeg-encoder.c:294:28: error: use of undeclared identifier 'CODEC_FLAG_GLOBAL_HEADER'
                  encoder->video->flags |= CODEC_FLAG_GLOBAL_HEADER;
                                           ^
  
  PR:		227726
  Reported by:	antoine (via exp-run)
  Obtained from:	upstream (mgba 0.6.2)

Modified:
  head/emulators/mgba/Makefile   (contents, props changed)
  head/emulators/mgba/distinfo   (contents, props changed)

Modified: head/emulators/mgba/Makefile
==============================================================================
--- head/emulators/mgba/Makefile	Wed May  2 15:47:51 2018	(r468847)
+++ head/emulators/mgba/Makefile	Wed May  2 15:57:25 2018	(r468848)
@@ -5,6 +5,9 @@ DISTVERSION=	0.6.1
 PORTREVISION=	2
 CATEGORIES=	emulators
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES=	a7a51a11373f.patch:-p1
+
 MAINTAINER=	greg@unrelenting.technology
 COMMENT=	Game Boy Advance (GBA) emulator/debugger
 
@@ -47,7 +50,6 @@ QT5_DESC=	Qt 5 frontend
 DEBUGGERS_CMAKE_BOOL=	USE_DEBUGGERS USE_EDITLINE USE_GDB_STUB
 DEBUGGERS_USES=		libedit
 
-FFMPEG_BROKEN=		fails to build with ffmpeg 4.0
 FFMPEG_CMAKE_BOOL=	USE_FFMPEG
 FFMPEG_LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg \
 			libavformat.so:multimedia/ffmpeg \

Modified: head/emulators/mgba/distinfo
==============================================================================
--- head/emulators/mgba/distinfo	Wed May  2 15:47:51 2018	(r468847)
+++ head/emulators/mgba/distinfo	Wed May  2 15:57:25 2018	(r468848)
@@ -1,3 +1,5 @@
 TIMESTAMP = 1507126883
 SHA256 (mgba-emu-mgba-0.6.1_GH0.tar.gz) = 7c78feb0aa12930b993ca1b220d282ed178e306621559e48bb168623030eb876
 SIZE (mgba-emu-mgba-0.6.1_GH0.tar.gz) = 7437240
+SHA256 (a7a51a11373f.patch) = c6c7dbced0350392cbb0efba8b417fdab65a4db929f747ff6c4159f7f07c1216
+SIZE (a7a51a11373f.patch) = 1485



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