diff options
Diffstat (limited to 'devel/electron37/files/patch-third__party_angle_BUILD.gn')
-rw-r--r-- | devel/electron37/files/patch-third__party_angle_BUILD.gn | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/devel/electron37/files/patch-third__party_angle_BUILD.gn b/devel/electron37/files/patch-third__party_angle_BUILD.gn new file mode 100644 index 000000000000..762338a43b7d --- /dev/null +++ b/devel/electron37/files/patch-third__party_angle_BUILD.gn @@ -0,0 +1,29 @@ +--- third_party/angle/BUILD.gn.orig 2025-06-30 07:04:30 UTC ++++ third_party/angle/BUILD.gn +@@ -360,7 +360,6 @@ config("extra_warnings") { + "-Wtautological-type-limit-compare", + "-Wundefined-reinterpret-cast", + "-Wunneeded-internal-declaration", +- "-Wunused-but-set-variable", + "-Wsuggest-destructor-override", + "-Wsuggest-override", + +@@ -537,7 +536,7 @@ template("angle_common_lib") { + all_dependent_configs = [ ":angle_disable_pool_alloc" ] + } + +- if (is_linux || is_chromeos) { ++ if ((is_linux || is_chromeos) && !is_bsd) { + libs = [ "dl" ] + } + +@@ -692,6 +691,9 @@ angle_static_library("angle_gpu_info_util") { + "Xi", + "Xext", + ] ++ if (is_bsd) { ++ libs += [ "GL" ] ++ } + } + + if (angle_use_wayland && angle_has_build) { |