diff options
Diffstat (limited to 'security/qgpgme')
-rw-r--r-- | security/qgpgme/Makefile | 1 | ||||
-rw-r--r-- | security/qgpgme/files/patch-src_dn.cpp | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/security/qgpgme/Makefile b/security/qgpgme/Makefile index f45cb981a8f8..6ae113d7dd72 100644 --- a/security/qgpgme/Makefile +++ b/security/qgpgme/Makefile @@ -1,5 +1,6 @@ PORTNAME= qgpgme PORTVERSION= 2.0.0 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= GNUPG PKGNAMESUFFIX= -${FLAVOR} diff --git a/security/qgpgme/files/patch-src_dn.cpp b/security/qgpgme/files/patch-src_dn.cpp new file mode 100644 index 000000000000..f8df815f4e41 --- /dev/null +++ b/security/qgpgme/files/patch-src_dn.cpp @@ -0,0 +1,12 @@ +--- src/dn.cpp.orig 2025-06-03 15:55:22 UTC ++++ src/dn.cpp +@@ -215,6 +215,9 @@ static std::pair<std::optional<std::string_view>, std: + /* hexstring */ + stringv.remove_prefix(1); + auto endHex = stringv.find_first_not_of("1234567890abcdefABCDEF"sv); ++ if (endHex == std::string_view::npos) { ++ endHex = stringv.size(); ++ } + auto value = parseHexString(stringv.substr(0, endHex)); + if (!value.has_value()) { + return {}; |