Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jul 2019 12:13:19 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r505982 - head/archivers/libunrar5
Message-ID:  <201907061213.x66CDJt9008319@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Sat Jul  6 12:13:19 2019
New Revision: 505982
URL: https://svnweb.freebsd.org/changeset/ports/505982

Log:
  archivers/libunrar5: fix build on GCC architectures
  
  Add USES=compiler:c++11-lang:
  rijndael.hpp:23: error: a function call cannot appear in a constant-expression
  rijndael.hpp:23: error: ISO C++ forbids initialization of member 'ctx'
  rijndael.hpp:23: error: making 'ctx' static
  rijndael.hpp:23: error: invalid in-class initialization of static data member of non-integral type 'EVP_CIPHER_CTX*'
  
  Approved by:	mentors (implicit approval)

Modified:
  head/archivers/libunrar5/Makefile

Modified: head/archivers/libunrar5/Makefile
==============================================================================
--- head/archivers/libunrar5/Makefile	Sat Jul  6 12:06:32 2019	(r505981)
+++ head/archivers/libunrar5/Makefile	Sat Jul  6 12:13:19 2019	(r505982)
@@ -14,7 +14,7 @@ LICENSE_NAME=	UnRAR License
 LICENSE_FILE=	${WRKSRC}/license.txt
 LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
-USES=		gmake
+USES=		compiler:c++11-lang gmake
 USE_LDCONFIG=	yes
 
 ALL_TARGET=	lib



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