Drop patch fix-FindCryptoPP-for-version-8.3.patch, present upstream.
Kali Janitor
1 year, 4 months ago
0 | 0 |
qsslcaudit (0.8.3-0kali1) UNRELEASED; urgency=low
|
1 | 1 |
|
2 | 2 |
* New upstream release.
|
|
3 |
* Drop patch fix-FindCryptoPP-for-version-8.3.patch, present upstream.
|
3 | 4 |
|
4 | 5 |
-- Kali Janitor <[email protected]> Fri, 23 Dec 2022 09:06:57 -0000
|
5 | 6 |
|
debian/patches/fix-FindCryptoPP-for-version-8.3.patch
less
more
0 | |
From: Sophie Brun <[email protected]>
|
1 | |
Date: Wed, 6 Jan 2021 09:39:02 +0100
|
2 | |
Subject: fix FindCryptoPP for version >= 8.3
|
3 | |
|
4 | |
Last-Update: 2021-01-06
|
5 | |
|
6 | |
Since version 8.3 the cryptopp config.h file does no longer contains the
|
7 | |
CRYPTOPP_VERSION variable. The variable is now in config_ver.h file.
|
8 | |
---
|
9 | |
FindCryptoPP.cmake | 6 +++++-
|
10 | |
1 file changed, 5 insertions(+), 1 deletion(-)
|
11 | |
|
12 | |
diff --git a/FindCryptoPP.cmake b/FindCryptoPP.cmake
|
13 | |
index 74a01e8..ae7cd6a 100644
|
14 | |
--- a/FindCryptoPP.cmake
|
15 | |
+++ b/FindCryptoPP.cmake
|
16 | |
@@ -75,7 +75,11 @@ ELSEIF (CRYPTOPP_LIBRARY_RELEASE)
|
17 | |
ENDIF (CRYPTOPP_LIBRARY_DEBUG AND CRYPTOPP_LIBRARY_RELEASE)
|
18 | |
|
19 | |
IF (CRYPTOPP_INCLUDE_DIR)
|
20 | |
- SET (_CRYPTOPP_VERSION_HEADER ${CRYPTOPP_INCLUDE_DIR}/cryptopp/config.h)
|
21 | |
+ SET (_CRYPTOPP_VERSION_HEADER ${CRYPTOPP_INCLUDE_DIR}/cryptopp/config_ver.h)
|
22 | |
+
|
23 | |
+ IF (NOT EXISTS ${_CRYPTOPP_VERSION_HEADER})
|
24 | |
+ SET (_CRYPTOPP_VERSION_HEADER ${CRYPTOPP_INCLUDE_DIR}/cryptopp/config.h)
|
25 | |
+ ENDIF (NOT EXISTS ${_CRYPTOPP_VERSION_HEADER})
|
26 | |
|
27 | |
IF (EXISTS ${_CRYPTOPP_VERSION_HEADER})
|
28 | |
FILE (STRINGS ${_CRYPTOPP_VERSION_HEADER} _CRYPTOPP_VERSION_TMP REGEX
|
0 | |
fix-FindCryptoPP-for-version-8.3.patch
|
1 | 0 |
add-missing-header.patch
|