From nobody Tue Mar 21 05:11:46 2023 X-Original-To: dev-commits-ports-branches@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 4Pgfpq1Gjgz40n3d; Tue, 21 Mar 2023 05:11:47 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pgfpq0d8cz3KRn; Tue, 21 Mar 2023 05:11:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679375507; 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=4OhNAfRaAqa9LM/4Y/1u531UaAN6FLLLC8kiNYWbLAk=; b=dhWRWl+oJPVPRBNL6zMGgUJSX4xl6xqLUY7MfvmjK2Cw3UZu26YDc+AHR0qYmlGQhu8d4b 52OMnvY4/EjAZPLr0w37jTbEL0oOXsAJclEC+56b5hECdk2+r0oYjqhUwKXzHuAAph+Yd/ 34+naOUnPSDl17gc45a/7sO2EriY7+N4p2/zZIiGqtTD/u+R3iuyU8ia3ofOauukEmGMDJ lCg3vb/w5cY/0ykB+/U/fXsdfBNF5b+xb2IfowFtvWqabdmDcC0l3DiOwwcPWMtYm8Lqgb sNFMGrshjvqbgcrJattxosVq0expjEL64+dxyPmGFLESo66bfjTmPw5HY2qHBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679375507; 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=4OhNAfRaAqa9LM/4Y/1u531UaAN6FLLLC8kiNYWbLAk=; b=L4haSDbTAt/B6pS0kQ5ImEv79hPydb2mE15JBhluTTLLH9XiEUaRgl2nNLBE5VremTNgJj BNEaAhzf0of2PkHZuYY6UpY1neBL/Br6cMoXNhxMP+i8PJY8Wrje3b1S7d31bBddj3gG+5 sgUTGOOMUs+eacf6mBc9Xb6LntGGSQkhIfulXjcFOhsfWQ9xMu3ZPIMcD2OfGWiiL8eX0z OqFvbP5v93IiSJkKj8crHITnYEw39NwCs9WyTBWIDwf++IeJV884SjkfXsH2M2PzG3jZze qCZ++g5pL0Mqs/UaTByOCm846KjybTnSrBF1Voyt76NBbXkD8wAV6Lxr4ygvPQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679375507; a=rsa-sha256; cv=none; b=Mr7uiNrjYq5bYQgFwPGJ/OkDHlpWb21xsgi//6AX3mFqb77ukIHXOI2MefH0xvCJvvi6RG KfrJ5KT320ZGFdDgLxxamrSHIbmhYD4R6+fSRrm9n83vOaVK/9xQ9zjgPuVBiJVxomRvny 1RR967xjz/lrWs+uDxWObWmbFfU2UhW1D41zLH0k0q4sHHRZyk+IZMxEsGY3G6bUg5JEPG 6o5e5iXLk7xY3KARprg1DOpi0D7YMTYX+Ed1JNp/P0znLbVfYfY/aoYiJ9rGivM06T9/zx u0BIP+3mn3JnBr0o89gyzYbhTlo6AItp9bifzt+7K5f9fgC0s1sbn6ozAry5bA== 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 4Pgfpp6nyWzyvD; Tue, 21 Mar 2023 05:11:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 32L5BkpZ017788; Tue, 21 Mar 2023 05:11:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32L5Bknf017775; Tue, 21 Mar 2023 05:11:46 GMT (envelope-from git) Date: Tue, 21 Mar 2023 05:11:46 GMT Message-Id: <202303210511.32L5Bknf017775@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Kyle Evans Subject: git: e500acf64f29 - 2023Q1 - devel/arm-none-eabi-newlib: fix the build with newer clang List-Id: Commits to the quarterly branches of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-branches@freebsd.org X-BeenThere: dev-commits-ports-branches@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/2023Q1 X-Git-Reftype: branch X-Git-Commit: e500acf64f297fe5988068c4fe6e3ed4e2f39cd4 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch 2023Q1 has been updated by kevans: URL: https://cgit.FreeBSD.org/ports/commit/?id=e500acf64f297fe5988068c4fe6e3ed4e2f39cd4 commit e500acf64f297fe5988068c4fe6e3ed4e2f39cd4 Author: Kyle Evans AuthorDate: 2023-03-21 04:18:10 +0000 Commit: Kyle Evans CommitDate: 2023-03-21 04:37:24 +0000 devel/arm-none-eabi-newlib: fix the build with newer clang Taken from upstream commit 7bfa24c49563717426d1ee237f29d1ccfc4b51db, cast these two to stinst_type explicitly to fix the build. (cherry picked from commit d8dd1f531d8f6df9089074d166dbaa02c8aff7d3) --- .../files/patch-newlib_doc_makedoc.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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 new file mode 100644 index 000000000000..952b88e04a02 --- /dev/null +++ b/devel/arm-none-eabi-newlib/files/patch-newlib_doc_makedoc.c @@ -0,0 +1,16 @@ +--- 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);