aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2012-07-05 23:05:58 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2012-07-05 23:13:43 +0000
commitccf2e853a1f4039d008e758138e80fa09e4f6f12 (patch)
treec08838ced67294c61c474dd913b3bfcf53f8157b /contrib
parent971a6e53a155c5a78c5d273dccc7c0c51c670d07 (diff)
downloadbitcoin-ccf2e853a1f4039d008e758138e80fa09e4f6f12.tar.xz
Update Debian "Use system json-spirit" patch to apply
("Fixed" upstream in 3563824c602cb2b42cc21970935f45ce646c3964)
Diffstat (limited to 'contrib')
-rw-r--r--contrib/debian/patches/1001_use_system_json-spirit.patch48
1 files changed, 39 insertions, 9 deletions
diff --git a/contrib/debian/patches/1001_use_system_json-spirit.patch b/contrib/debian/patches/1001_use_system_json-spirit.patch
index 56a20af38c..307dfc8d49 100644
--- a/contrib/debian/patches/1001_use_system_json-spirit.patch
+++ b/contrib/debian/patches/1001_use_system_json-spirit.patch
@@ -1,10 +1,10 @@
Description: Use system JSON Spirit library
Author: Jonas Smedegaard <dr@jones.dk>
-Last-Update: 2011-05-17
---- a/src/rpc.cpp
-+++ b/src/rpc.cpp
-@@ -12,9 +12,7 @@
- #include <boost/asio/ssl.hpp>
+Last-Update: 2012-07-05
+--- a/src/bitcoinrpc.cpp
++++ b/src/bitcoinrpc.cpp
+@@ -20,9 +20,7 @@
+ #include <boost/filesystem/fstream.hpp>
typedef boost::asio::ssl::stream<boost::asio::ip::tcp::socket> SSLStream;
#endif
-#include "json/json_spirit_reader_template.h"
@@ -16,11 +16,41 @@ Last-Update: 2011-05-17
// precompiled in headers.h. The problem might be when the pch file goes over
--- a/src/makefile.unix
+++ b/src/makefile.unix
-@@ -23,6 +23,7 @@
- -l boost_thread \
- -l db_cxx \
+@@ -29,6 +29,7 @@ LIBS += \
+ -l boost_thread$(BOOST_LIB_SUFFIX) \
+ -l db_cxx$(BDB_LIB_SUFFIX) \
-l ssl \
+ -l json_spirit \
-l crypto
- ifdef USE_UPNP
+ ifndef USE_UPNP
+--- a/src/rpcdump.cpp
++++ b/src/rpcdump.cpp
+@@ -15,9 +15,8 @@
+ // typedef boost::asio::ssl::stream<boost::asio::ip::tcp::socket> SSLStream;
+ // #endif
+ // #include <boost/xpressive/xpressive_dynamic.hpp>
+-#include "json/json_spirit_reader_template.h"
+-#include "json/json_spirit_writer_template.h"
+-#include "json/json_spirit_utils.h"
++
++#include <json_spirit.h>
+
+ #define printf OutputDebugStringF
+
+--- a/src/test/rpc_tests.cpp
++++ b/src/test/rpc_tests.cpp
+@@ -1,11 +1,10 @@
+ #include <boost/test/unit_test.hpp>
+ #include <boost/foreach.hpp>
+
++#include <json_spirit.h>
++
+ #include "base58.h"
+ #include "util.h"
+-#include "json/json_spirit_reader_template.h"
+-#include "json/json_spirit_writer_template.h"
+-#include "json/json_spirit_utils.h"
+
+ using namespace std;
+ using namespace json_spirit;