commit: 77655ec2ab83d5ae91cf1e5076ada29e88e0e639 Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> AuthorDate: Thu Mar 20 07:16:32 2025 +0000 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> CommitDate: Sun Mar 23 14:26:22 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77655ec2
net-libs/ngtcp2: remove unused patch(es) Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> .../ngtcp2/files/ngtcp2-1.10.0-gcc15-uninit.patch | 46 ---------------------- .../ngtcp2/files/ngtcp2-1.10.0-munit-c23.patch | 28 ------------- 2 files changed, 74 deletions(-) diff --git a/net-libs/ngtcp2/files/ngtcp2-1.10.0-gcc15-uninit.patch b/net-libs/ngtcp2/files/ngtcp2-1.10.0-gcc15-uninit.patch deleted file mode 100644 index 7ce0cf2b6c3c..000000000000 --- a/net-libs/ngtcp2/files/ngtcp2-1.10.0-gcc15-uninit.patch +++ /dev/null @@ -1,46 +0,0 @@ -https://bugs.gentoo.org/947300 -https://github.com/ngtcp2/ngtcp2/pull/1464 -https://github.com/ngtcp2/ngtcp2/commit/60ab2b73aa02e6c99597b975724c6b58008c4869 -https://github.com/ngtcp2/ngtcp2/commit/416698347d60968eba635182dfdedc44d1aa7c3b - -From 60ab2b73aa02e6c99597b975724c6b58008c4869 Mon Sep 17 00:00:00 2001 -From: Tatsuhiro Tsujikawa <[email protected]> -Date: Fri, 3 Jan 2025 10:05:55 +0900 -Subject: [PATCH] tests: Fix uninitialized variable reference - ---- a/tests/ngtcp2_transport_params_test.c -+++ b/tests/ngtcp2_transport_params_test.c -@@ -419,11 +419,16 @@ void test_ngtcp2_transport_params_convert_to_latest(void) { - ngtcp2_cid rcid, scid, dcid; - uint8_t available_versions[sizeof(uint32_t) * 3]; - ngtcp2_sockaddr_in6 *sa_in6; -+ size_t i; - - rcid_init(&rcid); - scid_init(&scid); - dcid_init(&dcid); - -+ for (i = 0; i < sizeof(available_versions); i += sizeof(uint32_t)) { -+ ngtcp2_put_uint32be(&available_versions[i], (uint32_t)(0xff000000u + i)); -+ } -+ - ngtcp2_transport_params_default_versioned(NGTCP2_TRANSPORT_PARAMS_V1, - &srcbuf); - - -From 416698347d60968eba635182dfdedc44d1aa7c3b Mon Sep 17 00:00:00 2001 -From: Tatsuhiro Tsujikawa <[email protected]> -Date: Fri, 3 Jan 2025 10:13:56 +0900 -Subject: [PATCH] Fix uninitialized connection close frame_type - ---- a/lib/ngtcp2_conn.c -+++ b/lib/ngtcp2_conn.c -@@ -13765,6 +13765,7 @@ ngtcp2_ssize ngtcp2_pkt_write_connection_close( - - fr.type = NGTCP2_FRAME_CONNECTION_CLOSE; - fr.connection_close.error_code = error_code; -+ fr.connection_close.frame_type = 0; - fr.connection_close.reasonlen = reasonlen; - fr.connection_close.reason = (uint8_t *)reason; - - diff --git a/net-libs/ngtcp2/files/ngtcp2-1.10.0-munit-c23.patch b/net-libs/ngtcp2/files/ngtcp2-1.10.0-munit-c23.patch deleted file mode 100644 index 93d208fa4215..000000000000 --- a/net-libs/ngtcp2/files/ngtcp2-1.10.0-munit-c23.patch +++ /dev/null @@ -1,28 +0,0 @@ -https://github.com/nemequ/munit/pull/105 ---- a/tests/munit/munit.c -+++ b/tests/munit/munit.c -@@ -858,23 +858,18 @@ static psnip_uint64_t munit_clock_get_elapsed(struct PsnipClockTimespec *start, - - #if defined(_OPENMP) - # define ATOMIC_UINT32_T uint32_t --# define ATOMIC_UINT32_INIT(x) (x) - #elif defined(HAVE_STDATOMIC) - # include <stdatomic.h> - # define ATOMIC_UINT32_T _Atomic uint32_t --# define ATOMIC_UINT32_INIT(x) ATOMIC_VAR_INIT(x) - #elif defined(HAVE_CLANG_ATOMICS) - # define ATOMIC_UINT32_T _Atomic uint32_t --# define ATOMIC_UINT32_INIT(x) (x) - #elif defined(_WIN32) - # define ATOMIC_UINT32_T volatile LONG --# define ATOMIC_UINT32_INIT(x) (x) - #else - # define ATOMIC_UINT32_T volatile uint32_t --# define ATOMIC_UINT32_INIT(x) (x) - #endif - --static ATOMIC_UINT32_T munit_rand_state = ATOMIC_UINT32_INIT(42); -+static ATOMIC_UINT32_T munit_rand_state = 42; - - #if defined(_OPENMP) - static inline void munit_atomic_store(ATOMIC_UINT32_T *dest,
