summaryrefslogtreecommitdiff
path: root/dev-util/hfstospell
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-05-14 11:09:11 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-05-14 11:09:11 +0100
commitdeba8115d2c2af26df42966b91ef04ff4dd79cde (patch)
tree9a48f42594e1a9e6b2020d5535a784314434d7a7 /dev-util/hfstospell
parent38423c67c8a23f6a1bc42038193182e2da3116eb (diff)
gentoo resync : 14.05.2020
Diffstat (limited to 'dev-util/hfstospell')
-rw-r--r--dev-util/hfstospell/Manifest3
-rw-r--r--dev-util/hfstospell/files/hfstospell-0.5.1-gcc-10-fix.patch24
-rw-r--r--dev-util/hfstospell/hfstospell-0.5.1.ebuild4
3 files changed, 29 insertions, 2 deletions
diff --git a/dev-util/hfstospell/Manifest b/dev-util/hfstospell/Manifest
index 59c33314f745..748a71c2b04e 100644
--- a/dev-util/hfstospell/Manifest
+++ b/dev-util/hfstospell/Manifest
@@ -1,3 +1,4 @@
+AUX hfstospell-0.5.1-gcc-10-fix.patch 935 BLAKE2B fdfb569d85a19b1ad939984b74b6857ae71527967a88c6be58baf6b281fe46a7fa33504387f2f344faa4bf1c03272e8760fd3b5939a8cef8d977ff1f16f55583 SHA512 73527efa09cb17a5941ac3b2f89525e45d817621dfd7eb2f6ecfa3d77e1327214234b8736d53782b3f2e593c57d94ffbe9302aeae041472e7ea99d8a2400bcf3
DIST hfstospell-0.5.1.tar.gz 152056 BLAKE2B fa589908312bd4a4b40b88b221ee5f6bdc281d6151984a87b237372b0141157db87b3494e357d74a17f0ee137fd5ce35ec8caddb12d5bffe15930a74345cd3ee SHA512 bd8ffdd3ee822da2a57a3405b139ec1e635dc8bb293dbd9abd05912b8929df29633304e64b97522e4590a3907ddfa3aefec3e4da5ab709b9be1857cc2ecd2018
-EBUILD hfstospell-0.5.1.ebuild 587 BLAKE2B e85e3adb9a33c8123772005515498f2f61672e655b4fba4b38201d99588981102f24be389390a6cf80c0bf8fc7de1c15c82ea2a7c2391fd3803195d104096703 SHA512 bccd2ef9d8457aac8d7e24c702250ec3fc2fa80f84074cb30492a35d009723f76ce50c540e663b80b8681eee5c2871f2a1f586d256a24f789c0ab3fc723b6e42
+EBUILD hfstospell-0.5.1.ebuild 648 BLAKE2B be0ed9c56240793322ab387f3666e673efdaaed6ca7aa261c765f4583c6bfff9768b312823a362574ef85ad0e0f930c54e7a5c3fa1241acf6d2b6cc392c87634 SHA512 c588bcdecd51bf6bd6252c2fa0e8261d4610441a5c96b3e6470e8cf2925f48ee79012718d901bf2308440948395a74e430e437130b7779156ba7da729bb6106a
MISC metadata.xml 254 BLAKE2B 938f68b7b21ad386a35540a09e4bb956e241dfc963d4823c3c0cd46d3449ff4fb5a1cead67ad7c35a460503d30bdbde35822535f1c2d46f2939ee190f328b846 SHA512 26047ebb40fc49bfb4393121c5c5af69caee617a1d75676be84b0f5af75564828aeeef4503c7681eaaf7e48f6c662574874336296c18e002dca8e925162a1d4c
diff --git a/dev-util/hfstospell/files/hfstospell-0.5.1-gcc-10-fix.patch b/dev-util/hfstospell/files/hfstospell-0.5.1-gcc-10-fix.patch
new file mode 100644
index 000000000000..0998beebe7d7
--- /dev/null
+++ b/dev-util/hfstospell/files/hfstospell-0.5.1-gcc-10-fix.patch
@@ -0,0 +1,24 @@
+From a9d5afb14aa71893f142dfd3ae735e8930aa0f8a Mon Sep 17 00:00:00 2001
+From: Martin Liska <mliska@suse.cz>
+Date: Mon, 16 Mar 2020 11:32:10 +0100
+Subject: [PATCH] Fix a typo in wide string conversion function (#49).
+
+Revert a hunk from:
+04e4843e4c66beb61b756f3ceb2ac94628142185.
+---
+ main.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/main.cc b/main.cc
+index abecf46..e4fd676 100644
+--- a/main.cc
++++ b/main.cc
+@@ -61,7 +61,7 @@ static bool suggest_reals = false;
+ #ifdef WINDOWS
+ static std::string wide_string_to_string(const std::wstring & wstr)
+ {
+- int size_needed = WideCharToMultiByte(CP_UTF8, 0, &wstr[0], (int)§wstr.size(), NULL, 0, NULL, NULL);
++ int size_needed = WideCharToMultiByte(CP_UTF8, 0, &wstr[0], (int)wstr.size(), NULL, 0, NULL, NULL);
+ std::string str( size_needed, 0 );
+ WideCharToMultiByte(CP_UTF8, 0, &wstr[0], (int)wstr.size(), &str[0], size_needed, NULL, NULL);
+ return str;
diff --git a/dev-util/hfstospell/hfstospell-0.5.1.ebuild b/dev-util/hfstospell/hfstospell-0.5.1.ebuild
index 84452334ab9f..bf47865439b9 100644
--- a/dev-util/hfstospell/hfstospell-0.5.1.ebuild
+++ b/dev-util/hfstospell/hfstospell-0.5.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -22,6 +22,8 @@ BDEPEND="virtual/pkgconfig"
S="${WORKDIR}/hfst-ospell-${PV}"
+PATCHES=( "${FILESDIR}/hfstospell-0.5.1-gcc-10-fix.patch" )
+
src_prepare() {
default
eautoreconf