summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2017-10-13 19:40:43 +0300
committerAlon Bar-Lev <alonbl@gentoo.org>2017-10-13 19:41:45 +0300
commit429f31a639972743785eff8177f0b1407e5f7502 (patch)
tree97dd5dc6d13d5d44cecc43d8eb120a29444582e9
parentdev-libs/xmlsec: cleanup (diff)
downloadgentoo-429f31a639972743785eff8177f0b1407e5f7502.tar.gz
gentoo-429f31a639972743785eff8177f0b1407e5f7502.tar.bz2
gentoo-429f31a639972743785eff8177f0b1407e5f7502.zip
dev-libs/botan: add missing limits.h
Gentoo-Bug: https://bugs.gentoo.org/634180 Package-Manager: Portage-2.3.8, Repoman-2.3.3
-rw-r--r--dev-libs/botan/files/botan-2.3.0-build.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-libs/botan/files/botan-2.3.0-build.patch b/dev-libs/botan/files/botan-2.3.0-build.patch
index b4d4ca6e694f..06d44cd0c491 100644
--- a/dev-libs/botan/files/botan-2.3.0-build.patch
+++ b/dev-libs/botan/files/botan-2.3.0-build.patch
@@ -20,3 +20,29 @@ index 9580bc9c5..fabaccb18 100644
namespace Botan {
+From 8526077c273c752661786e0ef5d9f7b945c83931 Mon Sep 17 00:00:00 2001
+From: Alon Bar-Lev <alon.barlev@gmail.com>
+Date: Fri, 13 Oct 2017 19:34:25 +0300
+Subject: [PATCH] Add limits.h header for INT_MAX
+
+Gentoo-Bug: https://bugs.gentoo.org/633468
+Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
+---
+ src/lib/prov/openssl/openssl_rsa.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/lib/prov/openssl/openssl_rsa.cpp b/src/lib/prov/openssl/openssl_rsa.cpp
+index fae869b..ab5ac64 100644
+--- a/src/lib/prov/openssl/openssl_rsa.cpp
++++ b/src/lib/prov/openssl/openssl_rsa.cpp
+@@ -22,6 +22,7 @@
+ #include <openssl/x509.h>
+ #include <openssl/err.h>
+ #include <openssl/rand.h>
++#include <limits.h>
+
+ namespace Botan {
+
+--
+2.13.6
+