aboutsummaryrefslogtreecommitdiff
path: root/devel/electron29/files/patch-third__party_angle_src_gpu__info__util_SystemInfo__internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron29/files/patch-third__party_angle_src_gpu__info__util_SystemInfo__internal.h')
-rw-r--r--devel/electron29/files/patch-third__party_angle_src_gpu__info__util_SystemInfo__internal.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/electron29/files/patch-third__party_angle_src_gpu__info__util_SystemInfo__internal.h b/devel/electron29/files/patch-third__party_angle_src_gpu__info__util_SystemInfo__internal.h
new file mode 100644
index 000000000000..8232856560c7
--- /dev/null
+++ b/devel/electron29/files/patch-third__party_angle_src_gpu__info__util_SystemInfo__internal.h
@@ -0,0 +1,16 @@
+--- third_party/angle/src/gpu_info_util/SystemInfo_internal.h.orig 2023-05-25 00:46:19 UTC
++++ third_party/angle/src/gpu_info_util/SystemInfo_internal.h
+@@ -15,6 +15,13 @@
+ namespace angle
+ {
+
++#if defined(__OpenBSD__) || defined(__FreeBSD__)
++bool CollectMesaCardInfo(std::vector<GPUDeviceInfo> *devices);
++#if defined(__FreeBSD__)
++bool GetPCIDevicesFreeBSD(std::vector<GPUDeviceInfo> *devices);
++#endif
++#endif
++
+ // Defined in SystemInfo_libpci when GPU_INFO_USE_LIBPCI is defined.
+ bool GetPCIDevicesWithLibPCI(std::vector<GPUDeviceInfo> *devices);
+ // Defined in SystemInfo_x11 when GPU_INFO_USE_X11 is defined.