diff --git a/astro/swe/Makefile b/astro/swe/Makefile index 9814672d0884..4570636a7746 100644 --- a/astro/swe/Makefile +++ b/astro/swe/Makefile @@ -1,30 +1,31 @@ PORTNAME= swe -PORTVERSION= 2.10.03 DISTVERSIONPREFIX= v +DISTVERSION= 2.10.3 +DISTVERSIONSUFFIX= final PORTEPOCH= 1 CATEGORIES= astro devel -MAINTAINER= bofh@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= High Precision Ephemeris Developed By Astrodienst WWW= https://www.astro.com/swisseph/ LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/agpl-3.0.txt USES= gmake USE_GITHUB= yes GH_ACCOUNT= aloistr GH_PROJECT= swisseph ALL_TARGET= # post-patch: @${REINPLACE_CMD} 's|-ldl||' ${WRKSRC}/Makefile do-install: ${INSTALL_DATA} ${WRKSRC}/libswe.a ${STAGEDIR}${PREFIX}/lib ${MKDIR} ${STAGEDIR}${PREFIX}/include/swe ${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/swe .include diff --git a/astro/swe/distinfo b/astro/swe/distinfo index 4b8989c14a8a..569417baef53 100644 --- a/astro/swe/distinfo +++ b/astro/swe/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1661761830 -SHA256 (aloistr-swisseph-v2.10.03_GH0.tar.gz) = 8c166796767a560691581575b6eb4b4383d849e542b16647dca2e0b127fb70b0 -SIZE (aloistr-swisseph-v2.10.03_GH0.tar.gz) = 8289035 +TIMESTAMP = 1776325360 +SHA256 (aloistr-swisseph-v2.10.3final_GH0.tar.gz) = 032a71d18cff92c9bf960020abda28d44c8f0c678072dcbab561e9aeb0399fbc +SIZE (aloistr-swisseph-v2.10.3final_GH0.tar.gz) = 376500400 diff --git a/astro/swe/files/patch-swetest.c b/astro/swe/files/patch-swetest.c new file mode 100644 index 000000000000..d40763386902 --- /dev/null +++ b/astro/swe/files/patch-swetest.c @@ -0,0 +1,10 @@ +--- swetest.c.orig 2026-04-16 07:49:51 UTC ++++ swetest.c +@@ -792,6 +792,7 @@ static char smod[2000]; + static char *astro_models; + static int do_set_astro_models = FALSE; + static char smod[2000]; ++static char spmoon[AS_MAXCH]; + static AS_BOOL inut = FALSE; /* for Astrodienst internal feature */ + static AS_BOOL have_gap_parameter = FALSE; + static AS_BOOL use_swe_fixstar2 = FALSE;