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 E0A8613835A for ; Sat, 26 Dec 2020 21:13:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2352EE0AF6; Sat, 26 Dec 2020 21:13:31 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F152FE0AF6 for ; Sat, 26 Dec 2020 21:13:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8EC09341307 for ; Sat, 26 Dec 2020 21:13:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 421D442F for ; Sat, 26 Dec 2020 21:13:28 +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: <1609017201.ca0df93ff051c586cd5002f3d55989e759ad2cc6.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/virtualgl/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/virtualgl/files/virtualgl-2.6.3-mesa-19.3.patch X-VCS-Directories: x11-misc/virtualgl/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: ca0df93ff051c586cd5002f3d55989e759ad2cc6 X-VCS-Branch: master Date: Sat, 26 Dec 2020 21:13:28 +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: 463e2af0-05d4-40db-ba6a-3283135c16c5 X-Archives-Hash: 062a088644bca28535cf270a5f8ecbb0 commit: ca0df93ff051c586cd5002f3d55989e759ad2cc6 Author: Michael Mair-Keimberger gmail com> AuthorDate: Thu Dec 24 08:57:15 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Dec 26 21:13:21 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca0df93f x11-misc/virtualgl: remove unused patch Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Michael Mair-Keimberger gmail.com> Closes: https://github.com/gentoo/gentoo/pull/18803 Signed-off-by: Andreas Sturmlechner gentoo.org> .../files/virtualgl-2.6.3-mesa-19.3.patch | 105 --------------------- 1 file changed, 105 deletions(-) diff --git a/x11-misc/virtualgl/files/virtualgl-2.6.3-mesa-19.3.patch b/x11-misc/virtualgl/files/virtualgl-2.6.3-mesa-19.3.patch deleted file mode 100644 index 6f45ba8a3ff..00000000000 --- a/x11-misc/virtualgl/files/virtualgl-2.6.3-mesa-19.3.patch +++ /dev/null @@ -1,105 +0,0 @@ -From faedcc1e36b4ed89a325e01822447900840a0b77 Mon Sep 17 00:00:00 2001 -From: DRC -Date: Thu, 13 Feb 2020 19:11:46 -0600 -Subject: [PATCH] Faker: Fix build issue w/ Mesa 19.3.0+ headers - -Mesa changed the signatures for glXGetTransparentIndexSUN() and -glXQueryGLXPbufferSGIX() to match the official GLX extension specs: -https://www.khronos.org/registry/OpenGL/extensions/SUN/GLX_SUN_get_transparent_index.txt -https://www.khronos.org/registry/OpenGL/extensions/SGIX/GLX_SGIX_pbuffer.txt - -Reference: -https://gitlab.freedesktop.org/mesa/mesa/commit/3dd299c3d5b88114894ec30d1fac85fba688201f - -Fixes #109 ---- - ChangeLog.md | 2 ++ - server/faker-glx.cpp | 14 +++++++++++++- - server/faker-sym.h | 8 +++++++- - 3 files changed, 22 insertions(+), 2 deletions(-) - -diff --git a/ChangeLog.md b/ChangeLog.md -index 8d092bd7..78391d06 100644 ---- a/ChangeLog.md -+++ b/ChangeLog.md -@@ -6,6 +6,8 @@ - 1. VirtualGL now works properly with 3D applications that use the - `glDrawBuffers()` function and render to the front buffer. - -+2. VirtualGL can now be built using the GLX headers from Mesa 19.3.0 and later. -+ - - 2.6.3 - ===== -diff --git a/server/faker-glx.cpp b/server/faker-glx.cpp -index faea37b6..6e7beb63 100644 ---- a/server/faker-glx.cpp -+++ b/server/faker-glx.cpp -@@ -1,6 +1,6 @@ - // Copyright (C)2004 Landmark Graphics Corporation - // Copyright (C)2005, 2006 Sun Microsystems, Inc. --// Copyright (C)2009, 2011-2019 D. R. Commander -+// Copyright (C)2009, 2011-2020 D. R. Commander - // - // This library is free software and may be redistributed and/or modified under - // the terms of the wxWindows Library License, Version 3.1 or (at your option) -@@ -2192,11 +2192,18 @@ void glXQueryDrawable(Display *dpy, GLXDrawable draw, int attribute, - CATCH(); - } - -+#if defined(GLX_GLXEXT_VERSION) && GLX_GLXEXT_VERSION >= 20190000 -+void glXQueryGLXPbufferSGIX(Display *dpy, GLXPbuffer pbuf, int attribute, -+ unsigned int *value) -+#else - int glXQueryGLXPbufferSGIX(Display *dpy, GLXPbuffer pbuf, int attribute, - unsigned int *value) -+#endif - { - glXQueryDrawable(dpy, pbuf, attribute, value); -+ #if !defined(GLX_GLXEXT_VERSION) || GLX_GLXEXT_VERSION < 20190000 - return 0; -+ #endif - } - - -@@ -2358,8 +2365,13 @@ void glXSwapBuffers(Display *dpy, GLXDrawable drawable) - - // Returns the transparent index from the overlay visual on the 2D X server - -+#if defined(GLX_GLXEXT_VERSION) && GLX_GLXEXT_VERSION >= 20190000 -+int glXGetTransparentIndexSUN(Display *dpy, Window overlay, Window underlay, -+ unsigned long *transparentIndex) -+#else - int glXGetTransparentIndexSUN(Display *dpy, Window overlay, Window underlay, - long *transparentIndex) -+#endif - { - int retval = False; - XWindowAttributes xwa; -diff --git a/server/faker-sym.h b/server/faker-sym.h -index b9aa30d0..0168ac7b 100644 ---- a/server/faker-sym.h -+++ b/server/faker-sym.h -@@ -1,6 +1,6 @@ - // Copyright (C)2004 Landmark Graphics Corporation - // Copyright (C)2005, 2006 Sun Microsystems, Inc. --// Copyright (C)2009, 2011, 2013-2016, 2018-2019 D. R. Commander -+// Copyright (C)2009, 2011, 2013-2016, 2018-2020 D. R. Commander - // - // This library is free software and may be redistributed and/or modified under - // the terms of the wxWindows Library License, Version 3.1 or (at your option) -@@ -535,8 +535,14 @@ FUNCDEF2(GLXFBConfigSGIX, glXGetFBConfigFromVisualSGIX, Display *, dpy, - - // GLX_SUN_get_transparent_index - -+#if defined(GLX_GLXEXT_VERSION) && GLX_GLXEXT_VERSION >= 20190000 -+FUNCDEF4(int, glXGetTransparentIndexSUN, Display *, dpy, Window, overlay, -+ Window, underlay, unsigned long *, transparentIndex, -+ glXGetTransparentIndexSUN) -+#else - FUNCDEF4(int, glXGetTransparentIndexSUN, Display *, dpy, Window, overlay, - Window, underlay, long *, transparentIndex, glXGetTransparentIndexSUN); -+#endif - - - // GL functions