From 0f558761aa2dee1017b4751e4017205e015a9560 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 29 Jun 2022 12:04:12 +0100 Subject: gentoo resync : 29.12.2022 --- sci-libs/fplll/Manifest | 3 ++ sci-libs/fplll/files/fplll-5.4.2-with-qd-fix.patch | 27 +++++++++++++++ sci-libs/fplll/fplll-5.4.2.ebuild | 39 ++++++++++++++++++++++ 3 files changed, 69 insertions(+) create mode 100644 sci-libs/fplll/files/fplll-5.4.2-with-qd-fix.patch create mode 100644 sci-libs/fplll/fplll-5.4.2.ebuild (limited to 'sci-libs/fplll') diff --git a/sci-libs/fplll/Manifest b/sci-libs/fplll/Manifest index 55fccd0d29f4..501985a47021 100644 --- a/sci-libs/fplll/Manifest +++ b/sci-libs/fplll/Manifest @@ -1,4 +1,7 @@ AUX fplll-5.4.0-gcc11.patch 623 BLAKE2B 230fcf908c4a6604f6da3800927b9bfee0d9c8b979d0b4cfeba5bf5ae68256f1d457bade2d62c30f2a7e7c07d8433374b19459a3f6d37ba71766b73e1cb189bc SHA512 35b1589267cadddbb7aef7859a748eb171f4545ed42037645588d44df0e404a3ec5f21419ad4a1e34dd5fd037cdceeb927ec7b7a770e4a24eecdbdee6b3176bd +AUX fplll-5.4.2-with-qd-fix.patch 942 BLAKE2B 3335262a47db7cc8fe48d79f2638882a8522ea026f55bbcd9b612457ef6186b84e673e0d9b0b9a022f4a3915dff830ab28ab47a5093fc3364fa4d4fc1317ef8f SHA512 4fcfb3aea3fe72d8072996c2bc6e5f626b4972448871578a29119cd10325d0451186d410f6732d58f96eb18ae040ed8410213228b63aa3012dba63a1916e68bd DIST fplll-5.4.0.tar.gz 2612340 BLAKE2B 723230856461ac6418dad00e82fc7505dbbb7bfbbf68fa7f4f3240402d62f3e1ded3049c436a0f6aad9f020727d10acb3fe15dfb8b8a907f5b3c7b191e55e9a9 SHA512 a583aac73e4618ba240c28d3e8485cef6b9c184c11b33799404e96ab99502023073ed1c6fc0d3fbc4e6737415e9ea1a273f3f1e59ccba69d1546f56903567ebe +DIST fplll-5.4.2.tar.gz 2618377 BLAKE2B e730c8646b9afb68515a23e533ea8ef833439d69f2130157bd6e38b1efab9116817535c261721c98b23410185271ffc323c687630e3ba262adb97fa5f69be787 SHA512 45324d89d0efeb269c1d1400332a51432e5d09f7bf0a6d651650e0941bb718493cbb66d65056b98691691236eaf348b2cae686ee06761f64380df98b6206c004 EBUILD fplll-5.4.0.ebuild 707 BLAKE2B dec4dd083a0d8800dd51ba6f851c73355641b69cf693394696f055f42ad282269d049b2dacf049ba415fe9db5e9a549bdded08388bb66da66b9886c35c660ced SHA512 1851a3d2f7faa5ee5254900e11ac35fa2d6b95925052b2005776236c6811cfa0eefde8f848253fcd65f7eadd02bd23fcba45be6a3031019c0df7e309793f9bc1 +EBUILD fplll-5.4.2.ebuild 776 BLAKE2B 95f30d5f71776a7b80657a411e29ecf424089ec08f7c9682981778134753dcac1fff1d94b63d4f58cf1d78579dbd483cfd349385b525312fea15e6bc00fdcd2f SHA512 f36d9b5da2cf0122ae8ed3e985200d920e29f6f4fe0dd3d8353b983a4565f7d1f473924bc7d1292ef3da95978e7f3d1e00e986928591d82424e5eab56a9b53b3 MISC metadata.xml 858 BLAKE2B e27b47f6a8d0bb3c17eb023c24f95472c5f791e8a9bf86c1805d1c832b0973a665fe2231f82a289c37afd5318deb89717029ae6694005ade8e112a2769a56170 SHA512 49b6fd4968670fb0da92a883b81420e4739a893a6866ae500106181df5182324e616ccee8e0f290a7cda20f3f4d850fbf9a9462d03f0057da9ced4ba1d835ba7 diff --git a/sci-libs/fplll/files/fplll-5.4.2-with-qd-fix.patch b/sci-libs/fplll/files/fplll-5.4.2-with-qd-fix.patch new file mode 100644 index 000000000000..73c9b4386fd1 --- /dev/null +++ b/sci-libs/fplll/files/fplll-5.4.2-with-qd-fix.patch @@ -0,0 +1,27 @@ +From 94010a8c4c93c6ba9520b7c26bb6cb36344a4bf9 Mon Sep 17 00:00:00 2001 +From: Michael Orlitzky +Date: Wed, 1 Jun 2022 22:11:48 -0400 +Subject: [PATCH 1/1] configure.ac: fix bashism in --with-qd test. + +There's a double-equals test here that doesn't work properly when +/bin/sh is not bash. We simply change it to single-equals. +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 0ccc4c4..ed0cd59 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -104,7 +104,7 @@ AS_IF([test -z "$with_qd"], [with_qd=yes]) + # and libraries if that didn't work for some reason. + # + # We only show a warning if we cannot find libqd, it is optional but recommended +-AS_IF([test "x$with_qd" == "xyes"], [ ++AS_IF([test "x$with_qd" = "xyes"], [ + PKG_CHECK_MODULES([LIBQD], [qd], [have_libqd="yes"], [ + # fall back to manual search. + AC_SEARCH_LIBS(c_dd_add, +-- +2.35.1 + diff --git a/sci-libs/fplll/fplll-5.4.2.ebuild b/sci-libs/fplll/fplll-5.4.2.ebuild new file mode 100644 index 000000000000..dc83e78f3551 --- /dev/null +++ b/sci-libs/fplll/fplll-5.4.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Implementations of the floating-point LLL reduction algorithm" +HOMEPAGE="https://github.com/fplll/fplll" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz" + +LICENSE="LGPL-2.1+" +SLOT="0/7" +KEYWORDS="~amd64 ~x86" +IUSE="static-libs qd" + +BDEPEND="qd? ( virtual/pkgconfig )" +DEPEND="dev-libs/gmp:0 + dev-libs/mpfr:0 + qd? ( sci-libs/qd )" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${P}-with-qd-fix.patch" ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + $(use_with qd) \ + $(use_enable static-libs static) +} + +src_install() { + default + find "${ED}" -type f -name '*.la' -delete || die +} -- cgit v1.2.3