svn commit: r555573 - head/multimedia/mpvpaper

Mark Linimon linimon at FreeBSD.org
Tue Nov 17 17:46:12 UTC 2020


Author: linimon
Date: Tue Nov 17 17:46:11 2020
New Revision: 555573
URL: https://svnweb.freebsd.org/changeset/ports/555573

Log:
  Fix build on GCC-based systems by add compiler:c++11-lang to USES:
  
    ../inc/glad/glad_egl.h:50: error: redefinition of typedef 'GLADloadproc'
    ../inc/glad/glad.h:55: error: previous declaration of 'GLADloadproc' was here
    ../src/main.c: In function 'init_egl':
    ../src/main.c:175: error: 'for' loop initial declaration used outside C99 mode
  
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/multimedia/mpvpaper/Makefile

Modified: head/multimedia/mpvpaper/Makefile
==============================================================================
--- head/multimedia/mpvpaper/Makefile	Tue Nov 17 17:42:48 2020	(r555572)
+++ head/multimedia/mpvpaper/Makefile	Tue Nov 17 17:46:11 2020	(r555573)
@@ -13,7 +13,7 @@ BUILD_DEPENDS=	wayland-protocols>0:graphics/wayland-pr
 LIB_DEPENDS=	libwayland-egl.so:graphics/wayland \
 		libmpv.so:multimedia/mpv
 
-USES=		gl meson pkgconfig
+USES=		compiler:c++11-lang gl meson pkgconfig
 USE_GITHUB=	yes
 USE_GL=		egl
 GH_ACCOUNT=	GhostNaN


More information about the svn-ports-all mailing list