summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2020-08-14 10:32:43 +0000
committertnn <tnn@pkgsrc.org>2020-08-14 10:32:43 +0000
commitc76b5c596b8f495a8dccc0d89b5f157cc714c615 (patch)
treebbe8e6eb457e7eba92ff649c47f9ba45ba42a0be /security
parente027160cc233c4ae8135be52833176c46c664f80 (diff)
downloadpkgsrc-c76b5c596b8f495a8dccc0d89b5f157cc714c615.tar.gz
gpgme: add missing #include
Diffstat (limited to 'security')
-rw-r--r--security/gpgme/distinfo3
-rw-r--r--security/gpgme/patches/patch-lang_cpp_src_editinteractor.cpp14
2 files changed, 16 insertions, 1 deletions
diff --git a/security/gpgme/distinfo b/security/gpgme/distinfo
index c580c801e19..965838552ab 100644
--- a/security/gpgme/distinfo
+++ b/security/gpgme/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.44 2020/08/03 15:32:31 adam Exp $
+$NetBSD: distinfo,v 1.45 2020/08/14 10:32:43 tnn Exp $
SHA1 (gpgme-1.14.0.tar.bz2) = 90a1b678703b0cabdb953035a4bee012e5685dce
RMD160 (gpgme-1.14.0.tar.bz2) = 1889520e54ca69b06386b7b53f5dc82c6f8d036a
SHA512 (gpgme-1.14.0.tar.bz2) = b7ffa30a046c75215e1c73e2f34e5e65532e4dcf6bea55796adc6f82fd38dafe264bcd4332b2001155d6f9476d6fd82a77112dad31c1bb29db9ddefc532ae668
Size (gpgme-1.14.0.tar.bz2) = 1678910 bytes
SHA1 (patch-aa) = 6b81bc9b6b17f14329e0dbf1917d1352c142c072
+SHA1 (patch-lang_cpp_src_editinteractor.cpp) = f6e7234c31956ce81353d012b52011a72713e45d
diff --git a/security/gpgme/patches/patch-lang_cpp_src_editinteractor.cpp b/security/gpgme/patches/patch-lang_cpp_src_editinteractor.cpp
new file mode 100644
index 00000000000..65d4e4055db
--- /dev/null
+++ b/security/gpgme/patches/patch-lang_cpp_src_editinteractor.cpp
@@ -0,0 +1,14 @@
+$NetBSD: patch-lang_cpp_src_editinteractor.cpp,v 1.1 2020/08/14 10:32:43 tnn Exp $
+
+editinteractor.cpp:181:29: error: use of undeclared identifier 'getenv'
+
+--- lang/cpp/src/editinteractor.cpp.orig 2020-07-15 10:14:17.000000000 +0000
++++ lang/cpp/src/editinteractor.cpp
+@@ -41,6 +41,7 @@
+
+ #include <cerrno>
+ #include <cstring>
++#include <cstdlib>
+
+ #ifndef GPG_ERR_ALREADY_SIGNED
+ # define GPG_ERR_ALREADY_SIGNED GPG_ERR_USER_1