From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1609728-garchives=archives.gentoo.org@lists.gentoo.org> 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 77EEE158041 for <garchives@archives.gentoo.org>; Mon, 11 Mar 2024 14:24:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 132C1E2A3A; Mon, 11 Mar 2024 14:24:14 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id E4CD0E2A3A for <gentoo-commits@lists.gentoo.org>; Mon, 11 Mar 2024 14:24: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 6D39A341E1C for <gentoo-commits@lists.gentoo.org>; Mon, 11 Mar 2024 14:24:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 411C4151B for <gentoo-commits@lists.gentoo.org>; Mon, 11 Mar 2024 14:24:09 +0000 (UTC) From: "Sam James" <sam@gentoo.org> 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" <sam@gentoo.org> Message-ID: <1710166964.d1756d21b4d9fe56cc77c031a4d28e9dd79a854b.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/f2c/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/f2c/Manifest dev-lang/f2c/f2c-20240130.ebuild X-VCS-Directories: dev-lang/f2c/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: d1756d21b4d9fe56cc77c031a4d28e9dd79a854b X-VCS-Branch: master Date: Mon, 11 Mar 2024 14:24:09 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 33a3f492-a85b-4719-a540-1baf32516508 X-Archives-Hash: 4d68b2f236be408b0115d31c911ca0d1 commit: d1756d21b4d9fe56cc77c031a4d28e9dd79a854b Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Sun Mar 10 21:34:20 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Mar 11 14:22:44 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1756d21 dev-lang/f2c: add 20240130 Stop downloading the sources from Debian. Gentoo has a perfectly good mirror network too. And Debian only packages ancient versions. We don't really need their patches either. If upstream wants a manpage, upstream will include one Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> dev-lang/f2c/Manifest | 1 + dev-lang/f2c/f2c-20240130.ebuild | 48 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/dev-lang/f2c/Manifest b/dev-lang/f2c/Manifest index 0c71c3a35293..5101abe660f2 100644 --- a/dev-lang/f2c/Manifest +++ b/dev-lang/f2c/Manifest @@ -1,2 +1,3 @@ +DIST f2c-20240130.tar.gz 285158 BLAKE2B 525f53b12f3ab8c7dd5d4156dd03569b0923df3a5af04fc56965edb18932808434944b8b99fa8c1541ff3e9d6b413441f4dd55d921b63964f8906872f1674231 SHA512 dfa702a6f05139557e1f8f6d8dd9f4b54a5b277094f5202a8f9acf83f4043a9dfae3455bbac4f5c86f6027ffbe36b334b2bc085f85d3ced43634d6face9fec45 DIST f2c_20100827-1.debian.tar.gz 15659 BLAKE2B 4773a939e51074df34b48540ed67d0bd3dce85b64d6118c480217b569bbe11a9907a7a8bf2d68f0ec5fae51c65ec29a9dafdac1a009a90b5c6d02306496a72d5 SHA512 784d3f1a74311a933b54103d36dd18eb879bef1816ea82e8d93ef5a0eb7582d4ddde3a2b764d15b78194bab4cdf940480089e8b920002134af66cdf095708535 DIST f2c_20100827.orig.tar.gz 417930 BLAKE2B 4ccd59762947de9d316520f213d33e095a559dfe914c06d58f4db21a031b6dca332d75473dbaa6a6167ef3f0459c68235fdddac3ed4dcea34e9597a8ab0ae982 SHA512 2c28d8c06e53b569816e7982725133d46e9b145a84ec51771f4cca2409098f894648ebe5b8089a1ddd8468be62394b0edb5985e50baeea8129e4f507236d6c0d diff --git a/dev-lang/f2c/f2c-20240130.ebuild b/dev-lang/f2c/f2c-20240130.ebuild new file mode 100644 index 000000000000..8ce0baf4d65a --- /dev/null +++ b/dev-lang/f2c/f2c-20240130.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Fortran to C converter" +HOMEPAGE="https://www.netlib.org/f2c" +SRC_URI=" + https://www.netlib.org/f2c/src.tgz -> ${P}.tar.gz +" + +LICENSE="HPND" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=">=dev-libs/libf2c-20130927-r1" + +S="${WORKDIR}" + +PATCHES=( + "${FILESDIR}"/${PN}-20100827-fix-buildsystem.patch +) + +src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/855593 + # Upstream bug reports are handled via email. I have sent one and + # will follow up by myself. + # + # Do not trust with LTO either + append-flags -fno-strict-aliasing + filter-lto + + tc-export CC +} + +src_compile() { + emake -C src -f makefile.u f2c +} + +src_install() { + dobin src/f2c + + dodoc src/README src/Notice + +}