File absl-overload.patch of Package nodejs-electron39

--- src/build/linux/unbundle/absl_functional.gn.orig	2025-11-23 13:48:01.876485100 +0100
+++ src/build/linux/unbundle/absl_functional.gn	2025-12-30 11:04:16.704594948 +0100
@@ -46,8 +46,19 @@ source_set("function_ref") {
   public_configs = [ ":system_absl_function_ref" ]
 }
 
+pkg_config("system_absl_overload") {
+  packages = [ "absl_overload" ]
+}
+
+shim_headers("overload_shim") {
+  root_path = "."
+  prefix = "absl/functional/"
+  headers = [ "overload.h" ]
+}
+
 source_set("overload") {
-  # Dummy — unavailable with abseil 202308 and chromium 122 does not use it
+  deps = [ ":overload_shim" ]
+  public_configs = [ ":system_absl_overload" ]
 }
 
 source_set("any_invocable_test") {
openSUSE Build Service is sponsored by