From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5E6901582EF for ; Mon, 10 Mar 2025 01:42:25 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 4A7CF343138 for ; Mon, 10 Mar 2025 01:42:25 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 48FD2110370; Mon, 10 Mar 2025 01:42:24 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 3AB08110370 for ; Mon, 10 Mar 2025 01:42:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E7103343122 for ; Mon, 10 Mar 2025 01:42:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 53D04122C for ; Mon, 10 Mar 2025 01:42:22 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1741570733.728dfaa3ea51a3779e8a99881cbfacd395125c1c.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/qfits/, sci-libs/qfits/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/qfits/files/qfits-6.2.0-includes.patch sci-libs/qfits/files/qfits-6.2.0-m4.patch sci-libs/qfits/qfits-6.2.0-r1.ebuild sci-libs/qfits/qfits-6.2.0.ebuild X-VCS-Directories: sci-libs/qfits/ sci-libs/qfits/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 728dfaa3ea51a3779e8a99881cbfacd395125c1c X-VCS-Branch: master Date: Mon, 10 Mar 2025 01:42:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 52849a27-49c8-43be-9551-62b5aa966174 X-Archives-Hash: f2904d86a950109255b9b4973671cbdb commit: 728dfaa3ea51a3779e8a99881cbfacd395125c1c Author: NHOrus yahoo com> AuthorDate: Thu Feb 27 16:27:02 2025 +0000 Commit: Sam James gentoo org> CommitDate: Mon Mar 10 01:38:53 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=728dfaa3 sci-libs/qfits: update EAPI 7 -> 8, add missing includes Update home page, add missing includes in tests, main library and custom m4 scripts for configure. Closes: https://bugs.gentoo.org/908483 Closes: https://bugs.gentoo.org/886463 Signed-off-by: NHOrus yahoo.com> Closes: https://github.com/gentoo/gentoo/pull/40796 Signed-off-by: Sam James gentoo.org> sci-libs/qfits/files/qfits-6.2.0-includes.patch | 32 +++++++++++++++++++ sci-libs/qfits/files/qfits-6.2.0-m4.patch | 36 ++++++++++++++++++++++ .../{qfits-6.2.0.ebuild => qfits-6.2.0-r1.ebuild} | 22 +++++++++---- 3 files changed, 84 insertions(+), 6 deletions(-) diff --git a/sci-libs/qfits/files/qfits-6.2.0-includes.patch b/sci-libs/qfits/files/qfits-6.2.0-includes.patch new file mode 100644 index 000000000000..7589b49301a1 --- /dev/null +++ b/sci-libs/qfits/files/qfits-6.2.0-includes.patch @@ -0,0 +1,32 @@ +Missing includes in main library and in tests +https://bugs.gentoo.org/886463 +--- a/main/dtfits.c ++++ b/main/dtfits.c +@@ -33,6 +33,7 @@ + #include + + #include "qfits_table.h" ++#include "qfits_tools.h" + + /*----------------------------------------------------------------------------- + Define +--- a/main/qextract.c ++++ b/main/qextract.c +@@ -32,6 +32,7 @@ + #include "qfits_table.h" + #include "qfits_image.h" + #include "qfits_rw.h" ++#include "qfits_tools.h" + + /*----------------------------------------------------------------------------- + Function prototypes +--- a/test/test_pixio.c ++++ b/test/test_pixio.c +@@ -41,6 +41,7 @@ + + #include "qfits_header.h" + #include "qfits_image.h" ++#include "qfits_rw.h" + #include "qfits_md5.h" + #include "qfits_memory.h" + diff --git a/sci-libs/qfits/files/qfits-6.2.0-m4.patch b/sci-libs/qfits/files/qfits-6.2.0-m4.patch new file mode 100644 index 000000000000..99b39bdad451 --- /dev/null +++ b/sci-libs/qfits/files/qfits-6.2.0-m4.patch @@ -0,0 +1,36 @@ +Missing system inlude in self-defined autoconf tests +https://bugs.gentoo.org/908483 +--- a/m4macros/eso.m4 ++++ b/m4macros/eso.m4 +@@ -252,6 +252,7 @@ + AC_RUN_IFELSE([ + #include + #include ++#include + + int + doit(char * s, ...) +@@ -701,6 +702,7 @@ + [ + AC_RUN_IFELSE([ + #include ++#include + + void f(int i, ...) + { +@@ -733,6 +735,7 @@ + [ + AC_RUN_IFELSE([ + #include ++#include + + void f(int i, ...) + { +@@ -784,6 +787,7 @@ + [ + AC_RUN_IFELSE([ + #include ++#include + + void f(int i, ...) + { diff --git a/sci-libs/qfits/qfits-6.2.0.ebuild b/sci-libs/qfits/qfits-6.2.0-r1.ebuild similarity index 55% rename from sci-libs/qfits/qfits-6.2.0.ebuild rename to sci-libs/qfits/qfits-6.2.0-r1.ebuild index 181c4777ba8a..99af0c8cacb7 100644 --- a/sci-libs/qfits/qfits-6.2.0.ebuild +++ b/sci-libs/qfits/qfits-6.2.0-r1.ebuild @@ -1,10 +1,12 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 + +inherit autotools DESCRIPTION="ESO stand-alone C library offering easy access to FITS files" -HOMEPAGE="http://www.eso.org/projects/aot/qfits/" +HOMEPAGE="https://www.eso.org/sci/software/eclipse/qfits/" SRC_URI="ftp://ftp.hq.eso.org/pub/${PN}/${P}.tar.gz" LICENSE="GPL-2" @@ -12,10 +14,18 @@ SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" IUSE="doc" -PATCHES=( "${FILESDIR}"/${P}-{ttest,open}.patch ) +PATCHES=( + "${FILESDIR}/${P}-ttest.patch" + "${FILESDIR}/${P}-open.patch" + "${FILESDIR}/${P}-includes.patch" + "${FILESDIR}/${P}-m4.patch" +) + +src_prepare() { + default -src_configure() { - econf --disable-static + # https://bugs.gentoo.org/908483 + eautoreconf } src_install() {