From nobody Tue Oct 29 23:55:45 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XdRwL0fGMz5bBMZ; Tue, 29 Oct 2024 23:55:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XdRwK6t1rz49bn; Tue, 29 Oct 2024 23:55:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730246146; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Gb11PQGwQiPmp0sJZQHwUEKY6ngTNNie6SFDzGTm/rA=; b=sLTuOFRVdmTaglYh4pxgmvptAPsPl+I61WdzxB+9gYMNk+1FAwKRgbH7VlbiuSuiLbevOv s6gSoUaplnMYCdUqFAuZ+SPmC+AcLaob24ggaNQm0wncs13npt9Y/09F8yI25zZ4LSkQle 0NkF93UjQDnnadxoLZf/sE7zl9mZ/qT2Ww2YXkbZ1B4htFiskMAZ+OlWOmJZ3ulh+DilNL AF1hqAD68BtVFC9zegWoyWkrv0fhXnd2b94nCsOIhot46hJZLY+r5vNBEFjPbnJpy8Ex8f 8KIgJR63zJKkGwyup9NtNgk3v7wQpxLMsEq9Te51A8jkB1WYf+aR2RE+qKJUIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730246146; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Gb11PQGwQiPmp0sJZQHwUEKY6ngTNNie6SFDzGTm/rA=; b=cIJ8RpVxntLy53rYcHPJnugRcXtbglgevBYWSin5HQc27vc4rzAdaXnKt/n1zbd7GWYcRO fSN/vTS81ug/4PxldHh1ZucyY8yEXxSDi0O4ZuQ5uZR8QvJofbijmX5i9LpRq2faO6aNks EVhK0wL7jqpHxXXtHld8Gph37FA1eb16X5n2S4rmA/HeVMc1tL/cxWcb+l4Jv4wq+nvD04 kuVj5RsEHbYMJFmIsBstf3yho33r2b25Sy7EpCQM2x2HK7N5AnSHD+r4dsW5w+iegRjJuf Rrhtae2OulSHIzm8PeuV1S08Kzd4NkMk37xe4zZYw68MHUG4T20HapN4fARs2g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730246146; a=rsa-sha256; cv=none; b=ClWCN65kn7tjX1cBTCB5YtRH8gZNsc91U5r65AhMXSXlOTVy1+FECJB/7X/KwRj+grglAV T1kOgACYN+TqaBbWQyixxytXldIEuRJ0dQztcTrdIY3tCCL1AybzdAzVEeTtWwN6ZBXkWU 5amX2FfMHyYoGGe3nejuWGvbNZpSMcYVhcq0toqzZN0RIpZT0fccpxYx8knW8eV+CfBUeZ Vr7jEFz7LYt9ztr6qvzY/v1mNeh8wvYNddRqjGQasNL1+L90+dfMPuPvxSzIlwKFuWrOUr mI3PtJUYlSV+S7XcgHXwyrIJDu7V/Cvr0S4BV1CGtCBPevkoA5olEHEeUM98bg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XdRwK6THbzkhd; Tue, 29 Oct 2024 23:55:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49TNtjS5093291; Tue, 29 Oct 2024 23:55:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49TNtjM2093288; Tue, 29 Oct 2024 23:55:45 GMT (envelope-from git) Date: Tue, 29 Oct 2024 23:55:45 GMT Message-Id: <202410292355.49TNtjM2093288@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kyle Evans Subject: git: eb37cb5e56d1 - main - devel/arm-none-eabi-newlib: update to 4.4.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kevans X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: eb37cb5e56d12b29d423845867df8bd52b4ef495 Auto-Submitted: auto-generated The branch main has been updated by kevans: URL: https://cgit.FreeBSD.org/ports/commit/?id=eb37cb5e56d12b29d423845867df8bd52b4ef495 commit eb37cb5e56d12b29d423845867df8bd52b4ef495 Author: Kyle Evans AuthorDate: 2024-10-29 23:53:16 +0000 Commit: Kyle Evans 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 - #include -@@ -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 - #include -@@ -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 - #include -@@ -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 - #include