pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/botan-devel Fix build with libc++ having less...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0669fc02285c
branches:  trunk
changeset: 345802:0669fc02285c
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Dec 18 12:40:22 2019 +0000

description:
Fix build with libc++ having less namespace pollution.

diffstat:

 security/botan-devel/distinfo                                              |   3 +-
 security/botan-devel/patches/patch-src_lib_compat_sodium_sodium__utils.cpp |  15 ++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r e2893280d3a3 -r 0669fc02285c security/botan-devel/distinfo
--- a/security/botan-devel/distinfo     Wed Dec 18 12:39:09 2019 +0000
+++ b/security/botan-devel/distinfo     Wed Dec 18 12:40:22 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.15 2019/07/15 18:31:29 bsiegert Exp $
+$NetBSD: distinfo,v 1.16 2019/12/18 12:40:22 joerg Exp $
 
 SHA1 (Botan-2.11.0.tar.xz) = 67027ec56b9b217217a5bbc29c191e65d9e4193d
 RMD160 (Botan-2.11.0.tar.xz) = 95b54b384964c4ef881d7fb07adce995a9e1e78f
@@ -6,4 +6,5 @@
 Size (Botan-2.11.0.tar.xz) = 5765712 bytes
 SHA1 (patch-configure.py) = 2688fe59474bf3de425b49d2e0c9c1f4ecccfd16
 SHA1 (patch-src_build-data_os_openbsd.txt) = 9bfadff82d70bf65a476f3906709af64ade133cb
+SHA1 (patch-src_lib_compat_sodium_sodium__utils.cpp) = 2be13d873006bafe969c39e3af2a783f0372ad1b
 SHA1 (patch-src_lib_utils_os__utils.cpp) = dc08c5d7736e86523159ac4bfe565757cd689a4e
diff -r e2893280d3a3 -r 0669fc02285c security/botan-devel/patches/patch-src_lib_compat_sodium_sodium__utils.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/botan-devel/patches/patch-src_lib_compat_sodium_sodium__utils.cpp        Wed Dec 18 12:40:22 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_lib_compat_sodium_sodium__utils.cpp,v 1.1 2019/12/18 12:40:22 joerg Exp $
+
+Header for getenv.
+
+--- src/lib/compat/sodium/sodium_utils.cpp.orig        2019-12-13 15:03:08.136939461 +0000
++++ src/lib/compat/sodium/sodium_utils.cpp
+@@ -12,6 +12,8 @@
+ #include <botan/internal/ct_utils.h>
+ #include <botan/loadstor.h>
+ 
++#include <cstdlib>
++
+ namespace Botan {
+ 
+ void Sodium::randombytes_buf(void* buf, size_t len)



Home | Main Index | Thread Index | Old Index