From owner-dev-commits-ports-all@freebsd.org Fri Sep 10 04:33:29 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 485F767E622; Fri, 10 Sep 2021 04:33:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4H5NKh5wJbz4c9B; Fri, 10 Sep 2021 04:33:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8DE8E267D4; Fri, 10 Sep 2021 04:33:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 18A4XSAV064084; Fri, 10 Sep 2021 04:33:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 18A4XSAw064083; Fri, 10 Sep 2021 04:33:28 GMT (envelope-from git) Date: Fri, 10 Sep 2021 04:33:28 GMT Message-Id: <202109100433.18A4XSAw064083@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 8854151b5968 - main - x11-wm/plasma5-kwin: unbreak with libglvnd >= 1.3.4 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8854151b59681a4ce0b56939fa62b1ed060872ae Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2021 04:33:29 -0000 The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=8854151b59681a4ce0b56939fa62b1ed060872ae commit 8854151b59681a4ce0b56939fa62b1ed060872ae Author: Jan Beich AuthorDate: 2021-09-10 02:58:40 +0000 Commit: Jan Beich CommitDate: 2021-09-10 04:33:04 +0000 x11-wm/plasma5-kwin: unbreak with libglvnd >= 1.3.4 src/plugins/platforms/x11/common/eglonxbackend.cpp:227:66: error: cannot initialize a parameter of type 'EGLNativeWindowType' (aka 'void *') with an lvalue of type 'xcb_window_t' (aka 'unsigned int') surface = eglCreateWindowSurface(eglDisplay(), config(), window, nullptr); ^~~~~~ PR: 258269 Reported by: antoine (via exp-run) See also: https://bugs.gentoo.org/810511 --- x11-wm/plasma5-kwin/files/patch-bug440372 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/x11-wm/plasma5-kwin/files/patch-bug440372 b/x11-wm/plasma5-kwin/files/patch-bug440372 new file mode 100644 index 000000000000..21d46bf4ab96 --- /dev/null +++ b/x11-wm/plasma5-kwin/files/patch-bug440372 @@ -0,0 +1,18 @@ +https://bugs.kde.org/show_bug.cgi?id=440372 +Regressed by https://github.com/KhronosGroup/EGL-Registry/commit/4e5d0cb9d025 + +src/plugins/platforms/x11/common/eglonxbackend.cpp:227:66: error: cannot initialize a parameter of type 'EGLNativeWindowType' (aka 'void *') with an lvalue of type 'xcb_window_t' (aka 'unsigned int') + surface = eglCreateWindowSurface(eglDisplay(), config(), window, nullptr); + ^~~~~~ + +--- src/plugins/platforms/x11/common/eglonxbackend.cpp.orig 2021-08-31 11:41:03 UTC ++++ src/plugins/platforms/x11/common/eglonxbackend.cpp +@@ -6,6 +6,8 @@ + + SPDX-License-Identifier: GPL-2.0-or-later + */ ++#undef EGL_NO_PLATFORM_SPECIFIC_TYPES ++#define USE_X11 + #include "eglonxbackend.h" + // kwin + #include "main.h"