aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bitcoin/20-set-default-env.patch
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2014-06-24 22:11:48 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-06-25 14:46:04 +0000
commit0e05b58d1e8dfe579949be7ab83b4ba698214bf3 (patch)
tree8c1eceaf8f013fb003be277f818be4e05b30c0b2 /testing/bitcoin/20-set-default-env.patch
parentc1238794b6c5fdb908a474366e3565660213c6f9 (diff)
downloadaports-0e05b58d1e8dfe579949be7ab83b4ba698214bf3.tar.bz2
aports-0e05b58d1e8dfe579949be7ab83b4ba698214bf3.tar.xz
testing/bitcoin: update to 0.9.2.1
Environment patch removed as merged upstream as function SetupEnvironment() Init script added so Bitcoin runs as user Bitcoin.
Diffstat (limited to 'testing/bitcoin/20-set-default-env.patch')
-rw-r--r--testing/bitcoin/20-set-default-env.patch57
1 files changed, 0 insertions, 57 deletions
diff --git a/testing/bitcoin/20-set-default-env.patch b/testing/bitcoin/20-set-default-env.patch
deleted file mode 100644
index b9717abbc9..0000000000
--- a/testing/bitcoin/20-set-default-env.patch
+++ /dev/null
@@ -1,57 +0,0 @@
---- ./src/bitcoin-cli.cpp
-+++ ./src/bitcoin-cli.cpp
-@@ -53,6 +53,16 @@
-
- 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
-+
- try
- {
- if(!AppInitRPC(argc, argv))
---- ./src/bitcoind.cpp
-+++ ./src/bitcoind.cpp
-@@ -166,6 +166,16 @@
-
- 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;
-
- // Connect bitcoind signal handlers
---- ./src/qt/bitcoin.cpp.orig
-+++ ./src/qt/bitcoin.cpp
-@@ -445,6 +445,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
-+
- /// 1. Parse command-line options. These take precedence over anything else.
- // Command-line options take precedence:
- ParseParameters(argc, argv);