Files
gentoo/sci-libs/libnova/files/libnova-0.16.0-gcc14.patch
Andreas Sturmlechner b7ea809f76 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>
2024-08-06 22:09:38 +02:00

25 lines
546 B
Diff

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