diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-04-22 19:39:51 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-04-22 19:39:51 +0200 |
commit | 1e392ea7a0d1504f701f9fed1492e64a78a65339 (patch) | |
tree | 4424d7f68137656ea2d15eb8d3a318c023dd6a9e /libcdr | |
parent | 41d2b58b1ed5c1c4a1ca6ab3e6d7c4f15874d3a3 (diff) |
Trying to avoid linking with boost on Windows
Change-Id: Ic0c538dfad88f850d95f417f2741ef7dba7fc5e4
Diffstat (limited to 'libcdr')
-rw-r--r-- | libcdr/UnpackedTarball_cdr.mk | 6 | ||||
-rw-r--r-- | libcdr/libcdr-0.0.13.patch | 12 |
2 files changed, 18 insertions, 0 deletions
diff --git a/libcdr/UnpackedTarball_cdr.mk b/libcdr/UnpackedTarball_cdr.mk index be1e7d762a87..a4a427d4ca21 100644 --- a/libcdr/UnpackedTarball_cdr.mk +++ b/libcdr/UnpackedTarball_cdr.mk @@ -11,4 +11,10 @@ $(eval $(call gb_UnpackedTarball_UnpackedTarball,cdr)) $(eval $(call gb_UnpackedTarball_set_tarball,cdr,$(CDR_TARBALL))) +$(eval $(call gb_UnpackedTarball_set_patchlevel,cdr,1)) + +$(eval $(call gb_UnpackedTarball_add_patches,cdr,\ + libcdr/libcdr-0.0.13.patch \ +)) + # vim: set noet sw=4 ts=4: diff --git a/libcdr/libcdr-0.0.13.patch b/libcdr/libcdr-0.0.13.patch new file mode 100644 index 000000000000..29b2b2828177 --- /dev/null +++ b/libcdr/libcdr-0.0.13.patch @@ -0,0 +1,12 @@ +--- a/src/lib/CDRParser.cpp ++++ b/src/lib/CDRParser.cpp +@@ -32,6 +32,9 @@ + #include <string.h> + #include <sstream> + #include <set> ++#ifndef BOOST_ALL_NO_LIB ++#define BOOST_ALL_NO_LIB 1 ++#endif + #include <boost/property_tree/json_parser.hpp> + #include <boost/property_tree/ptree.hpp> + #include <boost/spirit/include/classic.hpp> |