Date: Tue, 29 Oct 2024 23:55:45 GMT From: Kyle Evans <kevans@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: eb37cb5e56d1 - main - devel/arm-none-eabi-newlib: update to 4.4.0 Message-ID: <202410292355.49TNtjM2093288@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by kevans: URL: https://cgit.FreeBSD.org/ports/commit/?id=eb37cb5e56d12b29d423845867df8bd52b4ef495 commit eb37cb5e56d12b29d423845867df8bd52b4ef495 Author: Kyle Evans <kevans@FreeBSD.org> AuthorDate: 2024-10-29 23:53:16 +0000 Commit: Kyle Evans <kevans@FreeBSD.org> CommitDate: 2024-10-29 23:55:22 +0000 devel/arm-none-eabi-newlib: update to 4.4.0 There are way too many changes to enumerate, but some of the highlights to be gleaned from their news page is ANSI-fication efforts and a number of new features, platform enhancements, and various cleanups. --- devel/arm-none-eabi-newlib/Makefile | 14 +++++----- devel/arm-none-eabi-newlib/distinfo | 6 ++--- .../files/patch-newlib_doc_makedoc.c | 16 ------------ .../files/patch-newlib_libc_stdlib_strtoll__r.c | 28 -------------------- .../files/patch-newlib_libc_stdlib_strtoull__r.c | 30 ---------------------- .../files/patch-newlib_libc_stdlib_wcstoll__r.c | 28 -------------------- .../files/patch-newlib_libc_stdlib_wcstoull__r.c | 10 -------- 7 files changed, 11 insertions(+), 121 deletions(-) diff --git a/devel/arm-none-eabi-newlib/Makefile b/devel/arm-none-eabi-newlib/Makefile index 32961b8fa3f9..919ec979d8f7 100644 --- a/devel/arm-none-eabi-newlib/Makefile +++ b/devel/arm-none-eabi-newlib/Makefile @@ -1,6 +1,6 @@ PORTNAME= newlib -PORTVERSION= 2.4.0 -PORTREVISION= 2 +PORTVERSION= 4.4.0 +DISTVERSIONSUFFIX= .20231231 CATEGORIES= devel MASTER_SITES= SOURCEWARE/${PORTNAME} PKGNAMEPREFIX= ${NEWLIB_TARGET}- @@ -22,13 +22,15 @@ HAS_CONFIGURE= yes CONFIGURE_ARGS+= --prefix=${PREFIX} \ --target="${NEWLIB_TARGET}" \ --disable-newlib-supplied-syscalls \ - --enable-multilib + --enable-multilib \ + --enable-newlib-nano-malloc \ + --enable-newlib-nano-formatted-io \ + --enable-target-optspace -# Disable installation of .info files and fix includedir reference. -post-patch: - @${REINPLACE_CMD} -E 's/^(install.*:.*)install-info(.*)/\1\2/' ${WRKSRC}/etc/Makefile.in +INSTALL_TARGET= install-target post-install: + @${RM} -r ${STAGEDIR}${PREFIX}/share/info @${FIND} ${STAGEDIR} ! -type d | \ ${SED} 's,${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST} @${FIND} -ds ${STAGEDIR}${PREFIX}/${NEWLIB_TARGET} -type d -empty | \ diff --git a/devel/arm-none-eabi-newlib/distinfo b/devel/arm-none-eabi-newlib/distinfo index 166e8994881a..d896a8c9cc31 100644 --- a/devel/arm-none-eabi-newlib/distinfo +++ b/devel/arm-none-eabi-newlib/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1476391779 -SHA256 (newlib-2.4.0.tar.gz) = 545b3d235e350d2c61491df8b9f775b1b972f191380db8f52ec0b1c829c52706 -SIZE (newlib-2.4.0.tar.gz) = 17574364 +TIMESTAMP = 1708915913 +SHA256 (newlib-4.4.0.20231231.tar.gz) = 0c166a39e1bf0951dfafcd68949fe0e4b6d3658081d6282f39aeefc6310f2f13 +SIZE (newlib-4.4.0.20231231.tar.gz) = 9022406 diff --git a/devel/arm-none-eabi-newlib/files/patch-newlib_doc_makedoc.c b/devel/arm-none-eabi-newlib/files/patch-newlib_doc_makedoc.c deleted file mode 100644 index 952b88e04a02..000000000000 --- a/devel/arm-none-eabi-newlib/files/patch-newlib_doc_makedoc.c +++ /dev/null @@ -1,16 +0,0 @@ ---- newlib/doc/makedoc.c.orig 2023-03-21 04:12:20 UTC -+++ newlib/doc/makedoc.c -@@ -1317,11 +1317,11 @@ DEFUN(compile, (string), - /* Got a number, embedd the magic push number - function */ - add_to_definition(ptr, push_number); -- add_to_definition(ptr, atol(word)); -+ add_to_definition(ptr, (stinst_type)atol(word)); - break; - default: - add_to_definition(ptr, call); -- add_to_definition(ptr, lookup_word(word)); -+ add_to_definition(ptr, (stinst_type)lookup_word(word)); - } - - string = nextword(string, &word); diff --git a/devel/arm-none-eabi-newlib/files/patch-newlib_libc_stdlib_strtoll__r.c b/devel/arm-none-eabi-newlib/files/patch-newlib_libc_stdlib_strtoll__r.c deleted file mode 100644 index 780c834401dc..000000000000 --- a/devel/arm-none-eabi-newlib/files/patch-newlib_libc_stdlib_strtoll__r.c +++ /dev/null @@ -1,28 +0,0 @@ ---- newlib/libc/stdlib/strtoll_r.c.orig 2020-10-04 20:42:31 UTC -+++ newlib/libc/stdlib/strtoll_r.c -@@ -42,6 +42,7 @@ - #ifdef __GNUC__ - - #define _GNU_SOURCE -+#define __LONG_LONG_SUPPORTED - #include <_ansi.h> - #include <limits.h> - #include <ctype.h> -@@ -107,7 +108,7 @@ _DEFUN (_strtoll_r, (rptr, nptr, endptr, base), - * Set any if any `digits' consumed; make it negative to indicate - * overflow. - */ -- cutoff = neg ? -(unsigned long long)LONG_LONG_MIN : LONG_LONG_MAX; -+ cutoff = neg ? -(unsigned long long)LLONG_MIN : LLONG_MAX; - cutlim = cutoff % (unsigned long long)base; - cutoff /= (unsigned long long)base; - for (acc = 0, any = 0;; c = *s++) { -@@ -128,7 +129,7 @@ _DEFUN (_strtoll_r, (rptr, nptr, endptr, base), - } - } - if (any < 0) { -- acc = neg ? LONG_LONG_MIN : LONG_LONG_MAX; -+ acc = neg ? LLONG_MIN : LLONG_MAX; - rptr->_errno = ERANGE; - } else if (neg) - acc = -acc; diff --git a/devel/arm-none-eabi-newlib/files/patch-newlib_libc_stdlib_strtoull__r.c b/devel/arm-none-eabi-newlib/files/patch-newlib_libc_stdlib_strtoull__r.c deleted file mode 100644 index 45aa1804056a..000000000000 --- a/devel/arm-none-eabi-newlib/files/patch-newlib_libc_stdlib_strtoull__r.c +++ /dev/null @@ -1,30 +0,0 @@ ---- newlib/libc/stdlib/strtoull_r.c.orig 2020-10-04 20:42:46 UTC -+++ newlib/libc/stdlib/strtoull_r.c -@@ -43,6 +43,7 @@ - #ifdef __GNUC__ - - #define _GNU_SOURCE -+#define __LONG_LONG_SUPPORTED - #include <_ansi.h> - #include <limits.h> - #include <ctype.h> -@@ -88,8 +89,8 @@ _DEFUN (_strtoull_r, (rptr, nptr, endptr, base), - } - if (base == 0) - base = c == '0' ? 8 : 10; -- cutoff = (unsigned long long)ULONG_LONG_MAX / (unsigned long long)base; -- cutlim = (unsigned long long)ULONG_LONG_MAX % (unsigned long long)base; -+ cutoff = (unsigned long long)ULLONG_MAX / (unsigned long long)base; -+ cutlim = (unsigned long long)ULLONG_MAX % (unsigned long long)base; - for (acc = 0, any = 0;; c = *s++) { - if (isdigit(c)) - c -= '0'; -@@ -108,7 +109,7 @@ _DEFUN (_strtoull_r, (rptr, nptr, endptr, base), - } - } - if (any < 0) { -- acc = ULONG_LONG_MAX; -+ acc = ULLONG_MAX; - rptr->_errno = ERANGE; - } else if (neg) - acc = -acc; diff --git a/devel/arm-none-eabi-newlib/files/patch-newlib_libc_stdlib_wcstoll__r.c b/devel/arm-none-eabi-newlib/files/patch-newlib_libc_stdlib_wcstoll__r.c deleted file mode 100644 index b8ea6d0b5d7e..000000000000 --- a/devel/arm-none-eabi-newlib/files/patch-newlib_libc_stdlib_wcstoll__r.c +++ /dev/null @@ -1,28 +0,0 @@ ---- newlib/libc/stdlib/wcstoll_r.c.orig 2020-10-04 20:42:35 UTC -+++ newlib/libc/stdlib/wcstoll_r.c -@@ -42,6 +42,7 @@ - #ifdef __GNUC__ - - #define _GNU_SOURCE -+#define __LONG_LONG_SUPPORTED - #include <_ansi.h> - #include <limits.h> - #include <wctype.h> -@@ -107,7 +108,7 @@ _DEFUN (_wcstoll_r, (rptr, nptr, endptr, base), - * Set any if any `digits' consumed; make it negative to indicate - * overflow. - */ -- cutoff = neg ? -(unsigned long long)LONG_LONG_MIN : LONG_LONG_MAX; -+ cutoff = neg ? -(unsigned long long)LLONG_MIN : LLONG_MAX; - cutlim = cutoff % (unsigned long long)base; - cutoff /= (unsigned long long)base; - for (acc = 0, any = 0;; c = *s++) { -@@ -128,7 +129,7 @@ _DEFUN (_wcstoll_r, (rptr, nptr, endptr, base), - } - } - if (any < 0) { -- acc = neg ? LONG_LONG_MIN : LONG_LONG_MAX; -+ acc = neg ? LLONG_MIN : LLONG_MAX; - rptr->_errno = ERANGE; - } else if (neg) - acc = -acc; diff --git a/devel/arm-none-eabi-newlib/files/patch-newlib_libc_stdlib_wcstoull__r.c b/devel/arm-none-eabi-newlib/files/patch-newlib_libc_stdlib_wcstoull__r.c deleted file mode 100644 index 37ebe2d93a2b..000000000000 --- a/devel/arm-none-eabi-newlib/files/patch-newlib_libc_stdlib_wcstoull__r.c +++ /dev/null @@ -1,10 +0,0 @@ ---- newlib/libc/stdlib/wcstoull_r.c.orig 2020-10-04 20:42:50 UTC -+++ newlib/libc/stdlib/wcstoull_r.c -@@ -43,6 +43,7 @@ - #ifdef __GNUC__ - - #define _GNU_SOURCE -+#define __LONG_LONG_SUPPORTED - #include <_ansi.h> - #include <limits.h> - #include <wchar.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410292355.49TNtjM2093288>