Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Dec 2020 22:26:41 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r559624 - in head/multimedia/libgav1: . files
Message-ID:  <202012292226.0BTMQfDH064491@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Tue Dec 29 22:26:41 2020
New Revision: 559624
URL: https://svnweb.freebsd.org/changeset/ports/559624

Log:
  multimedia/libgav1: Sync -std= with devel/abseil to match ABI
  
  PR:		250376
  Approved by:	jbeich

Modified:
  head/multimedia/libgav1/Makefile
  head/multimedia/libgav1/files/patch-CMakeLists.txt

Modified: head/multimedia/libgav1/Makefile
==============================================================================
--- head/multimedia/libgav1/Makefile	Tue Dec 29 22:26:28 2020	(r559623)
+++ head/multimedia/libgav1/Makefile	Tue Dec 29 22:26:41 2020	(r559624)
@@ -3,6 +3,7 @@
 PORTNAME=	libgav1
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.16.0
+PORTREVISION=	1
 CATEGORIES=	multimedia
 
 MAINTAINER=	jbeich@FreeBSD.org
@@ -12,7 +13,7 @@ LICENSE=	APACHE20
 
 LIB_DEPENDS=	libabsl_synchronization.so:devel/abseil
 
-USES=		cmake compiler:c++11-lib localbase:ldflags
+USES=		cmake compiler:c++17-lang localbase:ldflags
 USE_GITHUB=	yes
 USE_LDCONFIG=	yes
 GH_ACCOUNT=	jbeich # mirror

Modified: head/multimedia/libgav1/files/patch-CMakeLists.txt
==============================================================================
--- head/multimedia/libgav1/files/patch-CMakeLists.txt	Tue Dec 29 22:26:28 2020	(r559623)
+++ head/multimedia/libgav1/files/patch-CMakeLists.txt	Tue Dec 29 22:26:41 2020	(r559624)
@@ -1,7 +1,19 @@
+- Sync -std= with devel/abseil to match ABI
 - Avoid leaking abseil dependency to shared library consumers
 
 --- CMakeLists.txt.orig	2020-07-15 02:27:54 UTC
 +++ CMakeLists.txt
+@@ -16,8 +16,8 @@
+ cmake_minimum_required(VERSION 3.7.1 FATAL_ERROR)
+ 
+ # libgav1 requires C++11.
+-set(CMAKE_CXX_STANDARD 11)
+-set(ABSL_CXX_STANDARD 11)
++set(CMAKE_CXX_STANDARD 17)
++set(ABSL_CXX_STANDARD 17)
+ 
+ project(libgav1 CXX)
+ 
 @@ -107,8 +107,11 @@ if(NOT "${LIBGAV1_EXE_LINKER_FLAGS}" STREQUAL "")
    separate_arguments(LIBGAV1_EXE_LINKER_FLAGS)
  endif()



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