From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0C744159C9B for ; Tue, 6 Aug 2024 20:10:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E86BDE2BB5; Tue, 6 Aug 2024 20:09:58 +0000 (UTC) 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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CCD17E2BB5 for ; Tue, 6 Aug 2024 20:09:58 +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 CC111340BEA for ; Tue, 6 Aug 2024 20:09:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 078C51B9A for ; Tue, 6 Aug 2024 20:09:56 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1722974978.b7ea809f76f0505df21958345793aa13495533f3.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/libnova/files/, sci-libs/libnova/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/libnova/files/libnova-0.16.0-cflags.patch sci-libs/libnova/files/libnova-0.16.0-gcc14.patch sci-libs/libnova/libnova-0.16.0.ebuild X-VCS-Directories: sci-libs/libnova/ sci-libs/libnova/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: b7ea809f76f0505df21958345793aa13495533f3 X-VCS-Branch: master Date: Tue, 6 Aug 2024 20:09:56 +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: 63687985-0cd3-4ec6-a40e-f08054baf08e X-Archives-Hash: 6c0446c08e3ada0d52cb257e301f0aa3 commit: b7ea809f76f0505df21958345793aa13495533f3 Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Aug 6 19:53:11 2024 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Aug 6 20:09:38 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7ea809f sci-libs/libnova: update EAPI 7 -> 8, fix build w/ GCC-14 Closes: https://bugs.gentoo.org/886455 Signed-off-by: Andreas Sturmlechner gentoo.org> sci-libs/libnova/files/libnova-0.16.0-cflags.patch | 23 +++++++++++++++++++++ sci-libs/libnova/files/libnova-0.16.0-gcc14.patch | 24 ++++++++++++++++++++++ sci-libs/libnova/libnova-0.16.0.ebuild | 12 +++++------ 3 files changed, 53 insertions(+), 6 deletions(-) diff --git a/sci-libs/libnova/files/libnova-0.16.0-cflags.patch b/sci-libs/libnova/files/libnova-0.16.0-cflags.patch new file mode 100644 index 000000000000..fcb06a9360c9 --- /dev/null +++ b/sci-libs/libnova/files/libnova-0.16.0-cflags.patch @@ -0,0 +1,23 @@ +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -1,6 +1,6 @@ + ## Process this file with automake to produce Makefile.in + +-AM_CFLAGS = -Wall -O3 $(AVX_CFLAGS) ++AM_CFLAGS = $(AVX_CFLAGS) + + SUBDIRS = libnova elp + +--- a/src/elp/Makefile.am ++++ b/src/elp/Makefile.am +@@ -1,6 +1,6 @@ + noinst_LTLIBRARIES = libelp.la + +-AM_CFLAGS = -I ../ -Wall -O3 $(AVX_CFLAGS) ++AM_CFLAGS = -I ../ $(AVX_CFLAGS) + + libelp_la_SOURCES = \ + elp1.c \ +-- +2.45.2 + diff --git a/sci-libs/libnova/files/libnova-0.16.0-gcc14.patch b/sci-libs/libnova/files/libnova-0.16.0-gcc14.patch new file mode 100644 index 000000000000..330952d058bf --- /dev/null +++ b/sci-libs/libnova/files/libnova-0.16.0-gcc14.patch @@ -0,0 +1,24 @@ +From 1be82238860bba941b1b16c6f31763577a17b8af Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner +Date: Tue, 6 Aug 2024 21:49:52 +0200 +Subject: Fix build with >=GCC-14 + +--- + src/parallax.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/parallax.c b/src/parallax.c +index 733e26c..0c11f04 100644 +--- a/src/parallax.c ++++ b/src/parallax.c +@@ -17,6 +17,7 @@ + */ + + #include ++#include + #include + #include + #include +-- +2.45.2 + diff --git a/sci-libs/libnova/libnova-0.16.0.ebuild b/sci-libs/libnova/libnova-0.16.0.ebuild index bc3ef11b3d3a..c590ea70af79 100644 --- a/sci-libs/libnova/libnova-0.16.0.ebuild +++ b/sci-libs/libnova/libnova-0.16.0.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit autotools @@ -16,17 +16,17 @@ IUSE="doc examples" BDEPEND="doc? ( app-text/doxygen )" -PATCHES=( "${FILESDIR}"/${P}-slibtool.patch ) +PATCHES=( + "${FILESDIR}"/${P}-slibtool.patch + "${FILESDIR}"/${P}-cflags.patch + "${FILESDIR}"/${P}-gcc14.patch # bug 886455 +) src_prepare() { default eautoreconf } -src_configure() { - econf --disable-static -} - src_compile() { default use doc && emake -C doc doc