Skip to content

Commit

Permalink
www/nghttp2: Update to 1.45.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sunpoet committed Oct 13, 2021
1 parent f1e524b commit ff14d93
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 4 deletions.
2 changes: 1 addition & 1 deletion www/nghttp2/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>

PORTNAME= nghttp2
PORTVERSION= 1.44.0
PORTVERSION= 1.45.1
CATEGORIES= www net
MASTER_SITES= https://github.com/nghttp2/nghttp2/releases/download/v${PORTVERSION}/

Expand Down
6 changes: 3 additions & 3 deletions www/nghttp2/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1627157202
SHA256 (nghttp2-1.44.0.tar.xz) = 5699473b29941e8dafed10de5c8cb37a3581edf62ba7d04b911ca247d4de3c5d
SIZE (nghttp2-1.44.0.tar.xz) = 3972832
TIMESTAMP = 1634111660
SHA256 (nghttp2-1.45.1.tar.xz) = abdc4addccadbc7d89abe27c4d6427d78e57d139f69c1f45749227393c68bf79
SIZE (nghttp2-1.45.1.tar.xz) = 4017852
20 changes: 20 additions & 0 deletions www/nghttp2/files/patch-src-util.cc
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Obtained from: https://github.com/nghttp2/nghttp2/commit/318e0c8447e2399e7c1e95d8ae8d00118ccea5f7

--- src/util.cc.orig 2021-09-21 13:08:54 UTC
+++ src/util.cc
@@ -1688,6 +1688,7 @@ int daemonize(int nochdir, int noclose) {
#endif // !defined(__APPLE__)
}

+#ifdef ENABLE_HTTP3
int msghdr_get_local_addr(Address &dest, msghdr *msg, int family) {
switch (family) {
case AF_INET:
@@ -1721,6 +1722,7 @@ int msghdr_get_local_addr(Address &dest, msghdr *msg,

return -1;
}
+#endif // ENABLE_HTTP3

} // namespace util

14 changes: 14 additions & 0 deletions www/nghttp2/files/patch-src-util.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Obtained from: https://github.com/nghttp2/nghttp2/commit/318e0c8447e2399e7c1e95d8ae8d00118ccea5f7

--- src/util.h.orig 2021-09-21 13:08:54 UTC
+++ src/util.h
@@ -916,7 +916,9 @@ std::mt19937 make_mt19937();
// daemon() using fork().
int daemonize(int nochdir, int noclose);

+#ifdef ENABLE_HTTP3
int msghdr_get_local_addr(Address &dest, msghdr *msg, int family);
+#endif // ENABLE_HTTP3

} // namespace util

0 comments on commit ff14d93

Please sign in to comment.