mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-17 19:39:43 +00:00
lang/libhx: update the port to version 4.3
Patch the test suite code to make it compatible with modern C++. Reported by: portscout
This commit is contained in:
parent
a4a7c873ac
commit
098861acba
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user