diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-08-06 21:53:11 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-08-06 22:09:38 +0200 |
commit | b7ea809f76f0505df21958345793aa13495533f3 (patch) | |
tree | e77a7ace809d1ea63f3ad25113cfbbe1a12f239f /sci-libs/libnova/files/libnova-0.16.0-gcc14.patch | |
parent | app-emacs/distel: re-add required erlang dependency (diff) | |
download | gentoo-b7ea809f76f0505df21958345793aa13495533f3.tar.gz gentoo-b7ea809f76f0505df21958345793aa13495533f3.tar.bz2 gentoo-b7ea809f76f0505df21958345793aa13495533f3.zip |
sci-libs/libnova: update EAPI 7 -> 8, fix build w/ GCC-14
Closes: https://bugs.gentoo.org/886455
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sci-libs/libnova/files/libnova-0.16.0-gcc14.patch')
-rw-r--r-- | sci-libs/libnova/files/libnova-0.16.0-gcc14.patch | 24 |
1 files changed, 24 insertions, 0 deletions
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 + |