summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2024-05-09 19:17:45 -0400
committerMatt Turner <mattst88@gentoo.org>2024-05-09 19:24:30 -0400
commita1824d39d36224b9d5673cea1dda8c017dbc79d3 (patch)
tree3a7798fcdd9b44a61ad7a9ec34640ba2aa8e3c95 /x11-apps
parentmedia-libs/imlib: fix Modern C issues in configure (diff)
downloadgentoo-a1824d39d36224b9d5673cea1dda8c017dbc79d3.tar.gz
gentoo-a1824d39d36224b9d5673cea1dda8c017dbc79d3.tar.bz2
gentoo-a1824d39d36224b9d5673cea1dda8c017dbc79d3.zip
x11-apps/mesa-progs: Link against libOpenGL
Closes: https://bugs.gentoo.org/931647 Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'x11-apps')
-rw-r--r--x11-apps/mesa-progs/files/9.0.0-Disable-things-we-don-t-want.patch17
-rw-r--r--x11-apps/mesa-progs/files/9999-Disable-things-we-don-t-want.patch18
2 files changed, 27 insertions, 8 deletions
diff --git a/x11-apps/mesa-progs/files/9.0.0-Disable-things-we-don-t-want.patch b/x11-apps/mesa-progs/files/9.0.0-Disable-things-we-don-t-want.patch
index dcf7fdcc17ac..49a47f92bdc7 100644
--- a/x11-apps/mesa-progs/files/9.0.0-Disable-things-we-don-t-want.patch
+++ b/x11-apps/mesa-progs/files/9.0.0-Disable-things-we-don-t-want.patch
@@ -1,22 +1,31 @@
-From beccb3024fee949bfb7bdfd19225e93a7cb0e906 Mon Sep 17 00:00:00 2001
+From 77e41ec954f7e366bf4dccbd9c867ff7ddcca600 Mon Sep 17 00:00:00 2001
From: Matt Turner <mattst88@gmail.com>
Date: Thu, 18 Apr 2024 13:24:18 -0400
Subject: [PATCH] Disable things we don't want
---
- meson.build | 13 ++-----------
+ meson.build | 15 +++------------
src/egl/opengl/meson.build | 28 ---------------------------
src/egl/opengles2/meson.build | 5 -----
src/meson.build | 2 --
src/util/gl_wrap.h | 2 --
src/util/meson.build | 9 +--------
src/xdemos/meson.build | 36 -----------------------------------
- 7 files changed, 3 insertions(+), 92 deletions(-)
+ 7 files changed, 4 insertions(+), 93 deletions(-)
diff --git a/meson.build b/meson.build
-index c1853f94..d1457a35 100644
+index c1853f94..e3012fb0 100644
--- a/meson.build
+++ b/meson.build
+@@ -39,7 +39,7 @@ add_project_arguments(
+ dep_m = cc.find_library('m', required : false)
+ dep_winmm = cc.find_library('winmm', required : false)
+
+-dep_gl = dependency('gl')
++dep_gl = dependency('opengl')
+
+ dep_epoll = dependency('epoll-shim', required : false)
+ dep_gles1 = dependency('glesv1_cm', required : get_option('gles1'))
@@ -52,7 +52,7 @@ dep_drm = dependency('libdrm',
required : get_option('libdrm'),
disabler : true
diff --git a/x11-apps/mesa-progs/files/9999-Disable-things-we-don-t-want.patch b/x11-apps/mesa-progs/files/9999-Disable-things-we-don-t-want.patch
index 02855c749e3d..5566a8de45d3 100644
--- a/x11-apps/mesa-progs/files/9999-Disable-things-we-don-t-want.patch
+++ b/x11-apps/mesa-progs/files/9999-Disable-things-we-don-t-want.patch
@@ -1,4 +1,4 @@
-From 6622a4e4a170d6c784d46638a128068ea5203493 Mon Sep 17 00:00:00 2001
+From c2e2f995bca3086cfc40b698533e7ec0bba98d85 Mon Sep 17 00:00:00 2001
From: Matt Turner <mattst88@gmail.com>
Date: Thu, 18 Apr 2024 13:24:18 -0400
Subject: [PATCH] Disable things we don't want
@@ -8,20 +8,30 @@ v3: Enable most of libutil to fix undefined references in es2gears
v4: Disable dmabufshare and remove dep on libXext
v5: Drop trackball.c and showbuffer.c
v6: Fix disabling GLU
+v7: Link against libOpenGL rather than libGL
---
- meson.build | 13 ++-----------
+ meson.build | 15 +++------------
src/egl/opengl/meson.build | 35 ----------------------------------
src/egl/opengles2/meson.build | 5 -----
src/meson.build | 2 --
src/util/gl_wrap.h | 2 --
src/util/meson.build | 9 +--------
src/xdemos/meson.build | 36 -----------------------------------
- 7 files changed, 3 insertions(+), 99 deletions(-)
+ 7 files changed, 4 insertions(+), 100 deletions(-)
diff --git a/meson.build b/meson.build
-index d487a11f..4cd6abf7 100644
+index d487a11f..31625a99 100644
--- a/meson.build
+++ b/meson.build
+@@ -39,7 +39,7 @@ add_project_arguments(
+ dep_m = cc.find_library('m', required : false)
+ dep_winmm = cc.find_library('winmm', required : false)
+
+-dep_gl = dependency('gl')
++dep_gl = dependency('opengl')
+
+ dep_epoll = dependency('epoll-shim', required : false)
+ dep_gles1 = dependency('glesv1_cm', required : get_option('gles1'))
@@ -52,7 +52,7 @@ dep_drm = dependency('libdrm',
required : get_option('libdrm'),
disabler : true