summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-18 18:34:18 -0400
committerSam James <sam@gentoo.org>2024-03-19 03:20:47 +0000
commitbd15cd29fa9bb4b1e134695e6891e69c6fb3fbaf (patch)
tree3aca822c529b431d43a8c6e6eca8134e06c17934
parentapp-containers/podman-tui: add 0.18.0 and drop 0.12.0 (diff)
downloadgentoo-bd15cd29fa9bb4b1e134695e6891e69c6fb3fbaf.tar.gz
gentoo-bd15cd29fa9bb4b1e134695e6891e69c6fb3fbaf.tar.bz2
gentoo-bd15cd29fa9bb4b1e134695e6891e69c6fb3fbaf.zip
dev-lang/f2c: add 20240312
> I've made some tweaks for pedants who want to compile with > -Werror=strict-aliasing. An updated https://www.netlib.org/f2c/src.tgz > is now available. Pedantry for the win. We now have a build that is believed-safe in the presence of LTO. Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--dev-lang/f2c/Manifest1
-rw-r--r--dev-lang/f2c/f2c-20240312.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-lang/f2c/Manifest b/dev-lang/f2c/Manifest
index 5101abe660f2..861e2b882435 100644
--- a/dev-lang/f2c/Manifest
+++ b/dev-lang/f2c/Manifest
@@ -1,3 +1,4 @@
DIST f2c-20240130.tar.gz 285158 BLAKE2B 525f53b12f3ab8c7dd5d4156dd03569b0923df3a5af04fc56965edb18932808434944b8b99fa8c1541ff3e9d6b413441f4dd55d921b63964f8906872f1674231 SHA512 dfa702a6f05139557e1f8f6d8dd9f4b54a5b277094f5202a8f9acf83f4043a9dfae3455bbac4f5c86f6027ffbe36b334b2bc085f85d3ced43634d6face9fec45
+DIST f2c-20240312.tar.gz 243278 BLAKE2B 4a2e4efeb25446449339516218a37cd4561a9676ddee82b8d46add49cadefad9aa39eb62147137b9199e72c4464032b90d4be25d784156cdf1a85bcbca471f9a SHA512 4af5d453b4635416f0a38cfa2bafd78d82f77a403e85d4041b18a8a7c20beadc979303c1cae2c3a89be0f5381497cedf65af618661c27af1e79141688914e69a
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-20240312.ebuild b/dev-lang/f2c/f2c-20240312.ebuild
new file mode 100644
index 000000000000..8012b448dba8
--- /dev/null
+++ b/dev-lang/f2c/f2c-20240312.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit 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() {
+ tc-export CC
+}
+
+src_compile() {
+ emake -C src -f makefile.u f2c
+}
+
+src_install() {
+ dobin src/f2c
+
+ dodoc src/README src/Notice
+
+}