diff options
Diffstat (limited to 'dev-libs/botan/files')
-rw-r--r-- | dev-libs/botan/files/botan-1.10.14-build.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-libs/botan/files/botan-1.10.14-build.patch b/dev-libs/botan/files/botan-1.10.14-build.patch new file mode 100644 index 000000000000..73ee70be5a50 --- /dev/null +++ b/dev-libs/botan/files/botan-1.10.14-build.patch @@ -0,0 +1,26 @@ +From d8cb9d52a7e7e7e20cd371349583794e17fd0778 Mon Sep 17 00:00:00 2001 +From: Alon Bar-Lev <alon.barlev@gmail.com> +Date: Thu, 1 Dec 2016 20:50:35 +0200 +Subject: [PATCH] utils: safeint.h: use botan's to_string + +Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> +--- + src/utils/safeint.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/utils/safeint.h b/src/utils/safeint.h +index e0bd662..0a03e4e 100644 +--- a/src/utils/safeint.h ++++ b/src/utils/safeint.h +@@ -17,7 +17,7 @@ class Integer_Overflow_Detected : public Exception + { + public: + Integer_Overflow_Detected(const std::string& file, int line) : +- Exception("Integer overflow detected at " + file + ":" + std::to_string(line)) ++ Exception("Integer overflow detected at " + file + ":" + to_string(line)) + {} + }; + +-- +2.7.3 + |