diff --git a/app-text/libnumbertext/libnumbertext-1.0.5.recipe b/app-text/libnumbertext/libnumbertext-1.0.6.recipe similarity index 92% rename from app-text/libnumbertext/libnumbertext-1.0.5.recipe rename to app-text/libnumbertext/libnumbertext-1.0.6.recipe index 811de01e6..16ac0032b 100644 --- a/app-text/libnumbertext/libnumbertext-1.0.5.recipe +++ b/app-text/libnumbertext/libnumbertext-1.0.6.recipe @@ -3,12 +3,12 @@ DESCRIPTION="Numbertext can convert numbers to their names, including cardinal \ and ordinal numbers, ordinal indicators and money amounts with currencies in \ more than 40 languages and numeral systems." HOMEPAGE="https://numbertext.org/" -COPYRIGHT="2009–2018 László Németh et al." +COPYRIGHT="2009–2020 László Németh et al." LICENSE="BSD (3-clause)" REVISION="1" SOURCE_URI="https://github.com/Numbertext/libnumbertext/archive/$portVersion.tar.gz" SOURCE_FILENAME="libnumbertext-$portVersion.tar.gz" -CHECKSUM_SHA256="508f259325efc25705e27ca1bafe487aa0b8b0f5cc3bf77cb2d53ce7f119c380" +CHECKSUM_SHA256="d03860c98ec01bc52a2a65f04b1fc4c7e7823c76d54dec800ca32ab2196023bc" PATCHES="libnumbertext-$portVersion.patchset" ARCHITECTURES="!x86_gcc2 x86_64" diff --git a/app-text/libnumbertext/patches/libnumbertext-1.0.5.patchset b/app-text/libnumbertext/patches/libnumbertext-1.0.6.patchset similarity index 69% rename from app-text/libnumbertext/patches/libnumbertext-1.0.5.patchset rename to app-text/libnumbertext/patches/libnumbertext-1.0.6.patchset index 8f720b187..b761e99cf 100644 --- a/app-text/libnumbertext/patches/libnumbertext-1.0.5.patchset +++ b/app-text/libnumbertext/patches/libnumbertext-1.0.6.patchset @@ -4,21 +4,8 @@ Date: Fri, 3 Aug 2018 20:05:18 +0200 Subject: Haiku support -diff --git a/src/Numbertext.cxx b/src/Numbertext.cxx -index 3527797..fd6a4e9 100644 ---- a/src/Numbertext.cxx -+++ b/src/Numbertext.cxx -@@ -24,7 +24,7 @@ bool readfile(const std::string& filename, std::wstring& result) - std::wifstream wif(filename); - if (wif.fail()) - return false; --#ifdef _MSC_VER -+#if defined _MSC_VER || defined __HAIKU__ - wif.imbue(std::locale(std::locale(), new std::codecvt_utf8)); - #else - wif.imbue(std::locale("en_US.UTF-8")); diff --git a/src/spellout.cxx b/src/spellout.cxx -index bcdfd83..d20bb91 100644 +index d287e66..7bd4aa8 100644 --- a/src/spellout.cxx +++ b/src/spellout.cxx @@ -1,6 +1,10 @@ @@ -48,5 +35,5 @@ index bcdfd83..d20bb91 100644 if (getenv(PATH)) paths.insert(paths.begin() + 1, std::string(getenv(PATH)) + "/"); -- -2.16.4 +2.28.0