Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jan 2024 09:38:31 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 19529b0b6d03 - main - textproc/libfyaml: update 0.7.12 =?utf-8?Q?=E2=86=92?= 0.9
Message-ID:  <202401050938.4059cVMK050158@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=19529b0b6d03c77102a6add54952c0d96fca83e1

commit 19529b0b6d03c77102a6add54952c0d96fca83e1
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-01-05 09:34:32 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-01-05 09:38:15 +0000

    textproc/libfyaml: update 0.7.12 → 0.9
---
 textproc/libfyaml/Makefile                               |  7 +++++--
 textproc/libfyaml/distinfo                               |  6 +++---
 textproc/libfyaml/files/patch-include_libfyaml.h         | 11 -----------
 textproc/libfyaml/files/patch-src_lib_fy-atom.c          | 10 ----------
 textproc/libfyaml/files/patch-src_lib_fy-ctype.h         | 11 -----------
 textproc/libfyaml/files/patch-src_lib_fy-diag.c          | 10 ----------
 textproc/libfyaml/files/patch-src_lib_fy-event.c         | 10 ----------
 textproc/libfyaml/files/patch-src_lib_fy-token.c         | 10 ----------
 textproc/libfyaml/files/patch-src_lib_fy-utf8.h          | 11 -----------
 textproc/libfyaml/files/patch-src_valgrind_fy-valgrind.h | 11 -----------
 10 files changed, 8 insertions(+), 89 deletions(-)

diff --git a/textproc/libfyaml/Makefile b/textproc/libfyaml/Makefile
index 5b8413947212..b19363789173 100644
--- a/textproc/libfyaml/Makefile
+++ b/textproc/libfyaml/Makefile
@@ -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>
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 <stdarg.h>
- #include <stdio.h>
- #include <string.h>
--#include <alloca.h>
-+#include <stdlib.h>
- 
- #if defined (__unix__) || (defined (__APPLE__) && defined (__MACH__))
- #include <unistd.h>
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 <stdlib.h>
- #include <errno.h>
- #include <stdarg.h>
--#include <alloca.h>
- #include <ctype.h>
- 
- #include <libfyaml.h>
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 <stdint.h>
--#include <alloca.h>
-+#include <stdlib.h>
- #include <string.h>
- #include <assert.h>
- 
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 <stdlib.h>
- #include <errno.h>
- #include <stdarg.h>
--#include <alloca.h>
- #include <unistd.h>
- #include <ctype.h>
- 
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 <stdlib.h>
- #include <errno.h>
- #include <stdarg.h>
--#include <alloca.h>
- 
- #include <libfyaml.h>
- 
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 <stdlib.h>
- #include <errno.h>
- #include <stdarg.h>
--#include <alloca.h>
- 
- #include <libfyaml.h>
- 
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 <stdint.h>
--#include <alloca.h>
-+#include <stdlib.h>
- #include <assert.h>
- 
- #include <libfyaml.h>
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 <getopt.h>
- #include <unistd.h>
- #include <limits.h>
--#include <alloca.h>
-+#include <stdlib.h>
- #include <stdio.h>
- 
- enum fy_valgrind_tool {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401050938.4059cVMK050158>