commit:     b8efb631d510af9cb9393aa528c2574766460222
Author:     Pavel Sobolev <contact <AT> paveloom <DOT> dev>
AuthorDate: Mon Oct 27 08:46:53 2025 +0000
Commit:     Pavel Sobolev <contact <AT> paveloom <DOT> dev>
CommitDate: Mon Oct 27 09:29:36 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b8efb631

sci-libs/onnxruntime: remove the `absl::low_level_hash` target

Signed-off-by: Pavel Sobolev <contact <AT> paveloom.dev>

 ...-1.22.2-remove-the-absl-low_level_hash-target.patch | 18 ++++++++++++++++++
 sci-libs/onnxruntime/onnxruntime-1.22.2.ebuild         |  1 +
 2 files changed, 19 insertions(+)

diff --git 
a/sci-libs/onnxruntime/files/onnxruntime-1.22.2-remove-the-absl-low_level_hash-target.patch
 
b/sci-libs/onnxruntime/files/onnxruntime-1.22.2-remove-the-absl-low_level_hash-target.patch
new file mode 100644
index 0000000000..e601bf74f6
--- /dev/null
+++ 
b/sci-libs/onnxruntime/files/onnxruntime-1.22.2-remove-the-absl-low_level_hash-target.patch
@@ -0,0 +1,18 @@
+From: Pavel Sobolev <[email protected]>
+Subject: [PATCH] Remove the `absl::low_level_hash` target.
+
+Bug: https://github.com/microsoft/onnxruntime/issues/25815
+
+Signed-off-by: Pavel Sobolev <[email protected]>
+
+--- a/cmake/external/abseil-cpp.cmake
++++ b/cmake/external/abseil-cpp.cmake
+@@ -114,7 +114,6 @@ absl::absl_check
+ absl::hash_function_defaults
+ absl::function_ref
+ absl::city
+-absl::low_level_hash
+ absl::fixed_array
+ absl::variant
+ absl::meta
+

diff --git a/sci-libs/onnxruntime/onnxruntime-1.22.2.ebuild 
b/sci-libs/onnxruntime/onnxruntime-1.22.2.ebuild
index 455e1644c4..3dab9ab6c8 100644
--- a/sci-libs/onnxruntime/onnxruntime-1.22.2.ebuild
+++ b/sci-libs/onnxruntime/onnxruntime-1.22.2.ebuild
@@ -71,6 +71,7 @@ BDEPEND="
 PATCHES=(
        "${FILESDIR}/${PN}-1.22.2-add-a-missing-include-of-cstdint.patch"
        "${FILESDIR}/${PN}-1.22.2-relax-the-dependency-on-flatbuffers.patch"
+       "${FILESDIR}/${PN}-1.22.2-remove-the-absl-low_level_hash-target.patch"
        "${FILESDIR}/${PN}-1.22.2-use-system-libraries.patch"
 )
 

Reply via email to