From nobody Fri Feb 03 09:00:39 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 4P7V4D1MRHz2nNQF; Fri, 3 Feb 2023 09:00:44 +0000 (UTC) (envelope-from mat@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P7V4D0rhdz3CNJ; Fri, 3 Feb 2023 09:00:44 +0000 (UTC) (envelope-from mat@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675414844; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=wkRzTz707Bs4HczckACHwqfic6vWxOP2E1tk4RzWgvY=; b=QebRrabN7Asuxknk0BYpDka/fdGo5o7hakDer1l1/gCGj0RJnpyezy/FEONWE24Vlstg8I mjaMxnT3FYJMJWCxkR0DJEaarFmXIW0B+4tdbcQhfLCZy7FPk0sRXe63Eelu2fCYa8CPDP Ysp3276PTUhlJU8/O7jpeqKPcWs+yqjyxH5W+tLwBs+EDrnznc87IM0JUoWuYPWvYWg/tT PtxnsQVUQZ3qB9LCCNGS9oivYZnDnP++0LfwxZGM3f4S1Whxjx7vWllNoTG38FR9/0DnsR +MGcU4Up9NMYYxLlUxvz3dr/LYvxPh6oOSqSdCO/vAC15MSd2XNvdkLrHJ+FOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675414844; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=wkRzTz707Bs4HczckACHwqfic6vWxOP2E1tk4RzWgvY=; b=Tx4hhkxPMA7ktIhJPOlSRinOQSLjWXRXjw7OWi277bniz9F2w/ew3L6ibhSMT/RhBZCcUM RoR/4vkMcJia7NTcIKbMKbU9bwtvchu3wjtWfcIKzfsuqITwxkl+O+5y3/esp+YZ++RFAL mnIBjS5Ddwb1wthUiolgOEnunk6h3QLMisdGkOVqjtJIYvHbFs2PBK8C/E0dqZeuEUDR/P sxTsm4lsj1hMPn29j7V4fdzVjWlFCiqpQSURYpN3VI9nMaXgAS2dqZxqXH3W8jMGDsUX+m hmCsxB4c39jmY9YfTCQoZIPWv0Jok3PWxpP7DVsMltAxir4c+2dlQ4XUXINSxg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675414844; a=rsa-sha256; cv=none; b=xE4DFU/MLoWXEdVRca3wId7FCfUK2p4kCR7AE70NbU/Xp3duzU37z8HjWkZctTiOW86Ywf w5wBshyrNsIVrVv7PzYvLLC+PzBBTtlv4VFLU+Ox/49HzRpN97Vwq4IRWQe2Y6tP87U8cg aF+6GAD6i7UuupCvxFK+pqzJsTpPTQgPR40gtqOV+lALO79CAYVQQn/oWtEJUF6t7QUMWe NIBGHpMS95PN+mU91TJ46PsWdpR9TtCHRzee4q5CRoElP/K1FOHsGSiUvXLh66i44/UEzK FG3DejD+c3V5fN3mvXiZ4gv+REzmdaPNsOXZo02PwcHrd9CeZOY0qdtZ9lDx9g== Received: from mail.j.mat.cc (owncloud.cube.mat.cc [IPv6:2a01:678:4:1::228]) (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 "mail.mat.cc", Issuer "R3" (verified OK)) (Authenticated sender: mat/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4P7V4C5tS0zsvc; Fri, 3 Feb 2023 09:00:43 +0000 (UTC) (envelope-from mat@freebsd.org) Received: from aching.in.mat.cc (unknown [IPv6:2a01:e0a:836:f670:e29e:6688:f49b:2b7f]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: mat@mat.cc) by mail.j.mat.cc (Postfix) with ESMTPSA id C9CFC942D80; Fri, 3 Feb 2023 09:00:40 +0000 (UTC) Date: Fri, 3 Feb 2023 10:00:39 +0100 From: Mathieu Arnold To: Nuno Teixeira Cc: Piotr Kubaj , ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-branches@freebsd.org Subject: Re: git: e01ae2321ae3 - 2023Q1 - editors/amp: fix build on powerpc Message-ID: <20230203090039.tj5emkoodlmegnsq@aching.in.mat.cc> References: <202302021349.312DnVFC091823@gitrepo.freebsd.org> 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: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wwol37xx7vwbjn3j" Content-Disposition: inline In-Reply-To: X-ThisMailContainsUnwantedMimeParts: N --wwol37xx7vwbjn3j Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 03, 2023 at 08:05:09AM +0000, Nuno Teixeira wrote: > Hello Piotr, >=20 > Thanks for the update. >=20 > Just one doubt that I have: should or shouldn't PORTREVISION be bumped? Was there a package before that needs to be updated ? If yes, then bump PORTREVISION, otherwise, no. As this fixes the build, there was no package before, so, no PORTREVISION bump. > Cheers, >=20 > Piotr Kubaj escreveu no dia quinta, 2/02/2023 =E0(s) > 13:49: >=20 > > The branch 2023Q1 has been updated by pkubaj: > > > > URL: > > https://cgit.FreeBSD.org/ports/commit/?id=3De01ae2321ae356437053e3f18ac= e8aa3ff46d344 > > > > commit e01ae2321ae356437053e3f18ace8aa3ff46d344 > > Author: Piotr Kubaj > > AuthorDate: 2023-02-02 13:46:02 +0000 > > Commit: Piotr Kubaj > > CommitDate: 2023-02-02 13:48:36 +0000 > > > > editors/amp: fix build on powerpc > > > > (cherry picked from commit 19ca79a76acec400a96d8dd3dd14fdc8aaad35d0) > > --- > > editors/amp/files/patch-powerpc | 62 > > +++++++++++++++++++++++++++++++++++++++++ > > 1 file changed, 62 insertions(+) > > > > diff --git a/editors/amp/files/patch-powerpc > > b/editors/amp/files/patch-powerpc > > new file mode 100644 > > index 000000000000..1b92066ac900 > > --- /dev/null > > +++ b/editors/amp/files/patch-powerpc > > @@ -0,0 +1,62 @@ > > +--- > > cargo-crates/libc-0.2.62/src/unix/bsd/freebsdlike/freebsd/mod.rs.orig > > 2020-03-17 20:35:43 UTC > > ++++ cargo-crates/libc-0.2.62/src/unix/bsd/freebsdlike/freebsd/mod.rs > > +@@ -1486,6 +1486,9 @@ cfg_if! { > > + } else if #[cfg(target_arch =3D "powerpc64")] { > > + mod powerpc64; > > + pub use self::powerpc64::*; > > ++ } else if #[cfg(target_arch =3D "powerpc")] { > > ++ mod powerpc; > > ++ pub use self::powerpc::*; > > + } else { > > + // Unknown target_arch > > + } > > +--- > > cargo-crates/libc-0.2.62/src/unix/bsd/freebsdlike/freebsd/powerpc.rs.or= ig > > 2021-06-23 22:40:24 UTC > > ++++ cargo-crates/libc-0.2.62/src/unix/bsd/freebsdlike/freebsd/powerpc.= rs > > +@@ -0,0 +1,47 @@ > > ++pub type c_char =3D u8; > > ++pub type c_long =3D i32; > > ++pub type c_ulong =3D u32; > > ++pub type wchar_t =3D i32; > > ++pub type time_t =3D i64; > > ++pub type suseconds_t =3D i32; > > ++pub type register_t =3D i32; > > ++ > > ++s! { > > ++ pub struct stat { > > ++ pub st_dev: ::dev_t, > > ++ pub st_ino: ::ino_t, > > ++ pub st_mode: ::mode_t, > > ++ pub st_nlink: ::nlink_t, > > ++ pub st_uid: ::uid_t, > > ++ pub st_gid: ::gid_t, > > ++ pub st_rdev: ::dev_t, > > ++ pub st_atime: ::time_t, > > ++ pub st_atime_nsec: ::c_long, > > ++ pub st_mtime: ::time_t, > > ++ pub st_mtime_nsec: ::c_long, > > ++ pub st_ctime: ::time_t, > > ++ pub st_ctime_nsec: ::c_long, > > ++ pub st_size: ::off_t, > > ++ pub st_blocks: ::blkcnt_t, > > ++ pub st_blksize: ::blksize_t, > > ++ pub st_flags: ::fflags_t, > > ++ pub st_gen: u32, > > ++ pub st_lspare: i32, > > ++ pub st_birthtime: ::time_t, > > ++ pub st_birthtime_nsec: ::c_long, > > ++ } > > ++} > > ++ > > ++// should be pub(crate), but that requires Rust 1.18.0 > > ++cfg_if! { > > ++ if #[cfg(libc_const_size_of)] { > > ++ #[doc(hidden)] > > ++ pub const _ALIGNBYTES: usize =3D ::mem::size_of::<::c_int>() = - 1; > > ++ } else { > > ++ #[doc(hidden)] > > ++ pub const _ALIGNBYTES: usize =3D 4 - 1; > > ++ } > > ++} > > ++ > > ++pub const MAP_32BIT: ::c_int =3D 0x00080000; > > ++pub const MINSIGSTKSZ: ::size_t =3D 2048; // 512 * 4 > > >=20 >=20 > --=20 > Nuno Teixeira > FreeBSD Committer (ports) --=20 Mathieu Arnold --wwol37xx7vwbjn3j Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQITBAABCgB9FiEE9XJBpJetWizkEBUef2IOCp6dQb4FAmPczTdfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEY1 NzI0MUE0OTdBRDVBMkNFNDEwMTUxRTdGNjIwRTBBOUU5RDQxQkUACgkQf2IOCp6d Qb7e1Av8D0KT0aLYCoW2kFgOKbOPVLCzIrvEAv0UfdcLetbNyWE8Cogqws+LP353 sRV9qYlBf6SObK9JON2P+sFO1811Ui0rr4OezAOEpfGUUv8KwlbTLVxtIMM8Xa8X VufQmp7XvxEUuyQNKeXZFwHkUZProEVfwsK41SC+BEMTy6UT5HPscYXQG7UX9n6e SN+wKdFVEoG2H3+uX9q2CBCfVOQt9KstxMJDozqZoFlE4DNt8yGBPGs4OXoChhQM 1ZXg7hxniJIsl7q6XVJM9UXpIYUPw6fDgUyK2KZGozfV+ey4xWL6g2y+g+Ntol3Z N+143VVFe22koerHLqebwaFy0sIe6QsUeld7DxXqTrEz7XhhvD9KZpG5wQbHT401 oNPYSVq3pQUPxuIRolnxB9L0yhkp4whCQISOH3BU8dw3UYdXuFoFKs/vt6Scclm7 q2tmknQoDk0zbATNn+vAlv2yLHIvmj1RdO8A2wgxA9wN7Ussj+VLXB+77r97RAgN HP3k3gY9 =p3Zd -----END PGP SIGNATURE----- --wwol37xx7vwbjn3j--