diff options
author | Stuart Cardall <developer@it-offshore.co.uk> | 2014-06-24 22:42:15 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-06-25 14:48:50 +0000 |
commit | 23416aa0131a4ac39a11b5d97497564003138966 (patch) | |
tree | bb2ff12f1d963ce0ef79231a380660e427daca38 /testing/namecoin/30-set-default-env.patch | |
parent | 0e05b58d1e8dfe579949be7ab83b4ba698214bf3 (diff) | |
download | aports-23416aa0131a4ac39a11b5d97497564003138966.tar.bz2 aports-23416aa0131a4ac39a11b5d97497564003138966.tar.xz |
testing/namecoin: update to 0.3.75 +QT5
Also patched to build with QT5
Diffstat (limited to 'testing/namecoin/30-set-default-env.patch')
-rw-r--r-- | testing/namecoin/30-set-default-env.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/testing/namecoin/30-set-default-env.patch b/testing/namecoin/30-set-default-env.patch deleted file mode 100644 index 5ff0162dc9..0000000000 --- a/testing/namecoin/30-set-default-env.patch +++ /dev/null @@ -1,38 +0,0 @@ ---- a/src/init.cpp -+++ b/src/init.cpp -@@ -98,6 +98,16 @@ - #ifndef GUI - int main(int argc, char* argv[]) - { -+ #ifndef WIN32 -+ try -+ { -+ boost::filesystem::path::codecvt(); // Raises runtime error if current locale is invalid -+ } catch(std::runtime_error &e) -+ { -+ setenv("LC_ALL", "C", 1); // Force C locale -+ } -+ #endif -+ - bool fRet = false; - fRet = AppInit(argc, argv); - ---- a/src/qt/bitcoin.cpp -+++ b/src/qt/bitcoin.cpp -@@ -122,6 +122,16 @@ - #ifndef BITCOIN_QT_TEST - int main(int argc, char *argv[]) - { -+ #ifndef WIN32 -+ try -+ { -+ boost::filesystem::path::codecvt(); // Raises runtime error if current locale is invalid -+ } catch(std::runtime_error &e) -+ { -+ setenv("LC_ALL", "C", 1); // Force C locale -+ } -+ #endif -+ - // Command-line options take precedence: - ParseParameters(argc, argv); - |