* [gentoo-commits] repo/gentoo:master commit in: dev-qt/qtbluetooth/, dev-qt/qtbluetooth/files/
@ 2020-03-16 21:29 Andreas Sturmlechner
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Sturmlechner @ 2020-03-16 21:29 UTC (permalink / raw
To: gentoo-commits
commit: 1b0016ad3a79aacb76423b81c01cfbc30cfd01e5
Author: Denis Pronin <dannftk <AT> yandex <DOT> ru>
AuthorDate: Mon Feb 17 16:05:04 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Mar 16 21:25:46 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b0016ad
dev-qt/qtbluetooth: fix build with with clang++ and libc++
Signed-off-by: Denis Pronin <dannftk <AT> yandex.ru>
Closes: https://github.com/gentoo/gentoo/pull/14686
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
.../files/qtbluetooth-5.14.1-errno.patch | 25 ++++++++++++++++++++++
dev-qt/qtbluetooth/qtbluetooth-5.14.1.ebuild | 2 ++
2 files changed, 27 insertions(+)
diff --git a/dev-qt/qtbluetooth/files/qtbluetooth-5.14.1-errno.patch b/dev-qt/qtbluetooth/files/qtbluetooth-5.14.1-errno.patch
new file mode 100644
index 00000000000..7f1ae712bd1
--- /dev/null
+++ b/dev-qt/qtbluetooth/files/qtbluetooth-5.14.1-errno.patch
@@ -0,0 +1,25 @@
+From 58e0224a6677667b1102b34ad5b35a787bd74077 Mon Sep 17 00:00:00 2001
+From: Denis Pronin <dannftk@yandex.ru>
+Date: Wed, 4 Mar 2020 00:59:07 +0300
+Subject: [PATCH] support building with clang and libc++
+
+fixed undefined errno when compiling with clang++ and libc++
+
+Change-Id: I30be6e2da36f9189261535f103ce689462634f49
+Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
+---
+ src/bluetooth/bluez/bluetoothmanagement.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/bluetooth/bluez/bluetoothmanagement.cpp b/src/bluetooth/bluez/bluetoothmanagement.cpp
+index 31d3dc02..b6ad93e5 100644
+--- a/src/bluetooth/bluez/bluetoothmanagement.cpp
++++ b/src/bluetooth/bluez/bluetoothmanagement.cpp
+@@ -51,6 +51,7 @@
+ #include <sys/types.h>
+ #include <linux/capability.h>
+
++#include <cerrno>
+
+ QT_BEGIN_NAMESPACE
+
diff --git a/dev-qt/qtbluetooth/qtbluetooth-5.14.1.ebuild b/dev-qt/qtbluetooth/qtbluetooth-5.14.1.ebuild
index 7ded615ebf5..6d4771dedd5 100644
--- a/dev-qt/qtbluetooth/qtbluetooth-5.14.1.ebuild
+++ b/dev-qt/qtbluetooth/qtbluetooth-5.14.1.ebuild
@@ -24,6 +24,8 @@ DEPEND="${RDEPEND}
~dev-qt/qtnetwork-${PV}
"
+PATCHES=( "${FILESDIR}/${P}-errno.patch" )
+
src_prepare() {
sed -i -e 's/nfc//' src/src.pro || die
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-qt/qtbluetooth/, dev-qt/qtbluetooth/files/
@ 2021-01-24 13:03 Andreas Sturmlechner
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Sturmlechner @ 2021-01-24 13:03 UTC (permalink / raw
To: gentoo-commits
commit: 478e273889d822398fe7e36860fbddd04729ec04
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 11 00:14:25 2021 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jan 24 13:03:13 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=478e2738
dev-qt/qtbluetooth: Fix build with GCC-11
Bug: https://bugs.gentoo.org/752012
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
.../qtbluetooth/files/qtbluetooth-5.15.2-gcc11.patch | 19 +++++++++++++++++++
dev-qt/qtbluetooth/qtbluetooth-5.15.2.ebuild | 3 +++
2 files changed, 22 insertions(+)
diff --git a/dev-qt/qtbluetooth/files/qtbluetooth-5.15.2-gcc11.patch b/dev-qt/qtbluetooth/files/qtbluetooth-5.15.2-gcc11.patch
new file mode 100644
index 00000000000..7c27730574b
--- /dev/null
+++ b/dev-qt/qtbluetooth/files/qtbluetooth-5.15.2-gcc11.patch
@@ -0,0 +1,19 @@
+From 0ae88b90f857bfcc2d0ea33d16753d8eed5db9e1 Mon Sep 17 00:00:00 2001
+From: Jeff Law <law@redhat.com>
+Date: Oct 16 2020 20:08:46 +0000
+Subject: Add missing #include for gcc-11
+
+
+diff --git a/src/bluetooth/lecmaccalculator.cpp b/src/bluetooth/lecmaccalculator.cpp
+index b150466..507603c 100644
+--- a/src/bluetooth/lecmaccalculator.cpp
++++ b/src/bluetooth/lecmaccalculator.cpp
+@@ -38,6 +38,8 @@
+ ****************************************************************************/
+ #include "lecmaccalculator_p.h"
+
++#include <limits>
++
+ #include "bluez/bluez_data_p.h"
+
+ #include <QtCore/qbytearray.h>
diff --git a/dev-qt/qtbluetooth/qtbluetooth-5.15.2.ebuild b/dev-qt/qtbluetooth/qtbluetooth-5.15.2.ebuild
index 86342f95e59..f4571c977b8 100644
--- a/dev-qt/qtbluetooth/qtbluetooth-5.15.2.ebuild
+++ b/dev-qt/qtbluetooth/qtbluetooth-5.15.2.ebuild
@@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+
QT5_MODULE="qtconnectivity"
inherit qt5-build
@@ -24,6 +25,8 @@ DEPEND="${RDEPEND}
~dev-qt/qtnetwork-${PV}
"
+PATCHES=( "${FILESDIR}/${P}-gcc11.patch" ) # bug 752012
+
src_prepare() {
sed -i -e 's/nfc//' src/src.pro || die
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-24 13:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-16 21:29 [gentoo-commits] repo/gentoo:master commit in: dev-qt/qtbluetooth/, dev-qt/qtbluetooth/files/ Andreas Sturmlechner
-- strict thread matches above, loose matches on Subject: below --
2021-01-24 13:03 Andreas Sturmlechner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox