diff options
Diffstat (limited to 'testing/namecoin/31-set-default-env-function.patch')
-rw-r--r-- | testing/namecoin/31-set-default-env-function.patch | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/testing/namecoin/31-set-default-env-function.patch b/testing/namecoin/31-set-default-env-function.patch index 6615ffb3b..9af0446cf 100644 --- a/testing/namecoin/31-set-default-env-function.patch +++ b/testing/namecoin/31-set-default-env-function.patch @@ -1,19 +1,19 @@ ---- namecoin-vQ.3.72/src/init.cpp -+++ namecoin-vQ.3.72/src/init.cpp -@@ -98,6 +98,10 @@ +--- namecoin-nc*/src/init.cpp ++++ namecoin-nc*/src/init.cpp +@@ -99,6 +99,10 @@ #ifndef GUI int main(int argc, char* argv[]) { + #ifndef WIN32 -+ SetupEnvironment(); ++ SetupEnvironment(); + #endif + bool fRet = false; fRet = AppInit(argc, argv); - ---- namecoin-vQ.3.72/src/qt/bitcoin.cpp -+++ namecoin-vQ.3.72/src/qt/bitcoin.cpp -@@ -122,6 +122,10 @@ + +--- namecoin-nc*/src/qt/bitcoin.cpp ++++ namecoin-nc*/src/qt/bitcoin.cpp +@@ -124,6 +124,10 @@ #ifndef BITCOIN_QT_TEST int main(int argc, char *argv[]) { @@ -23,12 +23,12 @@ + // Command-line options take precedence: ParseParameters(argc, argv); - ---- namecoin-vQ.3.72/src/util.cpp -+++ namecoin-vQ.3.72/src/util.cpp -@@ -1101,3 +1101,20 @@ - else - return SoftSetArg(strArg, std::string("0")); + +--- namecoin-nc*/src/util.cpp ++++ namecoin-nc*/src/util.cpp +@@ -1114,3 +1114,20 @@ + } + return true; } + +#ifndef WIN32 @@ -47,15 +47,15 @@ + } +} +#endif ---- namecoin-vQ.3.72/src/util.h -+++ namecoin-vQ.3.72/src/util.h -@@ -198,6 +198,8 @@ +--- namecoin-nc0.3.76/src/util.h ++++ namecoin-nc0.3.76/src.new/util.h +@@ -211,6 +211,7 @@ + void RandAddSeed(); void RandAddSeedPerfmon(); +void SetupEnvironment(); -+ int OutputDebugStringF(const char* pszFormat, ...); int my_snprintf(char* buffer, size_t limit, const char* format, ...); - + |