diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2022-03-16 05:39:50 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2022-03-16 05:39:50 +0000 |
commit | 098861acba5b5577872ae60aff1268e56feb3bca (patch) | |
tree | 7bf539aab24edc89b1c317a2d7783a832ddf77b5 | |
parent | audio/pamixer: Reset MAINTAINER (diff) |
lang/libhx: update the port to version 4.3
Patch the test suite code to make it compatible with modern C++.
Reported by: portscout
-rw-r--r-- | lang/libhx/Makefile | 8 | ||||
-rw-r--r-- | lang/libhx/distinfo | 6 | ||||
-rw-r--r-- | lang/libhx/pkg-plist | 2 |
3 files changed, 11 insertions, 5 deletions
diff --git a/lang/libhx/Makefile b/lang/libhx/Makefile index ecf8256ff922..959b7f50414e 100644 --- a/lang/libhx/Makefile +++ b/lang/libhx/Makefile @@ -1,7 +1,7 @@ # Created by: Sylvio Cesar <sylvio@FreeBSD.org> PORTNAME= libHX -PORTVERSION= 4.2 +PORTVERSION= 4.3 CATEGORIES= lang MASTER_SITES= https://inai.de/files/libhx/ @@ -24,4 +24,10 @@ 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 64991e7c360d..c12446c3d786 100644 --- a/lang/libhx/distinfo +++ b/lang/libhx/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1634477831 -SHA256 (libHX-4.2.tar.xz) = 5216b765f73c36ff91e999fd5eabc1dbc13801d140b8238fc80ba9c263d723e6 -SIZE (libHX-4.2.tar.xz) = 365120 +TIMESTAMP = 1647278029 +SHA256 (libHX-4.3.tar.xz) = 1ecb93389b71e9b2759415ae01c0212066868b7d0c03f49d527b48a3bcfaf31b +SIZE (libHX-4.3.tar.xz) = 367292 diff --git a/lang/libhx/pkg-plist b/lang/libhx/pkg-plist index 10c14d62cd23..1711f0f65656 100644 --- a/lang/libhx/pkg-plist +++ b/lang/libhx/pkg-plist @@ -16,6 +16,6 @@ include/libHX/string.h include/libHX/wx_helper.hpp lib/libHX.so lib/libHX.so.32 -lib/libHX.so.32.2.0 +lib/libHX.so.32.3.0 lib/libHX_rtcheck.so libdata/pkgconfig/libHX.pc |