Skip to content

Commit 53f8658

Browse files
authored
deps: update nghttp2 to 1.62.1
nodejs/node#52966
1 parent df5f2ad commit 53f8658

2 files changed

Lines changed: 61 additions & 0 deletions

File tree

‎patches/node/.patches‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,4 @@ build_compile_with_c_20_support.patch
3939
add_v8_taskpirority_to_foreground_task_runner_signature.patch
4040
cli_remove_deprecated_v8_flag.patch
4141
build_restore_clang_as_default_compiler_on_macos.patch
42+
fix_-wextra-semi_errors_in_nghttp2_helper_h.patch
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2+
From: Shelley Vohr <shelley.vohr@gmail.com>
3+
Date: Wed, 16 Oct 2024 16:09:37 +0200
4+
Subject: fix: -Wextra-semi errors in nghttp2_helper.h
5+
6+
Introduced in https://github.com/nodejs/node/pull/52966
7+
8+
Upstreamed in https://github.com/nghttp2/nghttp2/pull/2258
9+
10+
diff --git a/deps/nghttp2/lib/nghttp2_helper.h b/deps/nghttp2/lib/nghttp2_helper.h
11+
index 89b0d4f535db795cd1df582475c02b2f4d1ac98f..f5de6290dab0e17ae3aff10230dd8ad7414f9631 100644
12+
--- a/deps/nghttp2/lib/nghttp2_helper.h
13+
+++ b/deps/nghttp2/lib/nghttp2_helper.h
14+
@@ -38,28 +38,28 @@
15+
#define nghttp2_max_def(SUFFIX, T) \
16+
static inline T nghttp2_max_##SUFFIX(T a, T b) { return a < b ? b : a; }
17+
18+
-nghttp2_max_def(int8, int8_t);
19+
-nghttp2_max_def(int16, int16_t);
20+
-nghttp2_max_def(int32, int32_t);
21+
-nghttp2_max_def(int64, int64_t);
22+
-nghttp2_max_def(uint8, uint8_t);
23+
-nghttp2_max_def(uint16, uint16_t);
24+
-nghttp2_max_def(uint32, uint32_t);
25+
-nghttp2_max_def(uint64, uint64_t);
26+
-nghttp2_max_def(size, size_t);
27+
+nghttp2_max_def(int8, int8_t)
28+
+nghttp2_max_def(int16, int16_t)
29+
+nghttp2_max_def(int32, int32_t)
30+
+nghttp2_max_def(int64, int64_t)
31+
+nghttp2_max_def(uint8, uint8_t)
32+
+nghttp2_max_def(uint16, uint16_t)
33+
+nghttp2_max_def(uint32, uint32_t)
34+
+nghttp2_max_def(uint64, uint64_t)
35+
+nghttp2_max_def(size, size_t)
36+
37+
#define nghttp2_min_def(SUFFIX, T) \
38+
static inline T nghttp2_min_##SUFFIX(T a, T b) { return a < b ? a : b; }
39+
40+
-nghttp2_min_def(int8, int8_t);
41+
-nghttp2_min_def(int16, int16_t);
42+
-nghttp2_min_def(int32, int32_t);
43+
-nghttp2_min_def(int64, int64_t);
44+
-nghttp2_min_def(uint8, uint8_t);
45+
-nghttp2_min_def(uint16, uint16_t);
46+
-nghttp2_min_def(uint32, uint32_t);
47+
-nghttp2_min_def(uint64, uint64_t);
48+
-nghttp2_min_def(size, size_t);
49+
+nghttp2_min_def(int8, int8_t)
50+
+nghttp2_min_def(int16, int16_t)
51+
+nghttp2_min_def(int32, int32_t)
52+
+nghttp2_min_def(int64, int64_t)
53+
+nghttp2_min_def(uint8, uint8_t)
54+
+nghttp2_min_def(uint16, uint16_t)
55+
+nghttp2_min_def(uint32, uint32_t)
56+
+nghttp2_min_def(uint64, uint64_t)
57+
+nghttp2_min_def(size, size_t)
58+
59+
#define lstreq(A, B, N) ((sizeof((A)) - 1) == (N) && memcmp((A), (B), (N)) == 0)
60+

0 commit comments

Comments
 (0)