From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-plasma/powerdevil/files/, kde-plasma/powerdevil/
Date: Mon, 3 Aug 2020 22:40:00 +0000 (UTC) [thread overview]
Message-ID: <1596494283.3b7756b18da54e4accf1d7ea94f8d3f6e48d29ff.asturm@gentoo> (raw)
commit: 3b7756b18da54e4accf1d7ea94f8d3f6e48d29ff
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 1 16:12:48 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Aug 3 22:38:03 2020 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=3b7756b1
kde-plasma/powerdevil: Fix build with app-misc/ddcutil-0.9.9
Reported-by: Stefano Crocco <stefano.crocco <AT> alice.it>
Thanks-to: Mike Lothian <mike <AT> fireburn.co.uk>
Closes: https://bugs.gentoo.org/734918
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
.../files/powerdevil-5.19.4-ddcutil-0.9.9.patch | 24 ++++++++++++++++++++++
.../powerdevil/powerdevil-5.19.49.9999.ebuild | 2 ++
2 files changed, 26 insertions(+)
diff --git a/kde-plasma/powerdevil/files/powerdevil-5.19.4-ddcutil-0.9.9.patch b/kde-plasma/powerdevil/files/powerdevil-5.19.4-ddcutil-0.9.9.patch
new file mode 100644
index 0000000000..3a1c4c3815
--- /dev/null
+++ b/kde-plasma/powerdevil/files/powerdevil-5.19.4-ddcutil-0.9.9.patch
@@ -0,0 +1,24 @@
+From fcb26be2fb279e6ad3b7b814d26a5921d16201eb Mon Sep 17 00:00:00 2001
+From: Johannes Jordan <kde@lanrules.de>
+Date: Mon, 29 Jun 2020 10:51:40 +0000
+Subject: [PATCH] Fix compilation with ddcutil 0.9.9
+
+---
+ daemon/backends/upower/ddcutilbrightness.cpp | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/daemon/backends/upower/ddcutilbrightness.cpp b/daemon/backends/upower/ddcutilbrightness.cpp
+index e712c05a..a75aac5c 100644
+--- a/daemon/backends/upower/ddcutilbrightness.cpp
++++ b/daemon/backends/upower/ddcutilbrightness.cpp
+@@ -56,7 +56,6 @@ void DDCutilBrightness::detect()
+
+ DDCA_Feature_List vcpList;
+ ddca_get_feature_list_by_dref(DDCA_SUBSET_COLOR, dh, false, &vcpList);
+- qCDebug(POWERDEVIL) << "ddca_feature_list: "<< ddca_feature_list_string(&vcpList, "0x", ",");
+ QVector<uint16_t> tmpVcpList;
+ for (int iVcp = 0; iVcp < m_usedVcp.count(); ++iVcp) {
+ DDCA_Non_Table_Vcp_Value returnValue;
+--
+GitLab
+
diff --git a/kde-plasma/powerdevil/powerdevil-5.19.49.9999.ebuild b/kde-plasma/powerdevil/powerdevil-5.19.49.9999.ebuild
index 5a68af2160..7db7d8ccb3 100644
--- a/kde-plasma/powerdevil/powerdevil-5.19.49.9999.ebuild
+++ b/kde-plasma/powerdevil/powerdevil-5.19.49.9999.ebuild
@@ -56,6 +56,8 @@ RDEPEND="${DEPEND}
>=sys-power/upower-0.9.23
"
+PATCHES=( "${FILESDIR}/${PN}-5.19.4-ddcutil-0.9.9.patch" ) # bug 734918
+
src_configure() {
local mycmakeargs=(
-DHAVE_DDCUTIL=$(usex brightness-control)
next reply other threads:[~2020-08-03 22:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-03 22:40 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-03-15 11:11 [gentoo-commits] proj/kde:master commit in: kde-plasma/powerdevil/files/, kde-plasma/powerdevil/ Michael Palimaka
2016-08-31 12:14 Michael Palimaka
2016-06-19 10:24 Michael Palimaka
2015-06-04 14:23 Michael Palimaka
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=1596494283.3b7756b18da54e4accf1d7ea94f8d3f6e48d29ff.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