summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2016-12-01 21:07:58 +0200
committerAlon Bar-Lev <alonbl@gentoo.org>2016-12-01 21:09:18 +0200
commit14ab24951ea392b9e8c62aa3441ac050d6ecdf58 (patch)
treec9939bef3a733ba8b2e914258f8fc8a633d7686f /dev-libs/botan/files
parentdev-games/tiled: version bump to 0.17.2 (diff)
downloadgentoo-14ab24951ea392b9e8c62aa3441ac050d6ecdf58.tar.gz
gentoo-14ab24951ea392b9e8c62aa3441ac050d6ecdf58.tar.bz2
gentoo-14ab24951ea392b9e8c62aa3441ac050d6ecdf58.zip
dev-libs/botan: version bump
Bug: 601344 Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-libs/botan/files')
-rw-r--r--dev-libs/botan/files/botan-1.10.14-build.patch26
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
+