swiften: rebuild for boost-1.80
This commit is contained in:
parent
5f9ea12be0
commit
c912845d96
3 changed files with 28 additions and 2 deletions
15
srcpkgs/swiften/patches/boost-endian.patch
Normal file
15
srcpkgs/swiften/patches/boost-endian.patch
Normal file
|
@ -0,0 +1,15 @@
|
|||
--- a/Swiften/Base/Platform.h
|
||||
+++ b/Swiften/Base/Platform.h
|
||||
@@ -43,9 +43,9 @@
|
||||
#endif
|
||||
|
||||
// Endianness
|
||||
-#include <boost/detail/endian.hpp>
|
||||
-#if defined(BOOST_LITTLE_ENDIAN)
|
||||
+#include <boost/predef/other/endian.h>
|
||||
+#if BOOST_ENDIAN_LITTLE_BYTE
|
||||
#define SWIFTEN_LITTLE_ENDIAN
|
||||
-#elif defined(BOOST_BIG_ENDIAN)
|
||||
+#elif BOOST_ENDIAN_BIG_BYTE
|
||||
#define SWIFTEN_BIG_ENDIAN
|
||||
#endif
|
11
srcpkgs/swiften/patches/std.patch
Normal file
11
srcpkgs/swiften/patches/std.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- a/Swift/Controllers/ShowProfileController.h
|
||||
+++ b/Swift/Controllers/ShowProfileController.h
|
||||
@@ -18,6 +18,8 @@
|
||||
|
||||
#include <Swift/Controllers/UIEvents/UIEvent.h>
|
||||
|
||||
+#include <map>
|
||||
+
|
||||
namespace Swift {
|
||||
class VCardManager;
|
||||
class ProfileWindow;
|
|
@ -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 <john@jrjrtech.com>"
|
||||
license="GPL-3.0-only"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue