From: "Gilles Dartiguelongue" <eva@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/mutter/, x11-wm/mutter/files/
Date: Thu, 25 Jan 2018 08:36:07 +0000 (UTC) [thread overview]
Message-ID: <1516869352.2a06072d9ebea366e0057e14b14aa0f06e2ea2cb.eva@gentoo> (raw)
commit: 2a06072d9ebea366e0057e14b14aa0f06e2ea2cb
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 25 08:25:02 2018 +0000
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Thu Jan 25 08:35:52 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a06072d
x11-wm/mutter: fix build with USE=debug
Closes: https://bugs.gentoo.org/645412
Package-Manager: Portage-2.3.20, Repoman-2.3.6
x11-wm/mutter/files/3.24.4-build-debug.patch | 28 ++++++++++++++++++++++++++++
x11-wm/mutter/mutter-3.24.4.ebuild | 2 ++
2 files changed, 30 insertions(+)
diff --git a/x11-wm/mutter/files/3.24.4-build-debug.patch b/x11-wm/mutter/files/3.24.4-build-debug.patch
new file mode 100644
index 00000000000..6cb7b48856f
--- /dev/null
+++ b/x11-wm/mutter/files/3.24.4-build-debug.patch
@@ -0,0 +1,28 @@
+From c9937faf1e2c81005289e18974ed5d10b2dc37ab Mon Sep 17 00:00:00 2001
+From: Carlos Garnacho <carlosg@gnome.org>
+Date: Sat, 12 Aug 2017 11:52:28 +0200
+Subject: [PATCH] clutter: Fix build with --enable-debug
+
+Message was poking stage_x11, which doesn't exist in this context.
+Just print the Window that is receiving the event, the event will be
+emitted into the only existing stage anyway.
+---
+ clutter/clutter/x11/clutter-device-manager-xi2.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/clutter/clutter/x11/clutter-device-manager-xi2.c b/clutter/clutter/x11/clutter-device-manager-xi2.c
+index 1ecec02..da3457a 100644
+--- a/clutter/clutter/x11/clutter-device-manager-xi2.c
++++ b/clutter/clutter/x11/clutter-device-manager-xi2.c
+@@ -1160,7 +1160,7 @@ translate_pad_event (ClutterEvent *event,
+ event->any.type == CLUTTER_PAD_RING
+ ? "pad ring "
+ : "pad strip",
+- (unsigned int) stage_x11->xwin,
++ (unsigned int) xev->event,
+ device->id,
+ device->device_name,
+ event->any.time, value);
+--
+libgit2 0.26.0
+
diff --git a/x11-wm/mutter/mutter-3.24.4.ebuild b/x11-wm/mutter/mutter-3.24.4.ebuild
index 4f727d079a1..f52fd7fb8eb 100644
--- a/x11-wm/mutter/mutter-3.24.4.ebuild
+++ b/x11-wm/mutter/mutter-3.24.4.ebuild
@@ -83,6 +83,8 @@ RDEPEND="${COMMON_DEPEND}
PATCHES=(
# Fix build with >=gudev-232, bug #630312
"${FILESDIR}"/3.24.4-gudev-232.patch
+ # Fix build with USE=debug, bug #645412
+ "${FILESDIR}"/3.24.4-build-debug.patch
)
src_prepare() {
next reply other threads:[~2018-01-25 8:36 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-25 8:36 Gilles Dartiguelongue [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-12-18 10:19 [gentoo-commits] repo/gentoo:master commit in: x11-wm/mutter/, x11-wm/mutter/files/ Pacho Ramos
2023-08-16 22:32 Matt Turner
2023-05-07 12:39 Pacho Ramos
2023-01-03 14:08 Matt Turner
2022-05-31 18:24 Matt Turner
2021-07-26 7:15 Matt Turner
2020-11-07 15:23 Mart Raudsepp
2019-12-23 21:26 Mart Raudsepp
2019-11-23 21:41 Matt Turner
2019-09-06 21:47 Mart Raudsepp
2019-02-28 22:39 Mart Raudsepp
2017-09-12 22:04 Gilles Dartiguelongue
2015-11-26 10:51 Gilles Dartiguelongue
2015-10-03 9:05 Pacho Ramos
2015-10-03 9:04 Pacho Ramos
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=1516869352.2a06072d9ebea366e0057e14b14aa0f06e2ea2cb.eva@gentoo \
--to=eva@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