ports/net/fort/files/patch-src_Makefile.am
Philip Paeps f77077d797 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]
2024-06-23 12:12:24 +08:00

11 lines
474 B
Text

--- src/Makefile.am.orig 2024-06-23 03:52:55 UTC
+++ src/Makefile.am
@@ -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_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
fort_CFLAGS += -DBACKTRACE_ENABLED
endif