Opened 9 years ago

Closed 9 years ago

#49820 closed defect (fixed)

asymptote @2.35_1: build failure with gsl 2.0

Reported by: Schamschula (Marius Schamschula) Owned by: mojca (Mojca Miklavec)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc:
Port: asymptote

Description

asymptote fails to build due to an gsl API change:

:info:build /usr/bin/clang++ -Wall -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -DUSEGC  -D_THREAD_SAFE -pthread -DFFTWPP_SINGLE_THREAD -I/opt/local/include -pipe -Os -arch x86_64 -stdlib=libc++ -pipe -Os -arch x86_64   -I. -Igc-7.4.2/include -o runlabel.o -c runlabel.cc
:info:build gsl.cc:1091:3: error: no matching function for call to 'addGSLDOUBLE3Func'
:info:build   addGSLDOUBLE3Func<gsl_sf_ellint_D>(SYM(D),SYM(phi),SYM(k),SYM(n));
:info:build   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

A patch is available from the asymptote github site.

Note: asymptote has been updated to version 2.36 (the patch is more recent than that release as well), but the source code is now hosted on github, rather than source forge.

Attachments (2)

Portfile-asymptote.diff (700 bytes) - added by Schamschula (Marius Schamschula) 9 years ago.
patch-gsl.cc.diff (827 bytes) - added by Schamschula (Marius Schamschula) 9 years ago.

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by Schamschula (Marius Schamschula)

Attachment: Portfile-asymptote.diff added

Changed 9 years ago by Schamschula (Marius Schamschula)

Attachment: patch-gsl.cc.diff added

comment:1 Changed 9 years ago by mojca (Mojca Miklavec)

Cc: mojca@… removed
Owner: changed from macports-tickets@… to mojca@…
Version: 2.3.4

comment:2 Changed 9 years ago by mojca (Mojca Miklavec)

Resolution: fixed
Status: newclosed

Committed in r142896. Please report if you experience any problems.

Note: See TracTickets for help on using tickets.