From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D6FE1158013 for ; Sat, 2 Dec 2023 05:28:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 176CC2BC01C; Sat, 2 Dec 2023 05:28:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E92592BC01C for ; Sat, 2 Dec 2023 05:28:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 19987335DE9 for ; Sat, 2 Dec 2023 05:28:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A6F2B12A0 for ; Sat, 2 Dec 2023 05:28:11 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1701494309.a0a1379a3be2a614058045a6bf24eb67d6007044.sam@gentoo> Subject: [gentoo-commits] proj/gcc-patches:master commit in: 11.4.0/gentoo/ X-VCS-Repository: proj/gcc-patches X-VCS-Files: 11.4.0/gentoo/77_all_all_PR112823_13_libiberty-warning.patch 11.4.0/gentoo/README.history X-VCS-Directories: 11.4.0/gentoo/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a0a1379a3be2a614058045a6bf24eb67d6007044 X-VCS-Branch: master Date: Sat, 2 Dec 2023 05:28:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f7be6a84-0647-4f2d-8323-49a51f1fc5fa X-Archives-Hash: 9fc13eed8e1c713cf29372d6d5ec64dc commit: a0a1379a3be2a614058045a6bf24eb67d6007044 Author: Sam James gentoo org> AuthorDate: Sat Dec 2 05:18:29 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sat Dec 2 05:18:29 2023 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=a0a1379a 11.4.0: add 77_all_all_PR112823_13_libiberty-warning.patch Bug: https://gcc.gnu.org/PR112823 Signed-off-by: Sam James gentoo.org> .../77_all_all_PR112823_13_libiberty-warning.patch | 36 ++++++++++++++++++++++ 11.4.0/gentoo/README.history | 3 ++ 2 files changed, 39 insertions(+) diff --git a/11.4.0/gentoo/77_all_all_PR112823_13_libiberty-warning.patch b/11.4.0/gentoo/77_all_all_PR112823_13_libiberty-warning.patch new file mode 100644 index 0000000..26d38af --- /dev/null +++ b/11.4.0/gentoo/77_all_all_PR112823_13_libiberty-warning.patch @@ -0,0 +1,36 @@ +https://gcc.gnu.org/PR112823 +https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=38757aa88735ab + +From 38757aa88735ab2e511bc428e2407a5a5e9fa0be Mon Sep 17 00:00:00 2001 +From: Iain Sandoe +Date: Mon, 23 Aug 2021 17:34:43 +0100 +Subject: [PATCH] libiberty, Darwin: Fix a build warning. + +r12-3005-g220c410162ebece4f missed a cast for the set_32 call. +Fixed thus. + +Signed-off-by: Iain Sandoe + +libiberty/ChangeLog: + + * simple-object-mach-o.c (simple_object_mach_o_write_segment): + Cast the first argument to set_32 as needed. +--- + libiberty/simple-object-mach-o.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libiberty/simple-object-mach-o.c b/libiberty/simple-object-mach-o.c +index 72b69d19c21..a8869e7c639 100644 +--- a/libiberty/simple-object-mach-o.c ++++ b/libiberty/simple-object-mach-o.c +@@ -1228,7 +1228,7 @@ simple_object_mach_o_write_segment (simple_object_write *sobj, int descriptor, + /* Swap the indices, if required. */ + + for (i = 0; i < (nsects_in * 4); ++i) +- set_32 (&index[i], index[i]); ++ set_32 ((unsigned char *) &index[i], index[i]); + + sechdr_offset += sechdrsize; + +-- +2.39.3 diff --git a/11.4.0/gentoo/README.history b/11.4.0/gentoo/README.history index b578306..436fcb5 100644 --- a/11.4.0/gentoo/README.history +++ b/11.4.0/gentoo/README.history @@ -1,3 +1,6 @@ +11 2 Dec 2023 + + 77_all_all_PR112823_13_libiberty-warning.patch + 10 5 May 2023 - 77_all_all_PR109585_13_rtl-alias-analysis-typo.patch