svn commit: r505982 - head/archivers/libunrar5

Piotr Kubaj pkubaj at FreeBSD.org
Sat Jul 6 12:13:20 UTC 2019


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


More information about the svn-ports-all mailing list