diff options
Diffstat (limited to 'packages/net-im/swiften/files')
-rw-r--r-- | packages/net-im/swiften/files/ranlib.patch | 12 | ||||
-rw-r--r-- | packages/net-im/swiften/files/sconstruct.patch | 13 |
2 files changed, 25 insertions, 0 deletions
diff --git a/packages/net-im/swiften/files/ranlib.patch b/packages/net-im/swiften/files/ranlib.patch new file mode 100644 index 0000000..c5978e8 --- /dev/null +++ b/packages/net-im/swiften/files/ranlib.patch @@ -0,0 +1,12 @@ +diff --git a/BuildTools/SCons/SConscript.boot b/BuildTools/SCons/SConscript.boot +index 3b21dde88..a226432e4 100644 +--- a/BuildTools/SCons/SConscript.boot ++++ b/BuildTools/SCons/SConscript.boot +@@ -158,6 +158,7 @@ env["PLATFORM_FLAGS"] = { + "LIBS": [], + "FRAMEWORKS": [], + } ++env["RANLIB"] = "ranlib" + + # Default custom tools + env.Tool("Test", toolpath = ["#/BuildTools/SCons/Tools"]) 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 |