summaryrefslogtreecommitdiff
path: root/graphics/drm_info/files/patch-libdrm-2.4.123
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/drm_info/files/patch-libdrm-2.4.123')
-rw-r--r--graphics/drm_info/files/patch-libdrm-2.4.12320
1 files changed, 10 insertions, 10 deletions
diff --git a/graphics/drm_info/files/patch-libdrm-2.4.123 b/graphics/drm_info/files/patch-libdrm-2.4.123
index 1c3488aaa4da..9a2b1d298d0b 100644
--- a/graphics/drm_info/files/patch-libdrm-2.4.123
+++ b/graphics/drm_info/files/patch-libdrm-2.4.123
@@ -1,8 +1,8 @@
Drop after graphics/libdrm >= 2.4.125 update
---- meson.build.orig 2025-06-09 12:43:22 UTC
+--- meson.build.orig 2025-11-16 17:35:59 UTC
+++ meson.build
-@@ -41,7 +41,7 @@ libdrm = dependency('libdrm',
+@@ -45,7 +45,7 @@ libdrm = dependency(
#
# We need to make sure we don't use any new libdrm functions, but those
# are added very infrequently, so this is unlikely to be an issue.
@@ -11,18 +11,18 @@ Drop after graphics/libdrm >= 2.4.125 update
if libdrm.type_name() == 'internal'
error('libdrm subproject out of date. Run `meson subprojects update`.')
endif
-@@ -65,6 +65,11 @@ else
- fourcc_h = meson.current_source_dir() / 'subprojects/libdrm/include/drm/drm_fourcc.h'
- else
+@@ -71,6 +71,11 @@ endif
fourcc_h = libdrm.get_variable(pkgconfig: 'pc_sysrootdir') + libdrm.get_variable(pkgconfig: 'includedir') / 'libdrm/drm_fourcc.h'
-+endif
-+
+ endif
+
+# DRM_FORMAT_MOD_VENDOR_MTK and its information is included in libdrm v2.4.125
+if libdrm.version().version_compare('>=2.4.125')
+ add_project_arguments('-DHAVE_MEDIATEK', language: 'c')
- endif
-
- if libpci.found()
++endif
++
+ # The DRM_BUS_FAUX bus and its information is included in libdrm v2.4.127
+ if libdrm.version().version_compare('>=2.4.127')
+ add_project_arguments('-DHAVE_FAUX_BUS', language: 'c')
--- modifiers.c.orig 2025-06-09 12:43:22 UTC
+++ modifiers.c
@@ -298,6 +298,7 @@ static void print_vivante_modifier(uint64_t mod) {