Hi, Here is a patch for astro/gnuastro to update to 0.14. It build and run well on amd64-current system.
Cheers ! wen
Index: Makefile =================================================================== RCS file: /cvs/ports/astro/gnuastro/Makefile,v retrieving revision 1.2 diff -u -p -r1.2 Makefile --- Makefile 9 Oct 2020 02:36:44 -0000 1.2 +++ Makefile 26 Jan 2021 07:11:59 -0000 @@ -1,10 +1,10 @@ # $OpenBSD: Makefile,v 1.2 2020/10/09 02:36:44 bcallah Exp $ COMMENT = GNU Astronomy Utilities -DISTNAME = gnuastro-0.13 +DISTNAME = gnuastro-0.14 CATEGORIES = astro -SHARED_LIBS += gnuastro 1.0 # 11.0 +SHARED_LIBS += gnuastro 1.0 # 12.0 HOMEPAGE = https://www.gnu.org/software/gnuastro/ MAINTAINER = Brian Callahan <bcal...@openbsd.org> Index: distinfo =================================================================== RCS file: /cvs/ports/astro/gnuastro/distinfo,v retrieving revision 1.2 diff -u -p -r1.2 distinfo --- distinfo 9 Oct 2020 02:36:44 -0000 1.2 +++ distinfo 26 Jan 2021 07:11:59 -0000 @@ -1,2 +1,2 @@ -SHA256 (gnuastro-0.13.tar.gz) = YmT76h+z0f+Xi3Dm0w50tqqgpu+EFJvszknAQ5+HHiU= -SIZE (gnuastro-0.13.tar.gz) = 5638209 +SHA256 (gnuastro-0.14.tar.gz) = hzu31d5KhCKfjyjPzHvoRUePt9E0TcF9DCeJU0g5w3c= +SIZE (gnuastro-0.14.tar.gz) = 5844391 Index: patches/patch-configure =================================================================== RCS file: /cvs/ports/astro/gnuastro/patches/patch-configure,v retrieving revision 1.2 diff -u -p -r1.2 patch-configure --- patches/patch-configure 9 Oct 2020 02:36:44 -0000 1.2 +++ patches/patch-configure 26 Jan 2021 07:11:59 -0000 @@ -1,23 +1,23 @@ -$OpenBSD: patch-configure,v 1.2 2020/10/09 02:36:44 bcallah Exp $ +$OpenBSD$ Remove hardcoded -O3 Index: configure --- configure.orig +++ configure -@@ -20265,7 +20265,7 @@ fi - if test "x$enable_debug" = "xyes"; then : +@@ -20622,7 +20622,7 @@ if test "x$enable_debug" = "xyes" + then : cflags_add="-g -O0"; enable_shared=no - else + else $as_nop - cflags_add="-O3" + cflags_add="" fi CFLAGS="-Wall $cflags_add $CFLAGS" CXXFLAGS="-Wall $cflags_add $CXXFLAGS" -@@ -28419,7 +28419,7 @@ $as_echo_n "checking for shell to use with libtool... +@@ -29099,7 +29099,7 @@ printf %s "checking for shell to use with libtool... " cprog=libtool_shell_test.c - $as_echo "#include <stdio.h>"[] > $cprog - $as_echo "int main(void){printf(\"success\\n\"); return 0;}" >> $cprog + printf "%s\n" "#include <stdio.h>" > $cprog + printf "%s\n" "int main(void){printf(\"success\\n\"); return 0;}" >> $cprog - ltargs="--quiet --tag=CC --mode=link $CC $cprog -O3 -o $outname" + ltargs="--quiet --tag=CC --mode=link $CC $cprog -o $outname" Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/astro/gnuastro/pkg/PLIST,v retrieving revision 1.2 diff -u -p -r1.2 PLIST --- pkg/PLIST 9 Oct 2020 02:36:44 -0000 1.2 +++ pkg/PLIST 26 Jan 2021 07:11:59 -0000 @@ -11,6 +11,7 @@ @bin bin/astmknoise @bin bin/astmkprof @bin bin/astnoisechisel +@bin bin/astquery bin/astscript-sort-by-night @bin bin/astsegment @bin bin/aststatistics @@ -89,6 +90,7 @@ lib/pkgconfig/gnuastro.pc @man man/man1/astmknoise.1 @man man/man1/astmkprof.1 @man man/man1/astnoisechisel.1 +@man man/man1/astquery.1 @man man/man1/astscript-sort-by-night.1 @man man/man1/astsegment.1 @man man/man1/aststatistics.1 @@ -123,6 +125,7 @@ share/examples/gnuastro/astmkprof.conf @sample ${SYSCONFDIR}/astmkprof.conf share/examples/gnuastro/astnoisechisel.conf @sample ${SYSCONFDIR}/astnoisechisel.conf +share/examples/gnuastro/astquery.conf share/examples/gnuastro/astsegment.conf @sample ${SYSCONFDIR}/astsegment.conf share/examples/gnuastro/aststatistics.conf