diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-07 12:37:21 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-07 12:37:21 +0100 |
commit | b8c7370a682e4e29cda623222d17a790c01c3642 (patch) | |
tree | f6caa14689bd00a5760eadaa381ff41e50ef3c1b /sci-libs/libnova | |
parent | 8a4997a7e2d1e36c089d4d76935b5a902d98d3d0 (diff) |
gentoo auto-resync : 07:08:2024 - 12:37:20
Diffstat (limited to 'sci-libs/libnova')
-rw-r--r-- | sci-libs/libnova/Manifest | 4 | ||||
-rw-r--r-- | sci-libs/libnova/files/libnova-0.16.0-cflags.patch | 23 | ||||
-rw-r--r-- | sci-libs/libnova/files/libnova-0.16.0-gcc14.patch | 24 | ||||
-rw-r--r-- | sci-libs/libnova/libnova-0.16.0.ebuild | 12 |
4 files changed, 56 insertions, 7 deletions
diff --git a/sci-libs/libnova/Manifest b/sci-libs/libnova/Manifest index b4ba0e78018b..0e781eebc0e5 100644 --- a/sci-libs/libnova/Manifest +++ b/sci-libs/libnova/Manifest @@ -1,4 +1,6 @@ +AUX libnova-0.16.0-cflags.patch 440 BLAKE2B dd10b9adf008c2de9e10f4348e47a3b345afbb529a0ebc1be0859a90f363e126691c8962445f2bd8ff1ddd26dbe051f583ba66a2010bb90353b1746d082e4586 SHA512 487f89469e8ac30128ee24fb5ae58ed6d72ae525257006d92fbfb29d7b430773cd7b32e03c626d0469e687bc85edea7e222a3ae17710244e906836f605420f35 +AUX libnova-0.16.0-gcc14.patch 546 BLAKE2B ddabf173961a400abbd7926699669acdcb8839205c8977933375b03296d8b81d167271896cf1e4b5d16e1aa3b15c12fd632fc5bbb21eba34e85b7247c834c8dd SHA512 0fef4bc6c191fb0de5f7754d05b5da536c7529f89055d705d0fd062d3b8c243c820a79ad6aa5d8023a6145952240ce7bdab12ad1d587c261d60bbc3ebb01c697 AUX libnova-0.16.0-slibtool.patch 577 BLAKE2B 333476b9d79c82a62e3387f15658ac522a2747b71727372a4dae3d0fdc307897c78aa5309026a9ee773cfe00364aaf4c056e2cf121717d37c495eace03fd8839 SHA512 1057249337cee731109835744424f88b99a9357342e3c2023a156d543eb2568048a0db23c4e86d51cb0d416a2dc94954b2bfa7fc4a3bcc0ae64629249a971f70 DIST libnova-0.16.0.tar.xz 909212 BLAKE2B ae7efef8295dafd3715c37506d7403fc38a951c9a7c43e41e3c6ca3c922243a396052bbb71f07901bbd3aae2b2bee183efbd9e3e9c50dce72379f6ced80d5701 SHA512 f1c33421b7f09097223afe1bd5c31fa9a4591e4c965ba8a5ae1f164367717aa03986970ffe9c01e400b27aea43843fbb67cfbfe6ef44ec2c519f524aab9ea86f -EBUILD libnova-0.16.0.ebuild 913 BLAKE2B 0de79d09afd6131cef0f2f3be9bfe50b958ede56b08c155dd0cf3c3a10d8ab298a560127eade980a229cbe5fcaa6e7199ca1183534bbad35e089a4f36538aa54 SHA512 972223a3db550a4dd72b406ff18ff524e579734ee0e2d1fa22bd252bdbf0cade0cc0a3852339aaad2bfd2f918c2ea45b7c4ba27898a94911213534a986427784 +EBUILD libnova-0.16.0.ebuild 947 BLAKE2B 997d3189c40ac2a40a7e07fadc1ca1167e066cb9cb77842cc7d884a6cc548a3c63210022c845ba3404433526b028161794313f31302b5d0bb40f42a8646cae66 SHA512 a7007113161b9cd8d3483c62a59ad1e7a04542fbd25a5377c8020873346d7f2ccaa1a76d28db51b75ab7e8723ee09a15add2055873ecee20baaa1432f8e39a06 MISC metadata.xml 640 BLAKE2B d8db8975700f5d7c96c3844120efc66ba262a2d121f62479b7552e31f46358036cfd4e8a7b91decc899036c4719b5d3c2f8c0aa0427f0252481a635daec5b215 SHA512 3193ac9e5621ea1b142ceea70cc9192d77ba694a217fa734d2521549acde8149fdaf231f1cf5befd72a203893d36ed707b88a664b054bbdf2c47a3fd82bd64fa 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 <asturm@gentoo.org> +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 <math.h> ++#include <libnova/earth.h> + #include <libnova/parallax.h> + #include <libnova/utility.h> + #include <libnova/sidereal_time.h> +-- +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 |