summaryrefslogtreecommitdiff
path: root/sci-mathematics/yafu
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /sci-mathematics/yafu
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'sci-mathematics/yafu')
-rw-r--r--sci-mathematics/yafu/Manifest1
-rw-r--r--sci-mathematics/yafu/files/yafu-1.34.3-fix-makefiles.patch75
-rw-r--r--sci-mathematics/yafu/files/yafu-1.34.3-mpz_set.patch14
-rw-r--r--sci-mathematics/yafu/metadata.xml8
-rw-r--r--sci-mathematics/yafu/yafu-1.34.3-r2.ebuild51
5 files changed, 0 insertions, 149 deletions
diff --git a/sci-mathematics/yafu/Manifest b/sci-mathematics/yafu/Manifest
deleted file mode 100644
index fde23a47b942..000000000000
--- a/sci-mathematics/yafu/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST yafu-1.34-src.zip 686655 BLAKE2B 6c5ccb587aeacf4c72c7969d409846ad768f2f7ec1c7c100372617ce75c00a6d61a0a00691f6ebce4de1250e00cb4abe4abeee5278d2aab19d0d8861c8bd1916 SHA512 f8afba77e0286c579b4152517ba3a0b6b85d43606e4fafc653dc06b7f7c2aba0f8f3c65b38f3496657495bff476dd4cc8e06daaad8a7a78a36fc6e1c0cf046a4
diff --git a/sci-mathematics/yafu/files/yafu-1.34.3-fix-makefiles.patch b/sci-mathematics/yafu/files/yafu-1.34.3-fix-makefiles.patch
deleted file mode 100644
index d077c7308bd2..000000000000
--- a/sci-mathematics/yafu/files/yafu-1.34.3-fix-makefiles.patch
+++ /dev/null
@@ -1,75 +0,0 @@
-Conglomerates previous makefile fix, seds and fixes to let toolchain
-compiler and settings be used to the build system.
-Removes non-existing include and library directories that arose as result
-of initial development on mingw with hand-build dependencies.
-Replaces wrong default path to system ggnfs from "same directory" to "system binaries"
-Was sed:
-sed -i -e 's~strcpy(fobj->nfs_obj.ggnfs_dir,"./");~strcpy(fobj->nfs_obj.ggnfs_dir,"/usr/bin/");~' factor/factor_common.c || die
-Must somehow include EPREFIX there...
---- a/Makefile
-+++ b/Makefile
-@@ -17,20 +17,13 @@
- # --bbuhrow@gmail.com 7/28/09
- # ----------------------------------------------------------------------*/
-
--CC = gcc
- #CC = x86_64-w64-mingw32-gcc-4.5.1
- #CFLAGS = -march=core2 -mtune=core2
--CFLAGS = -g
- WARN_FLAGS = -Wall # -Wconversion
--OPT_FLAGS = -O3
- INC = -I. -Iinclude
-
- # modify these for your particular gmp/gmp-ecm installation
--INC += -I../gmp/include
--LIBS += -L../gmp/lib/linux/x86_64
-
--INC += -I../gmp-ecm/include
--LIBS += -L../gmp-ecm/lib/linux/x86_64
-
- ifeq ($(STATIC),1)
- CFLAGS += -static
-@@ -39,8 +32,6 @@
- ifeq ($(PROFILE),1)
- CFLAGS += -pg
- CFLAGS += -DPROFILING
--else
-- OPT_FLAGS += -fomit-frame-pointer
- endif
-
- # if this option is specified then compile *both* the sse2 and sse4.1 versions of the
-@@ -87,7 +78,7 @@
- CFLAGS += -mtune=core2 -march=core2
- endif
-
--LIBS += -lecm -lgmp
-+LIBS += -lecm -lgmp -lgomp
-
- CFLAGS += $(OPT_FLAGS) $(WARN_FLAGS) $(INC)
-
-@@ -232,10 +223,10 @@
- @echo "add 'PROFILE=1' to make with profiling enabled (slower) "
-
- x86: $(MSIEVE_OBJS) $(YAFU_OBJS) $(YAFU_NFS_OBJS)
-- $(CC) -m32 $(CFLAGS) $(MSIEVE_OBJS) $(YAFU_OBJS) $(YAFU_NFS_OBJS) -o yafu $(LIBS)
-+ $(CC) $(LDFLAGS) -m32 $(CFLAGS) $(MSIEVE_OBJS) $(YAFU_OBJS) $(YAFU_NFS_OBJS) -o yafu $(LIBS)
-
- x86_64: $(MSIEVE_OBJS) $(YAFU_OBJS) $(YAFU_NFS_OBJS)
-- $(CC) $(CFLAGS) $(MSIEVE_OBJS) $(YAFU_OBJS) $(YAFU_NFS_OBJS) -o yafu $(LIBS)
-+ $(CC) $(LDFLAGS) $(CFLAGS) $(MSIEVE_OBJS) $(YAFU_OBJS) $(YAFU_NFS_OBJS) -o yafu $(LIBS)
-
-
- clean:
-
---- a/factor/factor_common.c
-+++ b/factor/factor_common.c
-@@ -296,7 +296,7 @@
- #elif defined(WIN32)
- strcpy(fobj->nfs_obj.ggnfs_dir,".\\");
- #else
-- strcpy(fobj->nfs_obj.ggnfs_dir,"./");
-+ strcpy(fobj->nfs_obj.ggnfs_dir,"/usr/bin/");
- #endif
-
- //initialize autofactor object
-
diff --git a/sci-mathematics/yafu/files/yafu-1.34.3-mpz_set.patch b/sci-mathematics/yafu/files/yafu-1.34.3-mpz_set.patch
deleted file mode 100644
index 523fef69745e..000000000000
--- a/sci-mathematics/yafu/files/yafu-1.34.3-mpz_set.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-Correct way to assign value to mpz_t is to use openmp's funcion-like macro,
-because it's horrible one-element array.
-https://bugs.gentoo.org/920324
---- a/top/eratosthenes/soe_util.c
-+++ b/top/eratosthenes/soe_util.c
-@@ -131,7 +131,7 @@
- sdata->pbound = sieve_p[num_sp - 1];
- sdata->pboundi = num_sp;
- }
-- sdata->offset = offset;
-+ mpz_set(*(sdata->offset), offset);
- mpz_clear(tmpz);
- sdata->sieve_range = 1;
- }
diff --git a/sci-mathematics/yafu/metadata.xml b/sci-mathematics/yafu/metadata.xml
deleted file mode 100644
index 9742cb1658f4..000000000000
--- a/sci-mathematics/yafu/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-needed -->
- <upstream>
- <remote-id type="sourceforge">yafu</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sci-mathematics/yafu/yafu-1.34.3-r2.ebuild b/sci-mathematics/yafu/yafu-1.34.3-r2.ebuild
deleted file mode 100644
index 5ec7772de363..000000000000
--- a/sci-mathematics/yafu/yafu-1.34.3-r2.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic edos2unix toolchain-funcs
-
-MY_PV="$(ver_cut 1-2)"
-DESCRIPTION="Yet another factoring utility"
-HOMEPAGE="https://sourceforge.net/projects/yafu/"
-SRC_URI="https://downloads.sourceforge.net/${PN}/${MY_PV}/${PN}-${MY_PV}-src.zip"
-
-LICENSE="public-domain"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-DEPEND="
- || (
- >=sys-devel/gcc-4.2:*[openmp]
- llvm-runtimes/clang-runtime:*[openmp]
- )
- dev-libs/gmp:0=
- sci-mathematics/gmp-ecm"
-RDEPEND="${DEPEND}"
-BDEPEND="app-arch/unzip"
-
-PATCHES=(
- "${FILESDIR}"/${P}-fix-makefiles.patch
- "${FILESDIR}"/${P}-mpz_set.patch
-)
-
-src_prepare() {
- edos2unix top/eratosthenes/soe_util.c factor/factor_common.c
- default
-}
-
-src_compile() {
- tc-export CC
- append-cflags -fcommon
- use amd64 && emake x86_64
- use x86 && emake x86
-}
-
-src_test() {
- "${S}"/yafu "factor(121)" || die
-}
-
-src_install() {
- dobin "${S}"/yafu
- dodoc docfile.txt README yafu.ini
-}