diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-07-09 21:23:39 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-07-09 21:34:20 +0000 |
commit | 7e59982ac623f96767eabe6e4ddc8b2e578f940a (patch) | |
tree | ab930cf0842d0869b1819cf6958ff94bde49d3c1 /x11-fonts/afdko | |
parent | 9015727f4458ec082353c7766edb26cd21cab451 (diff) |
Diffstat (limited to 'x11-fonts/afdko')
-rw-r--r-- | x11-fonts/afdko/Makefile | 6 | ||||
-rw-r--r-- | x11-fonts/afdko/files/patch-clang16 | 13 |
2 files changed, 13 insertions, 6 deletions
diff --git a/x11-fonts/afdko/Makefile b/x11-fonts/afdko/Makefile index 6d3064c76d80..2ace93500dbb 100644 --- a/x11-fonts/afdko/Makefile +++ b/x11-fonts/afdko/Makefile @@ -14,10 +14,4 @@ USE_GNOME= libxml2 CMAKE_OFF= SKBUILD -.include <bsd.port.options.mk> - -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 -CFLAGS+= -Wno-error=incompatible-function-pointer-types -.endif - .include <bsd.port.mk> diff --git a/x11-fonts/afdko/files/patch-clang16 b/x11-fonts/afdko/files/patch-clang16 new file mode 100644 index 000000000000..63fb8afe7412 --- /dev/null +++ b/x11-fonts/afdko/files/patch-clang16 @@ -0,0 +1,13 @@ +--- c/shared/source/tx_shared/tx_shared.c.orig 2023-06-13 21:30:33 UTC ++++ c/shared/source/tx_shared/tx_shared.c +@@ -523,8 +523,8 @@ void stmInit(txCtx h) { + h->cb.stm.open = stm_open; + h->cb.stm.seek = stm_seek; + h->cb.stm.tell = stm_tell; +- h->cb.stm.read = stm_read; +- h->cb.stm.xml_read = stm_xml_read; ++ h->cb.stm.read = (size_t (*)(ctlStreamCallbacks *, void *, char **)) stm_read; ++ h->cb.stm.xml_read = (size_t (*)(ctlStreamCallbacks *, void *, xmlDocPtr *)) stm_xml_read; + h->cb.stm.write = stm_write; + h->cb.stm.status = stm_status; + h->cb.stm.close = stm_close; |