FreeBSD Bugzilla – Attachment 243417 Details for
Bug 272531
security/veracrypt: does not compile on FreeBSD 14
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Add -std=c++11 to CXXFLAGS
0001-security-veracrypt-Use-C-11.patch (text/plain), 1.80 KB, created by
Lutz Bichler
on 2023-07-16 06:46:01 UTC
(
hide
)
Description:
Add -std=c++11 to CXXFLAGS
Filename:
MIME Type:
Creator:
Lutz Bichler
Created:
2023-07-16 06:46:01 UTC
Size:
1.80 KB
patch
obsolete
>From 818f2d4d9d0b066fb507ab339de711ca6ee71c5b Mon Sep 17 00:00:00 2001 >From: Lutz Bichler <Lutz.Bichler@gmail.com> >Date: Sun, 16 Jul 2023 08:37:05 +0200 >Subject: [PATCH] security/veracrypt: Use C++11 > > - std::byte from C++17 conflicts with definitions inside the veracrypt source > --> set the used C++ version to C++11. >--- > security/veracrypt/Makefile | 1 + > security/veracrypt/files/patch-src_Makefile | 12 ++++++++---- > 2 files changed, 9 insertions(+), 4 deletions(-) > >diff --git a/security/veracrypt/Makefile b/security/veracrypt/Makefile >index bff420f19edd..4f7862c472b8 100644 >--- a/security/veracrypt/Makefile >+++ b/security/veracrypt/Makefile >@@ -1,5 +1,6 @@ > PORTNAME= veracrypt > PORTVERSION= 1.25.9 >+PORTEPOCH= 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 >diff --git a/security/veracrypt/files/patch-src_Makefile b/security/veracrypt/files/patch-src_Makefile >index cc0748da2b1b..be134f7b7280 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.bak 2023-07-16 08:29:08.257793000 +0200 >++++ src/Makefile 2023-07-16 08:29:26.370451000 +0200 >+@@ -44,10 +44,10 @@ >+ export RANLIB ?= ranlib >+ >+ export CFLAGS := -Wall >+-export CXXFLAGS := -Wall -Wno-unused-parameter >++export CXXFLAGS := -std=c++11 -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 := >-- >2.41.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 272531
: 243417