Skip to content

Commit

Permalink
security/veracrypt: Fix build on 14.x
Browse files Browse the repository at this point in the history
- Bump PORTREVISION

PR:		272531
Reported by:	Lutz Bichler <Lutz.Bichler _at_ gmail.com>
  • Loading branch information
alonsobsd committed Jul 17, 2023
1 parent 8b128da commit 45f0113
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 2 additions & 0 deletions security/veracrypt/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
12 changes: 8 additions & 4 deletions security/veracrypt/files/patch-src_Makefile
Original file line number Diff line number Diff line change
@@ -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 :=
Expand Down

0 comments on commit 45f0113

Please sign in to comment.