git: 9047a619ab6d - main - lang/libhx: update the port to the latest version 4.5
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 11 Apr 2022 07:33:07 UTC
The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=9047a619ab6d681e95c3bf913cbe2019015b79e8 commit 9047a619ab6d681e95c3bf913cbe2019015b79e8 Author: Alexey Dokuchaev <danfe@FreeBSD.org> AuthorDate: 2022-04-11 07:32:20 +0000 Commit: Alexey Dokuchaev <danfe@FreeBSD.org> CommitDate: 2022-04-11 07:32:20 +0000 lang/libhx: update the port to the latest version 4.5 Now builds and passes its test suite without any patches, GC them. Reported by: portscout --- lang/libhx/Makefile | 8 +------- lang/libhx/distinfo | 6 +++--- lang/libhx/files/patch-src_socket.c | 18 ------------------ 3 files changed, 4 insertions(+), 28 deletions(-) diff --git a/lang/libhx/Makefile b/lang/libhx/Makefile index 959b7f50414e..1fdf811e7dfd 100644 --- a/lang/libhx/Makefile +++ b/lang/libhx/Makefile @@ -1,7 +1,7 @@ # Created by: Sylvio Cesar <sylvio@FreeBSD.org> PORTNAME= libHX -PORTVERSION= 4.3 +PORTVERSION= 4.5 CATEGORIES= lang MASTER_SITES= https://inai.de/files/libhx/ @@ -24,10 +24,4 @@ OPTIONS_DEFINE= DOCS PORTDOCS= * DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:tl} -post-patch: - @${REINPLACE_CMD} -e 's,NULL,0x0,' ${WRKSRC}/src/tc-cast.c \ - ${WRKSRC}/src/tc-string.c - @${REINPLACE_CMD} -e '1 { x; s:^:#include <cstdio>:; G; }' \ - ${WRKSRC}/src/tx-intdiff.cpp - .include <bsd.port.mk> diff --git a/lang/libhx/distinfo b/lang/libhx/distinfo index c12446c3d786..4c3301558082 100644 --- a/lang/libhx/distinfo +++ b/lang/libhx/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1647278029 -SHA256 (libHX-4.3.tar.xz) = 1ecb93389b71e9b2759415ae01c0212066868b7d0c03f49d527b48a3bcfaf31b -SIZE (libHX-4.3.tar.xz) = 367292 +TIMESTAMP = 1649594951 +SHA256 (libHX-4.5.tar.xz) = 84828bbcb539f3f7262f63e316c903226f45a982a4e8506912637e3650f61663 +SIZE (libHX-4.5.tar.xz) = 374516 diff --git a/lang/libhx/files/patch-src_socket.c b/lang/libhx/files/patch-src_socket.c deleted file mode 100644 index 4f185a52b567..000000000000 --- a/lang/libhx/files/patch-src_socket.c +++ /dev/null @@ -1,18 +0,0 @@ ---- src/socket.c.orig 2021-10-17 13:36:53 UTC -+++ src/socket.c -@@ -54,6 +54,7 @@ static int try_sk_from_env(int fd, const struct addrin - return -1; - if (intf == nullptr) - return fd; -+#ifdef SO_BINDTODEVICE - char ifname[32]; - optlen = sizeof(ifname); - ret = getsockopt(fd, SOL_SOCKET, SO_BINDTODEVICE, ifname, &optlen); -@@ -65,6 +66,7 @@ static int try_sk_from_env(int fd, const struct addrin - ifname[sizeof(ifname)-1] = '\0'; - if (strcmp(intf, ifname) != 0) - return -1; -+#endif - return fd; - } -