Files
swift-im/swift-im-boost-tribool.patch
Michael Vetter 734dd2507c - Add swift-im-boost-tribool.patch: Fix for boost >= 1.69.0
- Remove deprecated libboost_signals-devel
  swift-im uses signal2 which is in libboost_headers-devel

- Add swift-4.0-qt5.11-includes.patch:
  Add includes explicitly, so it builds with Qt 5.11

- Remove filler wording and bias from descriptions.

- Add GPG checking
  * Add swift-4.0.tar.gz.asc
  * Add swift.keyring

- Update to version 4.0: 
  * New chat theme including a new font
  * Support for message carbons (XEP-0280)
  * Enabled trellis mode as a default feature, allowing several tiled chats windows to be shown at once
  * Redesigned keyword highlighting
  * Improve date formatting
  * Fix Last Message Correction in multi client scenarios
  * Fix UI layout issue for translations that require right-to-left (RTL) layout
  * Fix UX issues in trellis mode
  * Improvements to font size handling in the chat theme
  * Improved spell checker support on Linux
  * And assorted smaller features and usability enhancements

- Altering Swift/QtUI/SConscript is no longer required.

- Update to version 4RC3:
  * Fix crash in emoticon dialog

OBS-URL: https://build.opensuse.org/package/show/network:messaging:xmpp/swift-im?expand=0&rev=1
2022-03-10 13:29:10 +00:00

36 lines
1.7 KiB
Diff

From a2dc74cd0e4891037b97b6a782de80458675e4f0 Mon Sep 17 00:00:00 2001
From: Bruce Stephens <bruce.stephens@isode.com>
Date: Wed, 9 Jan 2019 16:21:20 +0000
Subject: [PATCH] Don't assume that tribool has an implicit bool conversion
In boost 1.68.0 the conversion is implicit, but in 1.69.0 it's
explicit and we must explicitly call it.
Change-Id: I24eb78be7510c89b88342d28c539cad4977f99fd
---
Swiften/Network/PlatformNATTraversalWorker.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Swiften/Network/PlatformNATTraversalWorker.cpp b/Swiften/Network/PlatformNATTraversalWorker.cpp
index af1204914f..041ad2defb 100644
--- a/Swiften/Network/PlatformNATTraversalWorker.cpp
+++ b/Swiften/Network/PlatformNATTraversalWorker.cpp
@@ -157,7 +157,7 @@ NATTraversalInterface* PlatformNATTraversalWorker::getNATTraversalInterface() co
miniUPnPInterface = new MiniUPnPInterface();
miniUPnPSupported = miniUPnPInterface->isAvailable();
}
- SWIFT_LOG(debug) << "UPnP NAT traversal supported: " << miniUPnPSupported << std::endl;
+ SWIFT_LOG(debug) << "UPnP NAT traversal supported: " << static_cast<bool>(miniUPnPSupported) << std::endl;
if (miniUPnPSupported) {
return miniUPnPInterface;
}
@@ -168,7 +168,7 @@ NATTraversalInterface* PlatformNATTraversalWorker::getNATTraversalInterface() co
natPMPInterface = new NATPMPInterface();
natPMPSupported = natPMPInterface->isAvailable();
}
- SWIFT_LOG(debug) << "NAT-PMP NAT traversal supported: " << natPMPSupported << std::endl;
+ SWIFT_LOG(debug) << "NAT-PMP NAT traversal supported: " << static_cast<bool>(natPMPSupported) << std::endl;
if (natPMPSupported) {
return natPMPInterface;
}