Date: Wed, 4 Aug 2021 10:23:33 GMT From: Emmanuel Vadot <manu@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: a751a7f865e6 - main - graphics/mesa-libs: Add back patch for iris Message-ID: <202108041023.174ANXr8056839@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/ports/commit/?id=a751a7f865e6616b74206c3f6dad0a3c957edeec commit a751a7f865e6616b74206c3f6dad0a3c957edeec Author: Emmanuel Vadot <manu@FreeBSD.org> AuthorDate: 2021-08-03 09:13:00 +0000 Commit: Emmanuel Vadot <manu@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108041023.174ANXr8056839>