Hello community,

here is the log from the commit of package swift-im for openSUSE:Factory 
checked in at 2020-09-15 16:30:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/swift-im (Old)
 and      /work/SRC/openSUSE:Factory/.swift-im.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "swift-im"

Tue Sep 15 16:30:59 2020 rev:14 rq:834531 version:4.0.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/swift-im/swift-im.changes        2020-07-24 
10:00:44.829687222 +0200
+++ /work/SRC/openSUSE:Factory/.swift-im.new.4249/swift-im.changes      
2020-09-15 16:31:16.834768569 +0200
@@ -1,0 +2,6 @@
+Sat Sep 12 17:02:10 UTC 2020 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Add upstream patch to fix build with recent Boost versions:
+  * 0001-Avoid-deprecated-boost-endianess-include.patch
+
+-------------------------------------------------------------------

New:
----
  0001-Avoid-deprecated-boost-endianess-include.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ swift-im.spec ++++++
--- /var/tmp/diff_new_pack.1mmD7X/_old  2020-09-15 16:31:18.662770319 +0200
+++ /var/tmp/diff_new_pack.1mmD7X/_new  2020-09-15 16:31:18.666770323 +0200
@@ -36,6 +36,8 @@
 Patch1:         swift-im-boost-tribool.patch
 # PATCH-FIX-UPSTREAM
 Patch2:         0001-Fix-build-with-Qt-5.15.patch
+# PATCH-FIX-UPSTREAM
+Patch3:         0001-Avoid-deprecated-boost-endianess-include.patch
 BuildRequires:  desktop-file-utils
 BuildRequires:  docbook-dtds
 BuildRequires:  fdupes

++++++ 0001-Avoid-deprecated-boost-endianess-include.patch ++++++
>From c949192306f1690f5cd12ce336853e5ceb4a684f Mon Sep 17 00:00:00 2001
From: Miroslaw Stein <miroslaw.st...@isode.com>
Date: Fri, 18 Jan 2019 14:30:24 +0000
Subject: [PATCH] Avoid deprecated boost endianess include

As of Boost 1.69.0, boost/detail/endian.h is deprecated in favour of
boost/predef/other/endian.h, and BOOST_(LITTLE|BIG)_ENDIAN by
BOOST_ENDIAN_(LITTLE|BIG)_BYTE.

Test-Information:

Unit tests pass on Debian 9

Change-Id: If7076c559a4e35219ff97603f50b80cfbe05b29b
---
 Swiften/Base/Platform.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Swiften/Base/Platform.h b/Swiften/Base/Platform.h
index 4deba2b..22dff30 100644
--- a/Swiften/Base/Platform.h
+++ b/Swiften/Base/Platform.h
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2019 Isode Limited.
  * All rights reserved.
  * See the COPYING file for more information.
  */
@@ -43,9 +43,9 @@
 #endif
 
 // Endianness
-#include <boost/detail/endian.hpp>
-#if defined(BOOST_LITTLE_ENDIAN)
+#include <boost/predef/other/endian.h>
+#if defined(BOOST_ENDIAN_LITTLE_BYTE)
 #define SWIFTEN_LITTLE_ENDIAN
-#elif defined(BOOST_BIG_ENDIAN)
+#elif defined(BOOST_ENDIAN_BIG_BYTE)
 #define SWIFTEN_BIG_ENDIAN
 #endif
-- 
2.28.0




Reply via email to