dev-lang/f2c: drop 20100827-r1, 20240130, EAPI=7--

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2025-11-08 08:28:41 +02:00
parent 0ff1731690
commit 7c9e7ea290
4 changed files with 0 additions and 120 deletions

View File

@@ -1,4 +1 @@
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

View File

@@ -1,59 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit flag-o-matic toolchain-funcs
DEB_PV=20100827
DEB_PR=1
DEB_P=${PN}_${DEB_PV}
DESCRIPTION="Fortran to C converter"
HOMEPAGE="https://www.netlib.org/f2c"
SRC_URI="
mirror://debian/pool/main/${PN:0:1}/${PN}/${DEB_P}.orig.tar.gz
mirror://debian/pool/main/${PN:0:1}/${PN}/${DEB_P}-${DEB_PR}.debian.tar.gz"
LICENSE="HPND"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux"
RDEPEND=">=dev-libs/libf2c-20130927-r1"
S="${WORKDIR}/${PN}"
PATCHES=(
# selective list of patches from debian
"${WORKDIR}"/debian/patches/0000-prequilt-tweaks.patch
"${WORKDIR}"/debian/patches/0002-prototype-rmdir.patch
"${WORKDIR}"/debian/patches/0003-struct-init-braces.patch
"${WORKDIR}"/debian/patches/0004-man-dash-hyphen-slash.patch
"${FILESDIR}"/${PN}-20100827-fix-buildsystem.patch
"${FILESDIR}"/${PN}-20100827-Wimplicit-function-declaration.patch
)
src_configure() {
# -Werror=strict-aliasing
# https://bugs.gentoo.org/855593
#
append-flags -fno-strict-aliasing
filter-lto
tc-export CC
}
src_compile() {
emake -C src -f makefile.u f2c
}
src_install() {
dobin src/f2c
doman f2c.1
dodoc src/README src/Notice
dodoc f2c.pdf
newdoc "${WORKDIR}"/debian/changelog debian.changelog
}

View File

@@ -1,48 +0,0 @@
# 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
}

View File

@@ -1,10 +0,0 @@
--- a/src/sysdeptest.c
+++ b/src/sysdeptest.c
@@ -2,6 +2,7 @@
/* presence of mkdtemp and mkstemp by whether this links without error. */
#include <stdio.h>
+#include <stdlib.h>
#include <unistd.h>
int