git: a751a7f865e6 - main - graphics/mesa-libs: Add back patch for iris
Emmanuel Vadot
manu at FreeBSD.org
Wed Aug 4 10:23:34 UTC 2021
The branch main has been updated by manu:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a751a7f865e6616b74206c3f6dad0a3c957edeec
commit a751a7f865e6616b74206c3f6dad0a3c957edeec
Author: Emmanuel Vadot <manu at FreeBSD.org>
AuthorDate: 2021-08-03 09:13:00 +0000
Commit: Emmanuel Vadot <manu at FreeBSD.org>
CommitDate: 2021-08-04 10:23:10 +0000
graphics/mesa-libs: Add back patch for iris
Due to how the mesa ports are split we need to patch meson files so
iris is prefered on compatible intel GPU.
PR: 257462
---
graphics/mesa-dri/files/patch-src_loader_meson.build | 11 +++++++++++
graphics/mesa-libs/Makefile | 1 +
2 files changed, 12 insertions(+)
diff --git a/graphics/mesa-dri/files/patch-src_loader_meson.build b/graphics/mesa-dri/files/patch-src_loader_meson.build
new file mode 100644
index 000000000000..14ef872d46f4
--- /dev/null
+++ b/graphics/mesa-dri/files/patch-src_loader_meson.build
@@ -0,0 +1,11 @@
+--- src/loader/meson.build.orig 2020-12-03 18:59:28.209491000 +0100
++++ src/loader/meson.build 2020-12-03 18:59:40.685431000 +0100
+@@ -41,7 +41,7 @@
+ '-DDEFAULT_DRIVER_DIR="@0@"'.format(dri_search_path),
+ ]
+
+-if with_gallium_iris and get_option('prefer-iris')
++if get_option('prefer-iris')
+ loader_c_args += ['-DPREFER_IRIS']
+ endif
+
diff --git a/graphics/mesa-libs/Makefile b/graphics/mesa-libs/Makefile
index 7d759b34ca81..265935e99058 100644
--- a/graphics/mesa-libs/Makefile
+++ b/graphics/mesa-libs/Makefile
@@ -2,6 +2,7 @@
PORTNAME= mesa-libs
PORTVERSION= ${MESAVERSION}
+PORTREVISION= 1
CATEGORIES= graphics
COMMENT= OpenGL libraries that support GLX and EGL clients
More information about the dev-commits-ports-all
mailing list