summaryrefslogtreecommitdiff
path: root/dev-util/apitrace/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-01 21:27:08 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-01 21:27:08 +0100
commiteba9df5b84c2fffc30cc3f300880000a60e38042 (patch)
tree0802b9523e183cfe3cd5cc3c680049a05b00a6a1 /dev-util/apitrace/files
parentd14501acaa1e3634cb0a6f6e356923391009eb46 (diff)
gentoo auto-resync : 01:06:2023 - 21:27:08
Diffstat (limited to 'dev-util/apitrace/files')
-rw-r--r--dev-util/apitrace/files/apitrace-9.0-pkgconfig-waffle.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-util/apitrace/files/apitrace-9.0-pkgconfig-waffle.patch b/dev-util/apitrace/files/apitrace-9.0-pkgconfig-waffle.patch
new file mode 100644
index 000000000000..6d0450886672
--- /dev/null
+++ b/dev-util/apitrace/files/apitrace-9.0-pkgconfig-waffle.patch
@@ -0,0 +1,14 @@
+waffle's upstream intentionally does not ship cmake files anymore
+(just a quick fix that works for us, there may be more to consider)
+
+https://bugs.gentoo.org/901365
+https://gitlab.freedesktop.org/mesa/waffle/-/issues/74
+https://gitlab.freedesktop.org/mesa/waffle/-/commit/a16983fea590491727c8119256c7b938fe1f9d10
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -195,3 +195,4 @@
+ # Use Waffle for eglretrace
+- find_package (Waffle REQUIRED)
++ find_package(PkgConfig REQUIRED)
++ pkg_check_modules(Waffle REQUIRED waffle-1)
+ endif ()