summaryrefslogtreecommitdiff
path: root/packages/net-im/swiften/files/sconstruct.patch
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-07-26 11:26:17 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-07-26 11:26:17 +0300
commit6e570b14162acad4add0f1ec87bbd44e389296a7 (patch)
tree412ce2cb9a803dea622924ece3ff65af545cf7dd /packages/net-im/swiften/files/sconstruct.patch
parentf08b16999d355208168f1ef113e12c30947931c0 (diff)
swiften: build fix
Diffstat (limited to 'packages/net-im/swiften/files/sconstruct.patch')
-rw-r--r--packages/net-im/swiften/files/sconstruct.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/net-im/swiften/files/sconstruct.patch b/packages/net-im/swiften/files/sconstruct.patch
new file mode 100644
index 0000000..963ffd1
--- /dev/null
+++ b/packages/net-im/swiften/files/sconstruct.patch
@@ -0,0 +1,13 @@
+diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct
+index 6d63d5bcf..a2ad4fd7a 100644
+--- a/BuildTools/SCons/SConstruct
++++ b/BuildTools/SCons/SConstruct
+@@ -242,7 +242,7 @@ elif not env.get("boost_bundled_enable", True) :
+ Exit(1)
+ else :
+ env["BOOST_BUNDLED"] = True
+-boost_version = GetVersion(conf, "BOOST_VERSION", "boost/version.hpp")
++boost_version = 106500
+ if boost_version == 106400 :
+ #Version 1.64 has some issues with the serialization of boost::optional, see https://svn.boost.org/trac10/ticket/13050
+ env["BOOST_1_64_DETECTED"] = True