Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 2023 23:21:18 GMT
From:      Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 45f0113f4c6a - main - security/veracrypt: Fix build on 14.x
Message-ID:  <202307172321.36HNLI7U040148@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by acm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=45f0113f4c6a3921e14a1a3fb1c201f0b3e68c9d

commit 45f0113f4c6a3921e14a1a3fb1c201f0b3e68c9d
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2023-07-17 23:19:15 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2023-07-17 23:19:15 +0000

    security/veracrypt: Fix build on 14.x
    
    - Bump PORTREVISION
    
    PR:             272531
    Reported by:    Lutz Bichler <Lutz.Bichler _at_ gmail.com>
---
 security/veracrypt/Makefile                 |  2 ++
 security/veracrypt/files/patch-src_Makefile | 12 ++++++++----
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/security/veracrypt/Makefile b/security/veracrypt/Makefile
index bff420f19edd..e98c0017f7da 100644
--- a/security/veracrypt/Makefile
+++ b/security/veracrypt/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	veracrypt
 PORTVERSION=	1.25.9
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME:S/v/V/:S/c/C/}%20${PORTVERSION}/Source%20Code
 DISTNAME=	${PORTNAME:S/v/V/:S/c/C/}_${PORTVERSION}_Source
@@ -15,6 +16,7 @@ LICENSE_FILE=	${DOCSDIR}/LICENSE
 
 USES=		compiler:c++11-lang cpe desktop-file-utils fuse gmake iconv pkgconfig tar:bz2
 CPE_VENDOR=	idrix
+USE_CXXSTD=	c++11
 USE_WX=		3.0+
 NO_WRKSUBDIR=	yes
 BUILD_WRKSRC=	${WRKSRC}/src
diff --git a/security/veracrypt/files/patch-src_Makefile b/security/veracrypt/files/patch-src_Makefile
index cc0748da2b1b..a34d55e3efbd 100644
--- a/security/veracrypt/files/patch-src_Makefile
+++ b/security/veracrypt/files/patch-src_Makefile
@@ -1,7 +1,11 @@
---- src/Makefile	2019-09-04 22:50:16.539918000 -0500
-+++ src/Makefile	2019-09-04 22:50:32.706875000 -0500
-@@ -46,7 +46,7 @@
- export CXXFLAGS := -Wall -Wno-unused-parameter
+--- src/Makefile	2022-02-19 18:16:01.000000000 -0500
++++ src/Makefile	2023-07-17 18:16:43.271921000 -0500
+@@ -44,10 +44,10 @@
+ export RANLIB ?= ranlib
+ 
+ export CFLAGS := -Wall
+-export CXXFLAGS := -Wall -Wno-unused-parameter
++export CXXFLAGS ?= -Wall -Wno-unused-parameter
  C_CXX_FLAGS := -MMD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -I$(BASE_DIR) -I$(BASE_DIR)/Crypto
  export ASFLAGS := -D __GNUC__ -D __YASM__
 -export LFLAGS :=



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