From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/qdevicemonitor/, dev-util/qdevicemonitor/files/
Date: Sat, 11 Jul 2020 16:21:51 +0000 (UTC) [thread overview]
Message-ID: <1594484492.20fec9d5384f9cb3108768fa481350ba9c463ad8.asturm@gentoo> (raw)
commit: 20fec9d5384f9cb3108768fa481350ba9c463ad8
Author: Alexander Lopatin <alopatindev <AT> gmail <DOT> com>
AuthorDate: Sat Jul 11 14:48:51 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jul 11 16:21:32 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20fec9d5
dev-util/qdevicemonitor: fix build with Qt 5.15
Closes: https://bugs.gentoo.org/732088
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alexander Lopatin <alopatindev <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16664
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
.../qdevicemonitor-1.0.1-endl-is-deprecated.patch | 27 ++++++++++++++++++++++
.../qdevicemonitor/qdevicemonitor-1.0.1-r2.ebuild | 1 +
2 files changed, 28 insertions(+)
diff --git a/dev-util/qdevicemonitor/files/qdevicemonitor-1.0.1-endl-is-deprecated.patch b/dev-util/qdevicemonitor/files/qdevicemonitor-1.0.1-endl-is-deprecated.patch
new file mode 100644
index 00000000000..27acb5d8ffb
--- /dev/null
+++ b/dev-util/qdevicemonitor/files/qdevicemonitor-1.0.1-endl-is-deprecated.patch
@@ -0,0 +1,27 @@
+From 9808ae3279e5816dcc85cf8f21158ecf842dc185 Mon Sep 17 00:00:00 2001
+From: Alexander Lopatin <alopatindev@gmail.com>
+Date: Sat, 11 Jul 2020 03:18:14 +0300
+Subject: [PATCH] Fix "dev-util/qdevicemonitor-1.0.1-r2 : main.cpp: error:
+ QTextStream& QTextStreamFunctions::endl(QTextStream&) is deprecated: Use
+ Qt::endl [-Werror=deprecated-declarations]" https://bugs.gentoo.org/732088
+
+---
+ qdevicemonitor/main.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/qdevicemonitor/main.cpp b/qdevicemonitor/main.cpp
+index 46f80a5..9d3fe73 100644
+--- a/qdevicemonitor/main.cpp
++++ b/qdevicemonitor/main.cpp
+@@ -43,7 +43,7 @@ void logOutput(QtMsgType type, const QMessageLogContext& context, const QString&
+ << ")";
+ }
+
+- out << endl;
++ out << Qt::endl;
+ }
+
+ int main(int argc, char* argv[])
+--
+2.26.2
+
diff --git a/dev-util/qdevicemonitor/qdevicemonitor-1.0.1-r2.ebuild b/dev-util/qdevicemonitor/qdevicemonitor-1.0.1-r2.ebuild
index fd543ed3980..9debed76181 100644
--- a/dev-util/qdevicemonitor/qdevicemonitor-1.0.1-r2.ebuild
+++ b/dev-util/qdevicemonitor/qdevicemonitor-1.0.1-r2.ebuild
@@ -31,6 +31,7 @@ PATCHES=(
"${FILESDIR}"/${P}-qt-5.11.patch
"${FILESDIR}"/${P}-crash-after-fresh-install.patch
"${FILESDIR}"/${P}-screen-geometry-is-deprecated.patch
+ "${FILESDIR}"/${P}-endl-is-deprecated.patch
)
src_configure() {
next reply other threads:[~2020-07-11 16:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-11 16:21 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-02-13 10:39 [gentoo-commits] repo/gentoo:master commit in: dev-util/qdevicemonitor/, dev-util/qdevicemonitor/files/ Matthew Smith
2024-02-01 14:15 Joonas Niilola
2025-01-15 17:20 Andreas Sturmlechner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1594484492.20fec9d5384f9cb3108768fa481350ba9c463ad8.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox