1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00

textproc/libfyaml: update 0.7.12 → 0.9

This commit is contained in:
Yuri Victorovich 2024-01-05 01:34:32 -08:00
parent 618bc62b2d
commit 19529b0b6d
10 changed files with 8 additions and 89 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= libfyaml
DISTVERSION= 0.7.12
DISTVERSION= 0.9
CATEGORIES= textproc
MASTER_SITES= https://github.com/pantoniou/libfyaml/releases/download/v${DISTVERSION}/
@ -22,6 +22,9 @@ 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 <alloca\\.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -E "s|#include <alloca\\.h>|#include <stdlib.h>|"
.include <bsd.port.mk>

View File

@ -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

View File

@ -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 <stdarg.h>
#include <stdio.h>
#include <string.h>
-#include <alloca.h>
+#include <stdlib.h>
#if defined (__unix__) || (defined (__APPLE__) && defined (__MACH__))
#include <unistd.h>

View File

@ -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 <stdlib.h>
#include <errno.h>
#include <stdarg.h>
-#include <alloca.h>
#include <ctype.h>
#include <libfyaml.h>

View File

@ -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 <stdint.h>
-#include <alloca.h>
+#include <stdlib.h>
#include <string.h>
#include <assert.h>

View File

@ -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 <stdlib.h>
#include <errno.h>
#include <stdarg.h>
-#include <alloca.h>
#include <unistd.h>
#include <ctype.h>

View File

@ -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 <stdlib.h>
#include <errno.h>
#include <stdarg.h>
-#include <alloca.h>
#include <libfyaml.h>

View File

@ -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 <stdlib.h>
#include <errno.h>
#include <stdarg.h>
-#include <alloca.h>
#include <libfyaml.h>

View File

@ -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 <stdint.h>
-#include <alloca.h>
+#include <stdlib.h>
#include <assert.h>
#include <libfyaml.h>

View File

@ -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 <getopt.h>
#include <unistd.h>
#include <limits.h>
-#include <alloca.h>
+#include <stdlib.h>
#include <stdio.h>
enum fy_valgrind_tool {