net/fort: Update to 1.6.4

- Update to 1.6.4
- Changelog: https://github.com/NICMx/FORT-validator/releases/tag/1.6.4

Approved by:	Toni Kalombo <toni@devboks.com> (maintainer, implicit)
MFH:		2024Q4
Security:	CVE-2024-48943
This commit is contained in:
Philip Paeps 2024-12-05 13:59:34 +08:00
parent cc38be9252
commit 04db0aa821
3 changed files with 4 additions and 23 deletions

View file

@ -1,5 +1,5 @@
PORTNAME= fort
DISTVERSION= 1.6.2
DISTVERSION= 1.6.4
CATEGORIES= net
MAINTAINER= toni@devboks.com

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1719114666
SHA256 (NICMx-FORT-validator-1.6.2_GH0.tar.gz) = aa6149256b0557e617cb0ff7f290464ee5fd930a02e7f9169f42ce157db025bf
SIZE (NICMx-FORT-validator-1.6.2_GH0.tar.gz) = 397203
TIMESTAMP = 1733377653
SHA256 (NICMx-FORT-validator-1.6.4_GH0.tar.gz) = 0ede489aeb2e60648c08b973cf527e3521dafacc5d49a4cf56b095f090b8e291
SIZE (NICMx-FORT-validator-1.6.4_GH0.tar.gz) = 399588

View file

@ -1,19 +0,0 @@
--- src/xml/relax_ng.c.orig 2024-06-23 04:09:22 UTC
+++ src/xml/relax_ng.c
@@ -35,8 +35,15 @@ relax_ng_log_warn(void *ctx, const char *msg, ...)
VLOG_MSG(warn)
}
+/* Signature changed at libxml2 commit 61034116d0a3c8b295c6137956adc3ae55720. */
+#if LIBXML_VERSION >= 21200
+#define XMLERROR_PARAMTYPE const xmlError *
+#else
+#define XMLERROR_PARAMTYPE xmlErrorPtr
+#endif
+
static void
-relax_ng_log_str_err(void *userData, xmlErrorPtr error)
+relax_ng_log_str_err(void *userData, XMLERROR_PARAMTYPE error)
{
char *ptr;