diff --git a/textproc/libfyaml/Makefile b/textproc/libfyaml/Makefile index 5b8413947212..b19363789173 100644 --- a/textproc/libfyaml/Makefile +++ b/textproc/libfyaml/Makefile @@ -1,27 +1,30 @@ PORTNAME= libfyaml -DISTVERSION= 0.7.12 +DISTVERSION= 0.9 CATEGORIES= textproc MASTER_SITES= https://github.com/pantoniou/libfyaml/releases/download/v${DISTVERSION}/ MAINTAINER= yuri@FreeBSD.org COMMENT= YAML parser and emitter WWW= https://github.com/pantoniou/libfyaml LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE TEST_DEPENDS= git:devel/git \ bash:shells/bash USES= gmake libtool shebangfix # will change to cmake soon USE_LDCONFIG= yes SHEBANG_FILES= test/testemitter.test GNU_CONFIGURE= yes INSTALL_TARGET= install-strip -TEST_TARGET= check # one test fails, see https://github.com/pantoniou/libfyaml/issues/60 +TEST_TARGET= check # one test fails, see https://github.com/pantoniou/libfyaml/issues/103 + +post-patch: + @${GREP} -rl "#include " ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -E "s|#include |#include |" .include diff --git a/textproc/libfyaml/distinfo b/textproc/libfyaml/distinfo index f6262e8791a5..1f364c1380b1 100644 --- a/textproc/libfyaml/distinfo +++ b/textproc/libfyaml/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1667456423 -SHA256 (libfyaml-0.7.12.tar.gz) = 485342c6920e9fdc2addfe75e5c3e0381793f18b339ab7393c1b6edf78bf8ca8 -SIZE (libfyaml-0.7.12.tar.gz) = 757218 +TIMESTAMP = 1704445564 +SHA256 (libfyaml-0.9.tar.gz) = 7731edc5dfcc345d5c5c9f6ce597133991a689dabede393cd77bae89b327cd6d +SIZE (libfyaml-0.9.tar.gz) = 875608 diff --git a/textproc/libfyaml/files/patch-include_libfyaml.h b/textproc/libfyaml/files/patch-include_libfyaml.h deleted file mode 100644 index d84aae2b34ec..000000000000 --- a/textproc/libfyaml/files/patch-include_libfyaml.h +++ /dev/null @@ -1,11 +0,0 @@ ---- include/libfyaml.h.orig 2022-11-03 06:41:20 UTC -+++ include/libfyaml.h -@@ -37,7 +37,7 @@ extern "C" { - #include - #include - #include --#include -+#include - - #if defined (__unix__) || (defined (__APPLE__) && defined (__MACH__)) - #include diff --git a/textproc/libfyaml/files/patch-src_lib_fy-atom.c b/textproc/libfyaml/files/patch-src_lib_fy-atom.c deleted file mode 100644 index b12017c78e45..000000000000 --- a/textproc/libfyaml/files/patch-src_lib_fy-atom.c +++ /dev/null @@ -1,10 +0,0 @@ ---- src/lib/fy-atom.c.orig 2022-11-03 06:41:50 UTC -+++ src/lib/fy-atom.c -@@ -17,7 +17,6 @@ - #include - #include - #include --#include - #include - - #include diff --git a/textproc/libfyaml/files/patch-src_lib_fy-ctype.h b/textproc/libfyaml/files/patch-src_lib_fy-ctype.h deleted file mode 100644 index 6c5d3ab48806..000000000000 --- a/textproc/libfyaml/files/patch-src_lib_fy-ctype.h +++ /dev/null @@ -1,11 +0,0 @@ ---- src/lib/fy-ctype.h.orig 2022-11-03 06:42:22 UTC -+++ src/lib/fy-ctype.h -@@ -13,7 +13,7 @@ - #endif - - #include --#include -+#include - #include - #include - diff --git a/textproc/libfyaml/files/patch-src_lib_fy-diag.c b/textproc/libfyaml/files/patch-src_lib_fy-diag.c deleted file mode 100644 index dcab757d0e90..000000000000 --- a/textproc/libfyaml/files/patch-src_lib_fy-diag.c +++ /dev/null @@ -1,10 +0,0 @@ ---- src/lib/fy-diag.c.orig 2022-11-03 06:42:38 UTC -+++ src/lib/fy-diag.c -@@ -17,7 +17,6 @@ - #include - #include - #include --#include - #include - #include - diff --git a/textproc/libfyaml/files/patch-src_lib_fy-event.c b/textproc/libfyaml/files/patch-src_lib_fy-event.c deleted file mode 100644 index 17ccc07545fe..000000000000 --- a/textproc/libfyaml/files/patch-src_lib_fy-event.c +++ /dev/null @@ -1,10 +0,0 @@ ---- src/lib/fy-event.c.orig 2022-11-03 06:40:46 UTC -+++ src/lib/fy-event.c -@@ -17,7 +17,6 @@ - #include - #include - #include --#include - - #include - diff --git a/textproc/libfyaml/files/patch-src_lib_fy-token.c b/textproc/libfyaml/files/patch-src_lib_fy-token.c deleted file mode 100644 index 850b7c22c215..000000000000 --- a/textproc/libfyaml/files/patch-src_lib_fy-token.c +++ /dev/null @@ -1,10 +0,0 @@ ---- src/lib/fy-token.c.orig 2022-11-03 06:42:10 UTC -+++ src/lib/fy-token.c -@@ -17,7 +17,6 @@ - #include - #include - #include --#include - - #include - diff --git a/textproc/libfyaml/files/patch-src_lib_fy-utf8.h b/textproc/libfyaml/files/patch-src_lib_fy-utf8.h deleted file mode 100644 index 5d463c736280..000000000000 --- a/textproc/libfyaml/files/patch-src_lib_fy-utf8.h +++ /dev/null @@ -1,11 +0,0 @@ ---- src/lib/fy-utf8.h.orig 2022-11-03 06:40:27 UTC -+++ src/lib/fy-utf8.h -@@ -13,7 +13,7 @@ - #endif - - #include --#include -+#include - #include - - #include diff --git a/textproc/libfyaml/files/patch-src_valgrind_fy-valgrind.h b/textproc/libfyaml/files/patch-src_valgrind_fy-valgrind.h deleted file mode 100644 index 2c4e9257e522..000000000000 --- a/textproc/libfyaml/files/patch-src_valgrind_fy-valgrind.h +++ /dev/null @@ -1,11 +0,0 @@ ---- src/valgrind/fy-valgrind.h.orig 2022-11-03 06:38:06 UTC -+++ src/valgrind/fy-valgrind.h -@@ -19,7 +19,7 @@ - #include - #include - #include --#include -+#include - #include - - enum fy_valgrind_tool {