commit:     fe26570a36ba5dd8feedd9036a131d6aaa173e33
Author:     Michael Mair-Keimberger <mm1ke <AT> gentoo <DOT> org>
AuthorDate: Tue Oct  7 16:30:40 2025 +0000
Commit:     Michael Mair-Keimberger <mm1ke <AT> gentoo <DOT> org>
CommitDate: Tue Oct  7 16:30:40 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe26570a

dev-debug/bpftrace: remove unused patch

Signed-off-by: Michael Mair-Keimberger <mm1ke <AT> gentoo.org>

 .../bpftrace/files/bpftrace-0.24.0-gcc16.patch     | 65 ----------------------
 1 file changed, 65 deletions(-)

diff --git a/dev-debug/bpftrace/files/bpftrace-0.24.0-gcc16.patch 
b/dev-debug/bpftrace/files/bpftrace-0.24.0-gcc16.patch
deleted file mode 100644
index 22d14bad54ab..000000000000
--- a/dev-debug/bpftrace/files/bpftrace-0.24.0-gcc16.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-From: https://github.com/bpftrace/bpftrace/pull/4614
-
-From: =?UTF-8?q?Holger=20Hoffst=C3=A4tte?= <[email protected]>
-Date: Thu, 18 Sep 2025 11:55:36 +0200
-Subject: [PATCH] build: fix building with gcc-16
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Gcc-16 has once again tightened some transitive includes, which
-means some headers must now be explicitly included.
-For example:
-
-  src/util/int_parser.cpp: In function ‘bpftrace::Result<long unsigned int> 
bpftrace::util::to_uint(const std::string&, int)’:
-  src/util/int_parser.cpp:70:14: error: ‘ULLONG_MAX’ was not declared in this 
scope
-     70 |   if (ret == ULLONG_MAX && errno == ERANGE) {
-        |              ^~~~~~~~~~
-  src/util/int_parser.cpp:8:1: note: ‘ULLONG_MAX’ is defined in header 
‘<climits>’; this is probably fixable by adding ‘#include <climits>’
-      7 | #include "util/int_parser.h"
-    +++ |+#include <climits>
-      8 | #include "util/result.h"
-
-Tested with gcc-15.2.1-20250913, gcc-16.0.0-20250914 & clang-21.1.1.
-
-Signed-off-by: Holger Hoffstätte <[email protected]>
----
- src/util/int_parser.cpp | 2 +-
- src/util/opaque.h       | 1 +
- tests/utils.cpp         | 1 +
- 3 files changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/src/util/int_parser.cpp b/src/util/int_parser.cpp
-index c88e034a..ad8f98a2 100644
---- a/src/util/int_parser.cpp
-+++ b/src/util/int_parser.cpp
-@@ -1,5 +1,5 @@
-+#include <climits>
- #include <cstdint>
--#include <limits>
- #include <map>
- #include <optional>
- #include <ranges>
-diff --git a/src/util/opaque.h b/src/util/opaque.h
-index 1e8cf1bd..9b20a96b 100644
---- a/src/util/opaque.h
-+++ b/src/util/opaque.h
-@@ -1,5 +1,6 @@
- #pragma once
- 
-+#include <cstdint>
- #include <cstdlib>
- #include <cstring>
- #include <functional>
-diff --git a/tests/utils.cpp b/tests/utils.cpp
-index 91d56347..10116ad4 100644
---- a/tests/utils.cpp
-+++ b/tests/utils.cpp
-@@ -1,3 +1,4 @@
-+#include <climits>
- #include <cstdlib>
- #include <cstring>
- #include <fcntl.h>
--- 
-2.51.0
-

Reply via email to