[gentoo-commits] repo/gentoo:master commit in: sci-libs/stellarsolver/, sci-libs/stellarsolver/files/
commit: 0fb5e0ce631600ff13783d7a91d24e55ff872115 Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Nov 3 08:34:23 2022 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Nov 3 08:34:23 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fb5e0ce sci-libs/stellarsolver: drop 2.2 Signed-off-by: Andreas Sturmlechner gentoo.org> sci-libs/stellarsolver/Manifest| 1 - ...larsolver-2.2-fix-implicit-vasprintf-decl.patch | 88 -- sci-libs/stellarsolver/stellarsolver-2.2.ebuild| 30 3 files changed, 119 deletions(-) diff --git a/sci-libs/stellarsolver/Manifest b/sci-libs/stellarsolver/Manifest index 000210384e4b..851d88078164 100644 --- a/sci-libs/stellarsolver/Manifest +++ b/sci-libs/stellarsolver/Manifest @@ -1,2 +1 @@ -DIST stellarsolver-2.2.tar.gz 10971732 BLAKE2B 019b822d9a84401dfe2d01053da14c3f0eafb8a8b67e60c4f664ad64c0ffefe72f9dc086edef6dac5950f7fd99e655a641ecf781609b8b54e50cf3c0f8a516b5 SHA512 0b200437130ea8131ade9219e1055ea4265925168cbfb5a7bdcf3836e267a1b670df43f20d4657ef64dea2c1ef2314cfc0bcb8503eb4ead3f0cc3fae3267f7bc DIST stellarsolver-2.4.tar.gz 23402982 BLAKE2B 6eb9dafdf2a209afba10c09f7e7c0f6832a4399cd67c6ed3e4eb87ba98f2163ee8cbb342490314246c77d13581d1c0547817b6ab3c292685f3c496fa305f320d SHA512 f397ddafd3bb4774ac89e95673f67c4fef40ea0be842555608d95978ee26949b21b16cc984e00e936eda2ceca316f604b784b44844cf37ad1e44a5ef8d7e75f8 diff --git a/sci-libs/stellarsolver/files/stellarsolver-2.2-fix-implicit-vasprintf-decl.patch b/sci-libs/stellarsolver/files/stellarsolver-2.2-fix-implicit-vasprintf-decl.patch deleted file mode 100644 index b2625fe4429e.. --- a/sci-libs/stellarsolver/files/stellarsolver-2.2-fix-implicit-vasprintf-decl.patch +++ /dev/null @@ -1,88 +0,0 @@ -From acb58bd78388adec25eb6e09ce6434546de008b8 Mon Sep 17 00:00:00 2001 -From: Robert Lancaster -Date: Wed, 16 Mar 2022 18:15:21 -0400 -Subject: [PATCH] Trying to eliminate vasprintf implicit declaration warning on - Linux - - stellarsolver/astrometry/util/bl.c | 4 +++- - stellarsolver/astrometry/util/errors.c | 4 +++- - stellarsolver/astrometry/util/fitsioutils.c | 3 +++ - stellarsolver/astrometry/util/ioutils.c | 4 +++- - stellarsolver/astrometry/util/log.c | 4 +++- - 5 files changed, 15 insertions(+), 4 deletions(-) - -diff --git a/stellarsolver/astrometry/util/bl.c b/stellarsolver/astrometry/util/bl.c -index 1a0fee9..e84d74a 100644 a/stellarsolver/astrometry/util/bl.c -+++ b/stellarsolver/astrometry/util/bl.c -@@ -2,7 +2,9 @@ - # This file is part of the Astrometry.net suite. - # Licensed under a 3-clause BSD style license - see LICENSE - */ -- -+#ifdef __GNUC__ //# Modified by Robert Lancaster for the StellarSolver Internal Library -+#define __STDC_WANT_LIB_EXT2__ 1 -+#endif - #include - #include - #include -diff --git a/stellarsolver/astrometry/util/errors.c b/stellarsolver/astrometry/util/errors.c -index 94f5f9c..b7c4e9f 100644 a/stellarsolver/astrometry/util/errors.c -+++ b/stellarsolver/astrometry/util/errors.c -@@ -2,7 +2,9 @@ - # This file is part of the Astrometry.net suite. - # Licensed under a 3-clause BSD style license - see LICENSE - */ -- -+#ifdef __GNUC__ //# Modified by Robert Lancaster for the StellarSolver Internal Library -+#define __STDC_WANT_LIB_EXT2__ 1 -+#endif - #include - #include - #include -diff --git a/stellarsolver/astrometry/util/fitsioutils.c b/stellarsolver/astrometry/util/fitsioutils.c -index 7451c36..f2b20bc 100644 a/stellarsolver/astrometry/util/fitsioutils.c -+++ b/stellarsolver/astrometry/util/fitsioutils.c -@@ -2,6 +2,9 @@ - # This file is part of the Astrometry.net suite. - # Licensed under a 3-clause BSD style license - see LICENSE - */ -+#ifdef __GNUC__ //# Modified by Robert Lancaster for the StellarSolver Internal Library -+#define __STDC_WANT_LIB_EXT2__ 1 -+#endif - #include - #include - #include -diff --git a/stellarsolver/astrometry/util/ioutils.c b/stellarsolver/astrometry/util/ioutils.c -index ee17011..c490fb8 100644 a/stellarsolver/astrometry/util/ioutils.c -+++ b/stellarsolver/astrometry/util/ioutils.c -@@ -2,7 +2,9 @@ - # This file is part of the Astrometry.net suite. - # Licensed under a 3-clause BSD style license - see LICENSE - */ -- -+#ifdef __GNUC__ //# Modified by Robert Lancaster for the StellarSolver Internal Library -+#define __STDC_WANT_LIB_EXT2__ 1 -+#endif - #include - #include - #include -diff --git a/stellarsolver/astrometry/util/log.c b/stellarsolver/astrometry/util/log.c -index 256d5a1..1a2b8db 100644 a/stellarsolver/astrometry/util/log.c -+++ b/stellarsolver/astrometry/util/log.c -@@ -2,7 +2,9 @@ - # This file is part of the Astrometry.net suite. - # Licensed under a 3-clause BSD style license - see LICENSE - */ -- -+#ifdef __GNUC__ //# Modified by Robert Lancaster for the StellarSolver Internal Library -+#define __STDC_WANT_LIB_EXT2__ 1 -+#endif
[gentoo-commits] repo/gentoo:master commit in: sci-libs/stellarsolver/, sci-libs/stellarsolver/files/
commit: 5d6e71977cacf505f87e1da254798423a6a5945f Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri Mar 25 19:50:09 2022 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Mar 25 19:59:13 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d6e7197 sci-libs/stellarsolver: Fix vasprintf implicit declaration warning Upstream commit acb58bd78388adec25eb6e09ce6434546de008b8 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner gentoo.org> ...larsolver-2.2-fix-implicit-vasprintf-decl.patch | 88 ++ sci-libs/stellarsolver/stellarsolver-2.2.ebuild| 3 + 2 files changed, 91 insertions(+) diff --git a/sci-libs/stellarsolver/files/stellarsolver-2.2-fix-implicit-vasprintf-decl.patch b/sci-libs/stellarsolver/files/stellarsolver-2.2-fix-implicit-vasprintf-decl.patch new file mode 100644 index ..b2625fe4429e --- /dev/null +++ b/sci-libs/stellarsolver/files/stellarsolver-2.2-fix-implicit-vasprintf-decl.patch @@ -0,0 +1,88 @@ +From acb58bd78388adec25eb6e09ce6434546de008b8 Mon Sep 17 00:00:00 2001 +From: Robert Lancaster +Date: Wed, 16 Mar 2022 18:15:21 -0400 +Subject: [PATCH] Trying to eliminate vasprintf implicit declaration warning on + Linux + +--- + stellarsolver/astrometry/util/bl.c | 4 +++- + stellarsolver/astrometry/util/errors.c | 4 +++- + stellarsolver/astrometry/util/fitsioutils.c | 3 +++ + stellarsolver/astrometry/util/ioutils.c | 4 +++- + stellarsolver/astrometry/util/log.c | 4 +++- + 5 files changed, 15 insertions(+), 4 deletions(-) + +diff --git a/stellarsolver/astrometry/util/bl.c b/stellarsolver/astrometry/util/bl.c +index 1a0fee9..e84d74a 100644 +--- a/stellarsolver/astrometry/util/bl.c b/stellarsolver/astrometry/util/bl.c +@@ -2,7 +2,9 @@ + # This file is part of the Astrometry.net suite. + # Licensed under a 3-clause BSD style license - see LICENSE + */ +- ++#ifdef __GNUC__ //# Modified by Robert Lancaster for the StellarSolver Internal Library ++#define __STDC_WANT_LIB_EXT2__ 1 ++#endif + #include + #include + #include +diff --git a/stellarsolver/astrometry/util/errors.c b/stellarsolver/astrometry/util/errors.c +index 94f5f9c..b7c4e9f 100644 +--- a/stellarsolver/astrometry/util/errors.c b/stellarsolver/astrometry/util/errors.c +@@ -2,7 +2,9 @@ + # This file is part of the Astrometry.net suite. + # Licensed under a 3-clause BSD style license - see LICENSE + */ +- ++#ifdef __GNUC__ //# Modified by Robert Lancaster for the StellarSolver Internal Library ++#define __STDC_WANT_LIB_EXT2__ 1 ++#endif + #include + #include + #include +diff --git a/stellarsolver/astrometry/util/fitsioutils.c b/stellarsolver/astrometry/util/fitsioutils.c +index 7451c36..f2b20bc 100644 +--- a/stellarsolver/astrometry/util/fitsioutils.c b/stellarsolver/astrometry/util/fitsioutils.c +@@ -2,6 +2,9 @@ + # This file is part of the Astrometry.net suite. + # Licensed under a 3-clause BSD style license - see LICENSE + */ ++#ifdef __GNUC__ //# Modified by Robert Lancaster for the StellarSolver Internal Library ++#define __STDC_WANT_LIB_EXT2__ 1 ++#endif + #include + #include + #include +diff --git a/stellarsolver/astrometry/util/ioutils.c b/stellarsolver/astrometry/util/ioutils.c +index ee17011..c490fb8 100644 +--- a/stellarsolver/astrometry/util/ioutils.c b/stellarsolver/astrometry/util/ioutils.c +@@ -2,7 +2,9 @@ + # This file is part of the Astrometry.net suite. + # Licensed under a 3-clause BSD style license - see LICENSE + */ +- ++#ifdef __GNUC__ //# Modified by Robert Lancaster for the StellarSolver Internal Library ++#define __STDC_WANT_LIB_EXT2__ 1 ++#endif + #include + #include + #include +diff --git a/stellarsolver/astrometry/util/log.c b/stellarsolver/astrometry/util/log.c +index 256d5a1..1a2b8db 100644 +--- a/stellarsolver/astrometry/util/log.c b/stellarsolver/astrometry/util/log.c +@@ -2,7 +2,9 @@ + # This file is part of the Astrometry.net suite. + # Licensed under a 3-clause BSD style license - see LICENSE + */ +- ++#ifdef __GNUC__ //# Modified by Robert Lancaster for the StellarSolver Internal Library ++#define __STDC_WANT_LIB_EXT2__ 1 ++#endif + #include + #include + #include diff --git a/sci-libs/stellarsolver/stellarsolver-2.2.ebuild b/sci-libs/stellarsolver/stellarsolver-2.2.ebuild index 9a2aed549e42..3fd2a5f94878 100644 --- a/sci-libs/stellarsolver/stellarsolver-2.2.ebuild +++ b/sci-libs/stellarsolver/stellarsolver-2.2.ebuild @@ -25,3 +25,6 @@ RDEPEND=" sci-astronomy/wcslib:= " DEPEND="${RDEPEND}" + +# https://github.com/rlancaste/stellarsolver/issues/108 +PATCHES=( "${FILESDIR}/${P}-fix-implicit-vasprintf-decl.patch" )