1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00

Update to 0.1.0.g20200727

Changes:	https://github.com/ngtcp2/ngtcp2/commits/master
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-08-15 16:29:09 +00:00
parent 83817d1faf
commit e494181268
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=544958
3 changed files with 18 additions and 5 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= ngtcp2
PORTVERSION= 0.1.0.g20200629
PORTVERSION= 0.1.0.g20200727
CATEGORIES= net
PKGNAMEPREFIX= lib
@ -20,7 +20,7 @@ INSTALL_TARGET= install-strip
USE_CXXSTD= c++17
USE_LDCONFIG= yes
GH_TAGNAME= d6ba5c6
GH_TAGNAME= 07a2305
USE_GITHUB= yes
post-patch:

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1595416533
SHA256 (ngtcp2-ngtcp2-0.1.0.g20200629-d6ba5c6_GH0.tar.gz) = 018b34c1d7cb8d247d22a6e5b2a27aa65e3cd2f90041023d331d7c10b57373e2
SIZE (ngtcp2-ngtcp2-0.1.0.g20200629-d6ba5c6_GH0.tar.gz) = 357460
TIMESTAMP = 1596954286
SHA256 (ngtcp2-ngtcp2-0.1.0.g20200727-07a2305_GH0.tar.gz) = 225684ddc80b2c1d51a7540ed6b02b684473d7573246914f4d34af5b1800338c
SIZE (ngtcp2-ngtcp2-0.1.0.g20200727-07a2305_GH0.tar.gz) = 360046

View File

@ -0,0 +1,13 @@
--- lib/ngtcp2_addr.c.orig 2020-07-27 10:35:08 UTC
+++ lib/ngtcp2_addr.c
@@ -26,6 +26,10 @@
#include <string.h>
#include <assert.h>
+#if defined(__FreeBSD__)
+#include <sys/types.h>
+#include <netinet/in.h>
+#endif
#include <netinet/ip.h>
ngtcp2_addr *ngtcp2_addr_init(ngtcp2_addr *dest, const struct sockaddr *addr,