From 0b8c99da2b9c4eff53a33240b8c9f6db6dcba3db Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 11 Sep 2023 10:37:57 +0100 Subject: gentoo auto-resync : 11:09:2023 - 10:37:57 --- sci-libs/getdata/Manifest | 2 + .../getdata-0.11.0-fix-gzseek64-not-found.patch | 12 +++++ sci-libs/getdata/getdata-0.11.0-r1.ebuild | 63 ++++++++++++++++++++++ 3 files changed, 77 insertions(+) create mode 100644 sci-libs/getdata/files/getdata-0.11.0-fix-gzseek64-not-found.patch create mode 100644 sci-libs/getdata/getdata-0.11.0-r1.ebuild (limited to 'sci-libs/getdata') diff --git a/sci-libs/getdata/Manifest b/sci-libs/getdata/Manifest index 038108d34ae4..bc01100c1132 100644 --- a/sci-libs/getdata/Manifest +++ b/sci-libs/getdata/Manifest @@ -1,3 +1,5 @@ +AUX getdata-0.11.0-fix-gzseek64-not-found.patch 225 BLAKE2B f1e4ddda81fddbb3683303b9c844d1f51f40eb9f0283aa1a8dbf48f0cf438fff99850a11412ba0a1b69a2c929f22371ba8e256e0fe4529718f7863295e39969e SHA512 16f39cebc98933dcb70cfa6ec85369755affa11d02152aeac75f9875b14c1caad7716ef1b872445a7456cc11c1a285a1281f8ee859a6ee807d2e3ab09170312f DIST getdata-0.11.0.tar.xz 1060324 BLAKE2B b758447429f95d53d6ce3e32eb5591d0141c218f5b3a3c391fb713722f8dc12fba2add078d75be1b2957b2d27b7d843cb51450fc49394da130548721f5df9384 SHA512 cf301449288c2b0e337a356f03ac8d295a4f5a32eb6c2a29c15c6fcc434a9eea8661a8070defbbf1d751e64e1f616e4353863b13d350fa8df6837631d86bc932 +EBUILD getdata-0.11.0-r1.ebuild 1397 BLAKE2B 60a88c63a11f55e1227e346a78757c38be09d85dc6b6aed3b634f0ab219f7c00ca1a0a2ef75f92087e7448deccf63be71c8932ac49a7e4d6a88d5eb1bccb44eb SHA512 11584b3ca8ad0a40c1ec37fd1ffb2dbefc81c476b72b8225101449408a6ec7ee87d4331d2e7a9617851b9b8a4c560bc4061d2709278489799ed8ec32092bf842 EBUILD getdata-0.11.0.ebuild 1327 BLAKE2B 87683f25b684c2b216aa3112d132cc35ce481a1559c917aec7068d48fad532700988a0843e3f4aa5a343a8a8363fada7292592bbc5726ac6e7787699e0f8cfe8 SHA512 d73661d7cd57d81b19461afc1cfea69a759fdb56c45826a5553e37bc715432241784c31b1d841cd350f6c374e31d352b209ae16069ea8585af68ffa3f59c6903 MISC metadata.xml 663 BLAKE2B 2d4a85bb71171eb7147e514e48d580b676785ef0d051f0b6a36c7c046bad44daae51f9b1e8877b7c1e77ebe5b4dd5c0302c1a3282431323d0b70ce8dd70000c1 SHA512 1910dd8dc7b91cb423fd2bff21b9741baddf9e628a588c19d89895285f827118f8640ebedcb7ba599bec956a61eb4a94de3136209016f1c0920da6d5a1c2eed6 diff --git a/sci-libs/getdata/files/getdata-0.11.0-fix-gzseek64-not-found.patch b/sci-libs/getdata/files/getdata-0.11.0-fix-gzseek64-not-found.patch new file mode 100644 index 000000000000..09a250e955f9 --- /dev/null +++ b/sci-libs/getdata/files/getdata-0.11.0-fix-gzseek64-not-found.patch @@ -0,0 +1,12 @@ +Refer: https://stackoverflow.com/a/42695228 +Bug: https://bugs.gentoo.org/898278 +--- a/src/gzip.c ++++ b/src/gzip.c +@@ -21,6 +21,7 @@ + #include "internal.h" + + #ifdef HAVE_ZLIB_H ++#define Z_LARGE64 + #include + #endif + diff --git a/sci-libs/getdata/getdata-0.11.0-r1.ebuild b/sci-libs/getdata/getdata-0.11.0-r1.ebuild new file mode 100644 index 000000000000..698d2697d850 --- /dev/null +++ b/sci-libs/getdata/getdata-0.11.0-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +FORTRAN_STANDARD="95" +FORTRAN_NEEDED=fortran +inherit autotools fortran-2 flag-o-matic + +DESCRIPTION="Reference implementation of the Dirfile, format for time-ordered binary data" +HOMEPAGE="https://getdata.sourceforge.net" +SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}.tar.xz" + +SLOT="0" +LICENSE="LGPL-2.1+" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="bzip2 cxx debug flac fortran lzma perl static-libs" + +DEPEND=" + bzip2? ( app-arch/bzip2 ) + lzma? ( app-arch/xz-utils ) + perl? ( dev-lang/perl ) +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-0.11.0-fix-gzseek64-not-found.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + # GCC 10 workaround + # bug #723076 + append-fflags $(test-flags-FC -fallow-argument-mismatch) + + econf \ + --disable-idl \ + --disable-matlab \ + --disable-php \ + --with-libz \ + --without-libslim \ + --without-libzzip \ + $(use_with bzip2 libbz2) \ + $(use_enable cxx cplusplus) \ + $(use_enable debug) \ + $(use_with flac libFLAC) \ + $(use_enable fortran) \ + $(use_enable fortran fortran95) \ + $(use_with lzma liblzma) \ + $(use_enable perl) \ + $(usex perl --with-perl-dir=vendor) \ + --disable-python \ + $(use_enable static-libs static) +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} -- cgit v1.2.3