diff --git a/srcpkgs/swiften/patches/boost-endian.patch b/srcpkgs/swiften/patches/boost-endian.patch new file mode 100644 index 00000000000..1cd2c2fb481 --- /dev/null +++ b/srcpkgs/swiften/patches/boost-endian.patch @@ -0,0 +1,15 @@ +--- a/Swiften/Base/Platform.h ++++ b/Swiften/Base/Platform.h +@@ -43,9 +43,9 @@ + #endif + + // Endianness +-#include +-#if defined(BOOST_LITTLE_ENDIAN) ++#include ++#if BOOST_ENDIAN_LITTLE_BYTE + #define SWIFTEN_LITTLE_ENDIAN +-#elif defined(BOOST_BIG_ENDIAN) ++#elif BOOST_ENDIAN_BIG_BYTE + #define SWIFTEN_BIG_ENDIAN + #endif diff --git a/srcpkgs/swiften/patches/std.patch b/srcpkgs/swiften/patches/std.patch new file mode 100644 index 00000000000..9534e8a321d --- /dev/null +++ b/srcpkgs/swiften/patches/std.patch @@ -0,0 +1,11 @@ +--- a/Swift/Controllers/ShowProfileController.h ++++ b/Swift/Controllers/ShowProfileController.h +@@ -18,6 +18,8 @@ + + #include + ++#include ++ + namespace Swift { + class VCardManager; + class ProfileWindow; diff --git a/srcpkgs/swiften/template b/srcpkgs/swiften/template index 969ef1eb5d7..9014153a881 100644 --- a/srcpkgs/swiften/template +++ b/srcpkgs/swiften/template @@ -1,11 +1,11 @@ # Template file for 'swiften' pkgname=swiften version=4.0.3 -revision=2 +revision=3 wrksrc="swift-${version}" hostmakedepends="scons pkg-config" makedepends="boost-devel openssl-devel libxml2-devel libidn-devel - lua51-devel miniupnpc-devel sqlite-devel" + lua51-devel miniupnpc-devel sqlite-devel hunspell-devel" short_desc="XMPP library for C++" maintainer="John Regan " license="GPL-3.0-only"