Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Nov 2020 08:36:25 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r555541 - in head/astro/siril: . files
Message-ID:  <202011170836.0AH8aPiA092658@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Tue Nov 17 08:36:25 2020
New Revision: 555541
URL: https://svnweb.freebsd.org/changeset/ports/555541

Log:
  astro/siril: Fix run-time error: Undefined symbol "cblas_dcopy"
  
  This was because math/gsl installs 2 libraries, libgsl.so and
  libgslcblas.so, the former of which should depend on the latter one.
  Instead, the gsl package through its pkg-config script asks users to
  link to both libraries. This fails when the link line also has
  -Wl,--as-needed which causes the linker to drop the second library.
  In such case the above error is triggered at runtime.
  
  Also update WWW.
  
  PR:		251206
  Submitted by:	Ned Leitch <ned.leitch+freebsd@gmail.com>
  MFH:		2020Q4

Added:
  head/astro/siril/files/patch-meson.build   (contents, props changed)
Deleted:
  head/astro/siril/files/patch-Makefile.am
Modified:
  head/astro/siril/Makefile
  head/astro/siril/pkg-descr

Modified: head/astro/siril/Makefile
==============================================================================
--- head/astro/siril/Makefile	Tue Nov 17 06:53:47 2020	(r555540)
+++ head/astro/siril/Makefile	Tue Nov 17 08:36:25 2020	(r555541)
@@ -2,6 +2,7 @@
 
 PORTNAME=	siril
 DISTVERSION=	0.99.6
+PORTREVISION=	1
 CATEGORIES=	astro graphics
 MASTER_SITES=	https://free-astro.org/download/
 

Added: head/astro/siril/files/patch-meson.build
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/astro/siril/files/patch-meson.build	Tue Nov 17 08:36:25 2020	(r555541)
@@ -0,0 +1,10 @@
+--- meson.build.orig	2020-09-22 20:01:48 UTC
++++ meson.build
+@@ -123,6 +123,7 @@ if platform_linux
+ elif platform_bsd
+   siril_link_arg += '-rdynamic'
+   siril_link_arg += '-lexecinfo'
++  siril_link_arg += '-Wl,--no-as-needed' # workaround for https://gitlab.com/free-astro/siril/-/issues/614 (Bug#251206)
+ elif platform_windows
+   #TODO: Do Meson provide more elegant way?
+   siril_link_arg += '-Wl,--export-all-symbols'

Modified: head/astro/siril/pkg-descr
==============================================================================
--- head/astro/siril/pkg-descr	Tue Nov 17 06:53:47 2020	(r555540)
+++ head/astro/siril/pkg-descr	Tue Nov 17 08:36:25 2020	(r555541)
@@ -8,4 +8,4 @@ interface than Iris' command line as well as more mode
 algorithms, but it is not yet as automated as DeepSkyStacker or Registax. It
 also provides a basic command line to access various processing functions.
 
-WWW: https://free-astro.org/index.php/Siril
+WWW: https://www.siril.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011170836.0AH8aPiA092658>