From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2D832158012 for ; Tue, 21 Sep 2021 18:44:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 80706E0798; Tue, 21 Sep 2021 18:44:36 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4E1B6E0798 for ; Tue, 21 Sep 2021 18:44:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0B814342EC3 for ; Tue, 21 Sep 2021 18:44:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 572C755 for ; Tue, 21 Sep 2021 18:44:33 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1632249824.bb0d4f0f8e79ae8fb203418417177378231497db.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: kde-plasma/kwin/, kde-plasma/kwin/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: kde-plasma/kwin/files/kwin-5.22.5-32bit.patch kde-plasma/kwin/files/kwin-5.22.5-libglvnd-1.3.4.patch kde-plasma/kwin/kwin-5.22.5.ebuild X-VCS-Directories: kde-plasma/kwin/ kde-plasma/kwin/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: bb0d4f0f8e79ae8fb203418417177378231497db X-VCS-Branch: master Date: Tue, 21 Sep 2021 18:44:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1ffed8c4-fc61-4019-855e-582819bb1dfb X-Archives-Hash: be2de53963453282eb1259122db9a48a commit: bb0d4f0f8e79ae8fb203418417177378231497db Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Sep 19 14:01:55 2021 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Sep 21 18:43:44 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb0d4f0f kde-plasma/kwin: Fix build on 32-bit Upstream commits: 38e24ecd6416a975db0989c21b70d6a4cc242f35 e26ea6bf2313c021db7e5ca5454cd8b1e2e2037f Bug: https://bugs.gentoo.org/810511 Bug: https://bugs.gentoo.org/813228 Package-Manager: Portage-3.0.23, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner gentoo.org> kde-plasma/kwin/files/kwin-5.22.5-32bit.patch | 29 ---------------------- .../kwin/files/kwin-5.22.5-libglvnd-1.3.4.patch | 6 ++++- kde-plasma/kwin/kwin-5.22.5.ebuild | 3 +-- 3 files changed, 6 insertions(+), 32 deletions(-) diff --git a/kde-plasma/kwin/files/kwin-5.22.5-32bit.patch b/kde-plasma/kwin/files/kwin-5.22.5-32bit.patch deleted file mode 100644 index 7c40b207ca8..00000000000 --- a/kde-plasma/kwin/files/kwin-5.22.5-32bit.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 38e24ecd6416a975db0989c21b70d6a4cc242f35 Mon Sep 17 00:00:00 2001 -From: Andreas Sturmlechner -Date: Wed, 15 Sep 2021 19:06:23 +0200 -Subject: [PATCH] Fix build with 32-bit - -Follow-up to 839710201c389b7f4ed248cb3818e755a37ce977 - -Tested-by: David Flogeras -Signed-off-by: Andreas Sturmlechner ---- - src/plugins/platforms/x11/common/eglonxbackend.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/plugins/platforms/x11/common/eglonxbackend.cpp b/src/plugins/platforms/x11/common/eglonxbackend.cpp -index d2900c7c3..c8acefe82 100644 ---- a/src/plugins/platforms/x11/common/eglonxbackend.cpp -+++ b/src/plugins/platforms/x11/common/eglonxbackend.cpp -@@ -214,7 +214,7 @@ EGLSurface EglOnXBackend::createSurface(xcb_window_t window) - } - - // Window is 64 bits on a 64-bit architecture whereas xcb_window_t is always 32 bits. -- unsigned long nativeWindow = window; -+ uintptr_t nativeWindow = window; - - EGLSurface surface = EGL_NO_SURFACE; - if (havePlatformBase()) { --- -2.33.0 - diff --git a/kde-plasma/kwin/files/kwin-5.22.5-libglvnd-1.3.4.patch b/kde-plasma/kwin/files/kwin-5.22.5-libglvnd-1.3.4.patch index bdca6e2081b..6db52bdd749 100644 --- a/kde-plasma/kwin/files/kwin-5.22.5-libglvnd-1.3.4.patch +++ b/kde-plasma/kwin/files/kwin-5.22.5-libglvnd-1.3.4.patch @@ -8,6 +8,10 @@ EGL_NO_PLATFORM_SPECIFIC_TYPES, EGLNativeWindowType is defined as an opaque pointer, i.e. void*. BUG: 440372 + +* asturm 2021-09-21: Merged with upstream commits: +38e24ecd6416a975db0989c21b70d6a4cc242f35 "Fix build with 32-bit" +e26ea6bf2313c021db7e5ca5454cd8b1e2e2037f "Fix build on 32bit platforms" --- src/plugins/platforms/x11/common/eglonxbackend.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) @@ -21,7 +25,7 @@ index c62ec170d..d2900c7c3 100644 } + // Window is 64 bits on a 64-bit architecture whereas xcb_window_t is always 32 bits. -+ unsigned long nativeWindow = window; ++ Window nativeWindow = window; + EGLSurface surface = EGL_NO_SURFACE; if (havePlatformBase()) { diff --git a/kde-plasma/kwin/kwin-5.22.5.ebuild b/kde-plasma/kwin/kwin-5.22.5.ebuild index 2c65c2ef9f9..43b14d49330 100644 --- a/kde-plasma/kwin/kwin-5.22.5.ebuild +++ b/kde-plasma/kwin/kwin-5.22.5.ebuild @@ -104,8 +104,7 @@ PDEPEND=" " PATCHES=( - "${FILESDIR}/${P}-libglvnd-1.3.4.patch" # KDE-bug 440372, bug 810511 - "${FILESDIR}/${P}-32bit.patch" # bug 813228 + "${FILESDIR}/${P}-libglvnd-1.3.4.patch" # KDE-bug 440372, bugs 810511, 813228 ) src_prepare() {