diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
| commit | a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch) | |
| tree | 0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-libs/libf2c | |
| parent | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff) | |
| download | baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip | |
Adding metadata
Diffstat (limited to 'dev-libs/libf2c')
| -rw-r--r-- | dev-libs/libf2c/Manifest | 1 | ||||
| -rw-r--r-- | dev-libs/libf2c/files/20051004-add-ofiles-dep.patch | 13 | ||||
| -rw-r--r-- | dev-libs/libf2c/files/20240130-link-shared-libf2c-correctly.patch | 13 | ||||
| -rw-r--r-- | dev-libs/libf2c/files/libf2c-20110801-64bit-long.patch | 57 | ||||
| -rw-r--r-- | dev-libs/libf2c/files/libf2c-20110801-main.patch | 40 | ||||
| -rw-r--r-- | dev-libs/libf2c/files/libf2c-20240130-fix-buildsystem.patch | 66 | ||||
| -rw-r--r-- | dev-libs/libf2c/libf2c-20240130.ebuild | 54 | ||||
| -rw-r--r-- | dev-libs/libf2c/metadata.xml | 8 |
8 files changed, 0 insertions, 252 deletions
diff --git a/dev-libs/libf2c/Manifest b/dev-libs/libf2c/Manifest deleted file mode 100644 index 7c337e0bb166..000000000000 --- a/dev-libs/libf2c/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST libf2c-20240130.zip 130671 BLAKE2B 3e8b989064e677d9725a703870b14531ea045b8ef167b11218687def75068c2b59997726acf4c3e5c0b20e024754f9207ffc9354b6feeb46414b59d99e7ec896 SHA512 596bd0017e0c4b61191200a0bc788777585049eb939c528625349404cc8d9bbd0957efecd79077c487fdff5fc7e435189574b2c495cafaa6006dd2585b13960a diff --git a/dev-libs/libf2c/files/20051004-add-ofiles-dep.patch b/dev-libs/libf2c/files/20051004-add-ofiles-dep.patch deleted file mode 100644 index 909fc19033db..000000000000 --- a/dev-libs/libf2c/files/20051004-add-ofiles-dep.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- a/makefile.u -+++ b/makefile.u -@@ -69,7 +69,9 @@ - OFILES = $(MISC) $(POW) $(CX) $(DCX) $(REAL) $(DBL) $(INT) \ - $(HALF) $(CMP) $(EFL) $(CHAR) $(I77) $(TIME) - --all: f2c.h signal1.h sysdep1.h libf2c.a -+all: libf2c.a -+ -+$(OFILES): f2c.h signal1.h sysdep1.h - - libf2c.a: $(OFILES) - ar r libf2c.a $? diff --git a/dev-libs/libf2c/files/20240130-link-shared-libf2c-correctly.patch b/dev-libs/libf2c/files/20240130-link-shared-libf2c-correctly.patch deleted file mode 100644 index 9b58139b91a9..000000000000 --- a/dev-libs/libf2c/files/20240130-link-shared-libf2c-correctly.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/makefile.u b/makefile.u -index a1cb700..6d5fb78 100644 ---- a/makefile.u -+++ b/makefile.u -@@ -88,7 +88,7 @@ libf2c.a: $(OFILES) - ## arrange for $DYLD_LIBRARY_PATH to include the directory containing libf2c.so. - - libf2c.so: $(OFILES) -- $(CC) $(LDFLAGS) -shared -o libf2c.so $(OFILES) -+ $(CC) $(LDFLAGS) -shared -Wl,-soname,libf2c.so.2 -o libf2c.so.2 -lm $(OFILES) - - ### If your system lacks ranlib, you don't need it; see README. - diff --git a/dev-libs/libf2c/files/libf2c-20110801-64bit-long.patch b/dev-libs/libf2c/files/libf2c-20110801-64bit-long.patch deleted file mode 100644 index cc42465bb7ce..000000000000 --- a/dev-libs/libf2c/files/libf2c-20110801-64bit-long.patch +++ /dev/null @@ -1,57 +0,0 @@ ---- a/f2c.h0 -+++ b/f2c.h0 -@@ -7,21 +7,35 @@ - #ifndef F2C_INCLUDE - #define F2C_INCLUDE - -+#if defined(__alpha__) || defined(__sparc64__) || defined(__x86_64__) || defined(__ia64__) -+typedef int integer; -+typedef unsigned int uinteger; -+#else - typedef long int integer; - typedef unsigned long int uinteger; -+#endif - typedef char *address; - typedef short int shortint; - typedef float real; - typedef double doublereal; - typedef struct { real r, i; } complex; - typedef struct { doublereal r, i; } doublecomplex; -+#if defined(__alpha__) || defined(__sparc64__) || defined(__x86_64__) || defined(__ia64__) -+typedef int logical; -+#else - typedef long int logical; -+#endif - typedef short int shortlogical; - typedef char logical1; - typedef char integer1; - #ifdef INTEGER_STAR_8 /* Adjust for integer*8. */ --typedef long long longint; /* system-dependent */ --typedef unsigned long long ulongint; /* system-dependent */ -+#if defined(__alpha__) || defined(__sparc64__) || defined(__x86_64__) || defined(__ia64__) -+typedef long longint; /* system-dependent */ -+typedef unsigned long ulongint; /* system-dependent */ -+#else -+typedef long long longint; /* system-dependent - oh yeah*/ -+typedef unsigned long long ulongint; /* system-dependent - oh yeah*/ -+#endif - #define qbit_clear(a,b) ((a) & ~((ulongint)1 << (b))) - #define qbit_set(a,b) ((a) | ((ulongint)1 << (b))) - #endif -@@ -42,10 +56,16 @@ - typedef short ftnlen; - typedef short ftnint; - #else -+#if defined(__alpha__) || defined(__sparc64__) || defined(__x86_64__) || defined(__ia64__) -+typedef int flag; -+typedef int ftnlen; -+typedef int ftnint; -+#else - typedef long int flag; - typedef long int ftnlen; - typedef long int ftnint; - #endif -+#endif - - /*external read, write*/ - typedef struct diff --git a/dev-libs/libf2c/files/libf2c-20110801-main.patch b/dev-libs/libf2c/files/libf2c-20110801-main.patch deleted file mode 100644 index 36d61c5c5a4c..000000000000 --- a/dev-libs/libf2c/files/libf2c-20110801-main.patch +++ /dev/null @@ -1,40 +0,0 @@ -Add weak alias for MAIN__ - -https://bugs.gentoo.org/show_bug.cgi?id=421975 -https://bugs.gentoo.org/show_bug.cgi?id=433782 -https://groups.google.com/forum/#!msg/comp.os.linux.development.apps/41siJKfcJ78/iIcRfZ4y9G8J - -Patch written by Chris Reffett <creffett@gentoo.org> -and Kacper Kowalik <xarthisius@gentoo.org> ---- a/makefile.u -+++ b/makefile.u -@@ -27,7 +27,7 @@ - ## If your system does not have the x86_64-pc-linux-gnu-ld command, comment out - ## or remove both the x86_64-pc-linux-gnu-ld and mv lines above. - --MISC = f77vers.o i77vers.o main.o s_rnge.o abort_.o exit_.o getarg_.o iargc_.o\ -+MISC = f77vers.o i77vers.o main.o main_foo.o s_rnge.o abort_.o exit_.o getarg_.o iargc_.o\ - getenv_.o signal_.o s_stop.o s_paus.o system_.o cabs.o ctype.o\ - derf_.o derfc_.o erf_.o erfc_.o sig_die.o uninit.o - POW = pow_ci.o pow_dd.o pow_di.o pow_hh.o pow_ii.o pow_ri.o pow_zi.o pow_zz.o -@@ -206,7 +206,7 @@ - i77vers.c i_abs.c i_dim.c i_dnnt.c i_indx.c i_len.c i_mod.c \ - i_nint.c i_sign.c iargc_.c iio.c ilnw.c inquire.c l_ge.c l_gt.c \ - l_le.c l_lt.c lbitbits.c lbitshft.c libf2c.lbc libf2c.sy lio.h \ -- lread.c lwrite.c main.c makefile.sy makefile.u makefile.vc \ -+ lread.c lwrite.c main.c main_foo.c makefile.sy makefile.u makefile.vc \ - makefile.wat math.hvc mkfile.plan9 open.c pow_ci.c pow_dd.c \ - pow_di.c pow_hh.c pow_ii.c pow_qq.c pow_ri.c pow_zi.c pow_zz.c \ - qbitbits.c qbitshft.c r_abs.c r_acos.c r_asin.c r_atan.c r_atn2.c \ ---- /dev/null -+++ b/main_foo.c -@@ -0,0 +1,9 @@ -+#include <stdio.h> -+#include <stdlib.h> -+ -+void missing_MAIN__ (void) -+{ -+ fprintf(stderr, "The Fortran main program is missing.\n"); -+ abort(); -+} -+void MAIN__ (void) __attribute__ ((weak, alias("missing_MAIN__"))); diff --git a/dev-libs/libf2c/files/libf2c-20240130-fix-buildsystem.patch b/dev-libs/libf2c/files/libf2c-20240130-fix-buildsystem.patch deleted file mode 100644 index 1398c843507b..000000000000 --- a/dev-libs/libf2c/files/libf2c-20240130-fix-buildsystem.patch +++ /dev/null @@ -1,66 +0,0 @@ -From c398f9cc0504c33de034e68a8d402a5ad301c19f Mon Sep 17 00:00:00 2001 -From: Eli Schwartz <eschwartz93@gmail.com> -Date: Sun, 10 Mar 2024 17:54:11 -0400 -Subject: [PATCH] import libf2c-20130927-fix-buildsystem.patch and fix up - ---- - makefile.u | 18 +++++++----------- - 1 file changed, 7 insertions(+), 11 deletions(-) - -diff --git a/makefile.u b/makefile.u -index a271e5c..e8c8485 100644 ---- a/makefile.u -+++ b/makefile.u -@@ -12,16 +12,12 @@ - # -fPIC - # to the CFLAGS = line below. - --.SUFFIXES: .c .o --CC = cc - SHELL = /bin/sh --CFLAGS = -O - - # compile, then strip unnecessary symbols - .c.o: -- $(CC) -c -DSkip_f2c_Undefs $(CFLAGS) $*.c -- ld -r -x -o $*.xxx $*.o -- mv $*.xxx $*.o -+ $(CC) -c $(CPPFLAGS) $(CFLAGS) -DSkip_f2c_Undefs $< -o $@ -+ - ## Under Solaris (and other systems that do not understand ld -x), - ## omit -x in the ld line above. - ## If your system does not have the ld command, comment out -@@ -72,8 +68,8 @@ OFILES = $(MISC) $(POW) $(CX) $(DCX) $(REAL) $(DBL) $(INT) \ - all: f2c.h signal1.h sysdep1.h libf2c.a - - libf2c.a: $(OFILES) -- ar r libf2c.a $? -- -ranlib libf2c.a -+ $(AR) r libf2c.a $? -+ $(RANLIB) libf2c.a - - ## Shared-library variant: the following rule works on Linux - ## systems. Details are system-dependent. Under Linux, -fPIC -@@ -126,7 +122,7 @@ fio.h: fio.h0 sysdep1.h - - install: libf2c.a - cp libf2c.a $(LIBDIR) -- -ranlib $(LIBDIR)/libf2c.a -+ $(RANLIB) $(LIBDIR)/libf2c.a - - clean: - rm -f libf2c.a *.o arith.h signal1.h sysdep1.h -@@ -186,8 +182,8 @@ xwsne.o: lio.h - xwsne.o: fmt.h - - arith.h: arithchk.c -- $(CC) $(CFLAGS) -DNO_FPINIT arithchk.c -lm ||\ -- $(CC) -DNO_LONG_LONG $(CFLAGS) -DNO_FPINIT arithchk.c -lm -+ $(CC) $(CPPFLAGS) $(CFLAGS) -DNO_FPINIT arithchk.c -lm ||\ -+ $(CC) -DNO_LONG_LONG $(CPPFLAGS) $(CFLAGS) -DNO_FPINIT arithchk.c -lm - ./a.out >arith.h - rm -f a.out arithchk.o - --- -2.43.2 - diff --git a/dev-libs/libf2c/libf2c-20240130.ebuild b/dev-libs/libf2c/libf2c-20240130.ebuild deleted file mode 100644 index 8b93f80f6c14..000000000000 --- a/dev-libs/libf2c/libf2c-20240130.ebuild +++ /dev/null @@ -1,54 +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="Library that converts FORTRAN to C source" -HOMEPAGE="http://www.netlib.org/f2c/" -SRC_URI="http://www.netlib.org/f2c/${PN}.zip -> ${P}.zip" - -LICENSE="HPND" -SLOT="0" -KEYWORDS="amd64 ppc ppc64 x86" -IUSE="static-libs" - -BDEPEND="app-arch/unzip" - -S="${WORKDIR}" - -PATCHES=( - "${FILESDIR}"/20051004-add-ofiles-dep.patch - "${FILESDIR}"/20240130-link-shared-libf2c-correctly.patch - "${FILESDIR}"/${PN}-20110801-main.patch - "${FILESDIR}"/${PN}-20110801-64bit-long.patch - "${FILESDIR}"/${PN}-20240130-fix-buildsystem.patch -) - -src_configure() { - tc-export AR CC RANLIB -} - -src_compile() { - if use static-libs; then - emake -f makefile.u all - # Clean up files so we can recompile - # with -fPIC for the shared lib - rm -v *.o || die "clean failed" - fi - - append-cflags -fPIC - emake -f makefile.u libf2c.so -} - -src_install() { - doheader f2c.h - - dolib.so libf2c.so.2 - dosym libf2c.so.2 /usr/$(get_libdir)/libf2c.so - use static-libs && dolib.a libf2c.a - - einstalldocs - dodoc Notice -} diff --git a/dev-libs/libf2c/metadata.xml b/dev-libs/libf2c/metadata.xml deleted file mode 100644 index 7d3acaf5d252..000000000000 --- a/dev-libs/libf2c/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> -</pkgmetadata> |
