diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2017-10-04 21:56:45 +0300 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2017-10-04 21:57:28 +0300 |
commit | 71ac541cf20d25f77345883ac31669b6505fd1b0 (patch) | |
tree | 521a1c3fd35a43a39fc4ee4c6d908174a43c6d05 /dev-libs | |
parent | media-gfx/pixie: Drop proxied maintainer (diff) | |
download | gentoo-71ac541cf20d25f77345883ac31669b6505fd1b0.tar.gz gentoo-71ac541cf20d25f77345883ac31669b6505fd1b0.tar.bz2 gentoo-71ac541cf20d25f77345883ac31669b6505fd1b0.zip |
dev-libs/botan: add missing limits.h
Gentoo-Bug: 633468
Thanks: toralf
Package-Manager: Portage-2.3.8, Repoman-2.3.1
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/botan/botan-2.3.0.ebuild | 4 | ||||
-rw-r--r-- | dev-libs/botan/files/botan-2.3.0-build.patch | 22 |
2 files changed, 26 insertions, 0 deletions
diff --git a/dev-libs/botan/botan-2.3.0.ebuild b/dev-libs/botan/botan-2.3.0.ebuild index c2cd637870da..0891fa18dafe 100644 --- a/dev-libs/botan/botan-2.3.0.ebuild +++ b/dev-libs/botan/botan-2.3.0.ebuild @@ -33,6 +33,10 @@ DEPEND="${RDEPEND} dev-lang/python:* doc? ( dev-python/sphinx )" +PATCHES=( + "${FILESDIR}/${P}-build.patch" +) + src_prepare() { default use doc || sed \ diff --git a/dev-libs/botan/files/botan-2.3.0-build.patch b/dev-libs/botan/files/botan-2.3.0-build.patch new file mode 100644 index 000000000000..b4d4ca6e694f --- /dev/null +++ b/dev-libs/botan/files/botan-2.3.0-build.patch @@ -0,0 +1,22 @@ +From 9e28eac720176ecb9b784510d352aa0ac38d0b56 Mon Sep 17 00:00:00 2001 +From: Jack Lloyd <jack@randombit.net> +Date: Wed, 4 Oct 2017 13:59:21 -0400 +Subject: [PATCH] Add limits.h header for INT_MAX + +Gentoo bug https://bugs.gentoo.org/633468 +--- + src/lib/prov/openssl/openssl_mode.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/lib/prov/openssl/openssl_mode.cpp b/src/lib/prov/openssl/openssl_mode.cpp +index 9580bc9c5..fabaccb18 100644 +--- a/src/lib/prov/openssl/openssl_mode.cpp ++++ b/src/lib/prov/openssl/openssl_mode.cpp +@@ -10,6 +10,7 @@ + #include <botan/internal/rounding.h> + #include <botan/internal/openssl.h> + #include <openssl/evp.h> ++#include <limits.h> + + namespace Botan { + |