[gentoo-commits] repo/gentoo:master commit in: dev-lang/f2c/

2024-12-02 Thread Jakov Smolić
commit: 39b2331fe9df4dcb99e9d70de6f966826496001c
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon Dec  2 13:14:33 2024 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon Dec  2 13:14:33 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39b2331f

dev-lang/f2c: Stabilize 20240312 x86, #945566

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-lang/f2c/f2c-20240312.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/f2c/f2c-20240312.ebuild b/dev-lang/f2c/f2c-20240312.ebuild
index 04f5e3d69d4d..3dc42571e58c 100644
--- a/dev-lang/f2c/f2c-20240312.ebuild
+++ b/dev-lang/f2c/f2c-20240312.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="HPND"
 SLOT="0"
-KEYWORDS="~amd64 ppc ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux"
 
 RDEPEND=">=dev-libs/libf2c-20130927-r1"
 



[gentoo-commits] repo/gentoo:master commit in: dev-lang/f2c/

2024-12-01 Thread Arthur Zamarin
commit: 01bb958e5ba740454775d02e3d850827a58fd1ec
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Dec  1 19:01:55 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Dec  1 19:01:55 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01bb958e

dev-lang/f2c: Stabilize 20240312 ppc64, #945566

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-lang/f2c/f2c-20240312.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/f2c/f2c-20240312.ebuild b/dev-lang/f2c/f2c-20240312.ebuild
index 46723a1ae232..04f5e3d69d4d 100644
--- a/dev-lang/f2c/f2c-20240312.ebuild
+++ b/dev-lang/f2c/f2c-20240312.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
 
 LICENSE="HPND"
 SLOT="0"
-KEYWORDS="~amd64 ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ppc ppc64 ~x86 ~amd64-linux ~x86-linux"
 
 RDEPEND=">=dev-libs/libf2c-20130927-r1"
 



[gentoo-commits] repo/gentoo:master commit in: dev-lang/f2c/

2024-03-18 Thread Sam James
commit: 46b7d49dd1357cf90659e967ce9e549270c6c78e
Author: Eli Schwartz  gmail  com>
AuthorDate: Mon Mar 18 22:41:49 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 19 03:20:47 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46b7d49d

dev-lang/f2c: update EAPI 7 -> 8

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 dev-lang/f2c/f2c-20240312.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/f2c/f2c-20240312.ebuild b/dev-lang/f2c/f2c-20240312.ebuild
index 8012b448dba8..89c0a85ceab8 100644
--- a/dev-lang/f2c/f2c-20240312.ebuild
+++ b/dev-lang/f2c/f2c-20240312.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit toolchain-funcs
 



[gentoo-commits] repo/gentoo:master commit in: dev-lang/f2c/

2024-03-18 Thread Sam James
commit: bd15cd29fa9bb4b1e134695e6891e69c6fb3fbaf
Author: Eli Schwartz  gmail  com>
AuthorDate: Mon Mar 18 22:34:18 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 19 03:20:47 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd15cd29

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  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 dev-lang/f2c/Manifest|  1 +
 dev-lang/f2c/f2c-20240312.ebuild | 39 +++
 2 files changed, 40 insertions(+)

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 ..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
+
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/f2c/

2024-03-11 Thread Sam James
commit: d1756d21b4d9fe56cc77c031a4d28e9dd79a854b
Author: Eli Schwartz  gmail  com>
AuthorDate: Sun Mar 10 21:34:20 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 11 14:22:44 2024 +
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  gmail.com>
Signed-off-by: Sam James  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 ..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
+
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/f2c/

2024-03-11 Thread Sam James
commit: 53f4ada671ac57f4373b73061aa188a04c95a0c6
Author: Eli Schwartz  gmail  com>
AuthorDate: Sun Mar 10 21:33:43 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar 11 14:22:43 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53f4ada6

dev-lang/f2c: mark as LTO-unsafe, strict-aliasing unsafe

Closes: https://bugs.gentoo.org/855593
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 dev-lang/f2c/f2c-20100827-r1.ebuild | 10 --
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/dev-lang/f2c/f2c-20100827-r1.ebuild 
b/dev-lang/f2c/f2c-20100827-r1.ebuild
index 9293b9d5a313..ef0a15a3ef97 100644
--- a/dev-lang/f2c/f2c-20100827-r1.ebuild
+++ b/dev-lang/f2c/f2c-20100827-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 DEB_PV=20100827
 DEB_PR=1
@@ -35,6 +35,12 @@ PATCHES=(
 )
 
 src_configure() {
+   # -Werror=strict-aliasing
+   # https://bugs.gentoo.org/855593
+   #
+   append-flags -fno-strict-aliasing
+   filter-lto
+
tc-export CC
 }
 



[gentoo-commits] repo/gentoo:master commit in: dev-lang/f2c/

2020-06-11 Thread David Seifert
commit: c18ca32990a2c02fd212896c044553526d114ddd
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Thu Jun 11 12:25:12 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu Jun 11 12:25:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c18ca329

dev-lang/f2c: use HTTPS

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Michael Mair-Keimberger  gmail.com>
Signed-off-by: David Seifert  gentoo.org>

 dev-lang/f2c/f2c-20100827-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-lang/f2c/f2c-20100827-r1.ebuild 
b/dev-lang/f2c/f2c-20100827-r1.ebuild
index b80f393e97f..9293b9d5a31 100644
--- a/dev-lang/f2c/f2c-20100827-r1.ebuild
+++ b/dev-lang/f2c/f2c-20100827-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -10,7 +10,7 @@ DEB_PR=1
 DEB_P=${PN}_${DEB_PV}
 
 DESCRIPTION="Fortran to C converter"
-HOMEPAGE="http://www.netlib.org/f2c";
+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"



[gentoo-commits] repo/gentoo:master commit in: dev-lang/f2c/

2019-09-09 Thread David Seifert
commit: 11a76d14b7e2ee0634cfd6ac6a9794a215fc92e2
Author: David Seifert  gentoo  org>
AuthorDate: Mon Sep  9 09:08:34 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon Sep  9 09:08:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11a76d14

dev-lang/f2c: Remove old

Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: David Seifert  gentoo.org>

 dev-lang/f2c/Manifest|  1 -
 dev-lang/f2c/f2c-20060507.ebuild | 38 --
 dev-lang/f2c/f2c-20100827.ebuild | 50 
 3 files changed, 89 deletions(-)

diff --git a/dev-lang/f2c/Manifest b/dev-lang/f2c/Manifest
index 83cd3e38828..0c71c3a3529 100644
--- a/dev-lang/f2c/Manifest
+++ b/dev-lang/f2c/Manifest
@@ -1,3 +1,2 @@
-DIST f2c-20060507.tar.bz2 186677 BLAKE2B 
972b55dc95372fc479d6fabd91b495bf4d7e055755c2f9fc5197045207bf8b494948b89c441ae9930c7a247e91707b379f2747e1d9299d04f0b27086bdd1248e
 SHA512 
d0c9019b65a8ad2fd769ada596646a1cd9b682dcc8afa2cd99081376d967fbe959186a38d74570ab4bcce7622c58c8c10042948fa56e0a7080b12111c2b99b1e
 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-20060507.ebuild b/dev-lang/f2c/f2c-20060507.ebuild
deleted file mode 100644
index 32862f0a737..000
--- a/dev-lang/f2c/f2c-20060507.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Fortran to C converter"
-HOMEPAGE="http://www.netlib.org/f2c";
-#SRC_URI="ftp://netlib.bell-labs.com/netlib/f2c/src.tar";
-# To create, download src.tar, ungzip everything inside, then tar.bz2 the whole
-# thing.
-SRC_URI="mirror://gentoo/${P}.tar.bz2"
-
-LICENSE="HPND"
-SLOT="0"
-KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
-IUSE=""
-
-RDEPEND="dev-libs/libf2c"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/src"
-
-src_compile() {
-   emake \
-   -f makefile.u \
-   CC=$(tc-getCC) \
-   CFLAGS="${CFLAGS}" \
-   || die "make failed"
-}
-
-src_install() {
-   mv -f f2c.1t f2c.1
-   doman f2c.1
-   dobin f2c
-   dodoc README Notice
-}

diff --git a/dev-lang/f2c/f2c-20100827.ebuild b/dev-lang/f2c/f2c-20100827.ebuild
deleted file mode 100644
index 0b14e397a54..000
--- a/dev-lang/f2c/f2c-20100827.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit eutils toolchain-funcs
-
-DEB_PV=20100827
-DEB_PR=1
-DEB_P=${PN}_${DEB_PV}
-
-DESCRIPTION="Fortran to C converter"
-HOMEPAGE="http://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 ~x86-fbsd ~amd64-linux ~x86-linux"
-IUSE="doc"
-
-RDEPEND="dev-libs/libf2c"
-DEPEND=""
-
-S="${WORKDIR}/${PN}"
-
-src_prepare() {
-   # selective list of patches from debian
-   epatch \
-   "${WORKDIR}"/debian/patches/-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
-   sed -i -e '/^CC/d' -e '/^CFLAGS/d' src/makefile.u || die
-   tc-export CC
-}
-
-src_compile() {
-   emake -C src -f makefile.u
-}
-
-src_install() {
-   doman f2c.1
-   use doc && dodoc f2c.pdf
-   newdoc "${WORKDIR}"/debian/changelog debian.changelog
-   cd src
-   dobin f2c
-   dodoc README Notice
-}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/f2c/

2019-09-08 Thread Agostino Sarubbo
commit: d873c445a08569afbe8d8da76039d2d55823dd5b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Sep  9 05:54:07 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Sep  9 05:54:07 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d873c445

dev-lang/f2c: amd64 stable wrt bug #693672

Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-lang/f2c/f2c-20100827-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/f2c/f2c-20100827-r1.ebuild 
b/dev-lang/f2c/f2c-20100827-r1.ebuild
index e310fd75eab..5d8216b1ff0 100644
--- a/dev-lang/f2c/f2c-20100827-r1.ebuild
+++ b/dev-lang/f2c/f2c-20100827-r1.ebuild
@@ -17,7 +17,7 @@ SRC_URI="
 
 LICENSE="HPND"
 SLOT="0"
-KEYWORDS="~amd64 ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
 
 RDEPEND=">=dev-libs/libf2c-20130927-r1"
 



[gentoo-commits] repo/gentoo:master commit in: dev-lang/f2c/

2019-09-08 Thread Sergei Trofimovich
commit: 99111605d832687944f915f37f7821e4dcfe6348
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Sep  8 18:30:02 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Sep  8 18:30:02 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99111605

dev-lang/f2c: stable 20100827-r1 for ppc64, bug #693672

Package-Manager: Portage-2.3.75, Repoman-2.3.17
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-lang/f2c/f2c-20100827-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/f2c/f2c-20100827-r1.ebuild 
b/dev-lang/f2c/f2c-20100827-r1.ebuild
index 549b726dc01..e310fd75eab 100644
--- a/dev-lang/f2c/f2c-20100827-r1.ebuild
+++ b/dev-lang/f2c/f2c-20100827-r1.ebuild
@@ -17,7 +17,7 @@ SRC_URI="
 
 LICENSE="HPND"
 SLOT="0"
-KEYWORDS="~amd64 ppc ~ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
 
 RDEPEND=">=dev-libs/libf2c-20130927-r1"
 



[gentoo-commits] repo/gentoo:master commit in: dev-lang/f2c/

2019-09-08 Thread Sergei Trofimovich
commit: a4f598935b4cd1c379f3cf6f507ce72be43aac9b
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Sep  8 18:26:05 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Sep  8 18:26:05 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4f59893

dev-lang/f2c: stable 20100827-r1 for ppc, bug #693672

Package-Manager: Portage-2.3.75, Repoman-2.3.17
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-lang/f2c/f2c-20100827-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/f2c/f2c-20100827-r1.ebuild 
b/dev-lang/f2c/f2c-20100827-r1.ebuild
index 24cb6c9722e..549b726dc01 100644
--- a/dev-lang/f2c/f2c-20100827-r1.ebuild
+++ b/dev-lang/f2c/f2c-20100827-r1.ebuild
@@ -17,7 +17,7 @@ SRC_URI="
 
 LICENSE="HPND"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ppc ~ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
 
 RDEPEND=">=dev-libs/libf2c-20130927-r1"
 



[gentoo-commits] repo/gentoo:master commit in: dev-lang/f2c/, dev-lang/f2c/files/

2019-09-07 Thread David Seifert
commit: 1e69d70fdc5e3588b243fa6701512f61d387daec
Author: David Seifert  gentoo  org>
AuthorDate: Sat Sep  7 11:55:58 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Sep  7 11:55:58 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e69d70f

dev-lang/f2c: Port to EAPI 7

Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: David Seifert  gentoo.org>

 dev-lang/f2c/f2c-20100827-r1.ebuild| 53 ++
 ...c-20100827-Wimplicit-function-declaration.patch | 10 
 .../f2c/files/f2c-20100827-fix-buildsystem.patch   | 28 
 3 files changed, 91 insertions(+)

diff --git a/dev-lang/f2c/f2c-20100827-r1.ebuild 
b/dev-lang/f2c/f2c-20100827-r1.ebuild
new file mode 100644
index 000..dd624e40d48
--- /dev/null
+++ b/dev-lang/f2c/f2c-20100827-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DEB_PV=20100827
+DEB_PR=1
+DEB_P=${PN}_${DEB_PV}
+
+DESCRIPTION="Fortran to C converter"
+HOMEPAGE="http://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 ~x86-fbsd ~amd64-linux ~x86-linux"
+
+RDEPEND=">=dev-libs/libf2c-20130927-r1"
+
+S="${WORKDIR}/${PN}"
+
+PATCHES=(
+   # selective list of patches from debian
+   "${WORKDIR}"/debian/patches/-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() {
+   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
+}

diff --git 
a/dev-lang/f2c/files/f2c-20100827-Wimplicit-function-declaration.patch 
b/dev-lang/f2c/files/f2c-20100827-Wimplicit-function-declaration.patch
new file mode 100644
index 000..901bcd50706
--- /dev/null
+++ b/dev-lang/f2c/files/f2c-20100827-Wimplicit-function-declaration.patch
@@ -0,0 +1,10 @@
+--- a/src/sysdeptest.c
 b/src/sysdeptest.c
+@@ -2,6 +2,7 @@
+ /* presence of mkdtemp and mkstemp by whether this links without error. */
+ 
+ #include 
++#include 
+ #include 
+ 
+  int

diff --git a/dev-lang/f2c/files/f2c-20100827-fix-buildsystem.patch 
b/dev-lang/f2c/files/f2c-20100827-fix-buildsystem.patch
new file mode 100644
index 000..56fbb869fc2
--- /dev/null
+++ b/dev-lang/f2c/files/f2c-20100827-fix-buildsystem.patch
@@ -0,0 +1,28 @@
+--- a/src/makefile.u
 b/src/makefile.u
+@@ -1,15 +1,10 @@
+ # Makefile for f2c, a Fortran 77 to C converter
+ 
+ .SUFFIXES: .c .o
+-CC = cc
+-CFLAGS = -O
+ SHELL = /bin/sh
+ YACC = yacc
+ YFLAGS =
+ 
+-.c.o:
+-  $(CC) -c $(CFLAGS) $*.c
+-
+ OBJECTSd = main.o init.o gram.o lex.o proc.o equiv.o data.o format.o \
+ expr.o exec.o intr.o io.o misc.o error.o mem.o names.o \
+ output.o p1output.o pread.o put.o putpcc.o vax.o formatdata.o \
+@@ -100,9 +95,6 @@
+   parse.h parse_args.c pccdefs.h pread.c proc.c put.c putpcc.c \
+   sysdep.c sysdep.h sysdeptest.c tokens usignal.h vax.c version.c xsum.c
+ 
+-xsum: xsum.c
+-  $(CC) $(CFLAGS) -o xsum xsum.c
+-
+ #Check validity of transmitted source...
+ xsum.out: xsum $b
+   ./xsum $b >xsum1.out