mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
net/fort: Update to 1.6.2
- Update to 1.6.2 - Changelog: https://github.com/NICMx/FORT-validator/releases/tag/1.6.2 While here, fix building with libxml2 2.13.1 [1]. This patch will be in the next upstream release. Approved by: Toni Kalombo <toni@devboks.com> (maintainer, implicit) Reported by: diizzy [1] PR: 279898 [1]
This commit is contained in:
parent
d8d25fa814
commit
f77077d797
@ -1,6 +1,5 @@
|
||||
PORTNAME= fort
|
||||
DISTVERSION= 1.6.1
|
||||
PORTREVISION= 1
|
||||
DISTVERSION= 1.6.2
|
||||
CATEGORIES= net
|
||||
|
||||
MAINTAINER= toni@devboks.com
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1707198406
|
||||
SHA256 (NICMx-FORT-validator-1.6.1_GH0.tar.gz) = 0bed82f75bd6c4fffa4f5dc4118a706560f5eab27d85b9704380e570db8ff050
|
||||
SIZE (NICMx-FORT-validator-1.6.1_GH0.tar.gz) = 455892
|
||||
TIMESTAMP = 1719114666
|
||||
SHA256 (NICMx-FORT-validator-1.6.2_GH0.tar.gz) = aa6149256b0557e617cb0ff7f290464ee5fd930a02e7f9169f42ce157db025bf
|
||||
SIZE (NICMx-FORT-validator-1.6.2_GH0.tar.gz) = 397203
|
||||
|
@ -1,9 +1,9 @@
|
||||
--- src/Makefile.am.orig 2023-12-14 01:43:09 UTC
|
||||
--- src/Makefile.am.orig 2024-06-23 03:52:55 UTC
|
||||
+++ src/Makefile.am
|
||||
@@ -118,7 +118,7 @@ fort_CFLAGS = -Wall -Wpedantic
|
||||
# Feel free to temporarily remove this one if you're not using gcc 7.3.0.
|
||||
@@ -118,7 +118,7 @@ fort_SOURCES += $(ASN_MODULE_SRCS) $(ASN_MODULE_HDRS)
|
||||
fort_CFLAGS = -Wall -Wpedantic
|
||||
#fort_CFLAGS += $(GCC_WARNS)
|
||||
fort_CFLAGS += -std=c99 -D_POSIX_C_SOURCE=200809 -D_XOPEN_SOURCE=700
|
||||
fort_CFLAGS += -std=c99 -D_DEFAULT_SOURCE=1 -D_XOPEN_SOURCE=700 -D_BSD_SOURCE=1
|
||||
-fort_CFLAGS += -O2 -g $(FORT_FLAGS) ${XML2_CFLAGS}
|
||||
+fort_CFLAGS += -O2 -g $(FORT_FLAGS) ${XML2_CFLAGS} ${JANSSON_CFLAGS}
|
||||
if BACKTRACE_ENABLED
|
||||
|
19
net/fort/files/patch-src_xml_relax__ng.c
Normal file
19
net/fort/files/patch-src_xml_relax__ng.c
Normal file
@ -0,0 +1,19 @@
|
||||
--- 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;
|
||||
|
Loading…
Reference in New Issue
Block a user