Opened 13 years ago

Closed 11 months ago

#27837 closed defect (fixed)

clisp @2.49 Dynamic FFI variant

Reported by: psykon@… Owned by: easye
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: cffi Cc: waqar@…, avysk (Alexey Vyskubov), cooljeanius (Eric Gallager), ryandesign (Ryan Carsten Schmidt)
Port: clisp

Description

Would it be possible to have a variant to enable dynamic FFI support? Thank you.

Change History (6)

comment:1 Changed 13 years ago by avysk (Alexey Vyskubov)

Cc: tascafoo@… added

Cc Me!

comment:2 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:3 Changed 9 years ago by jmroot (Joshua Root)

Cc: easieste@… removed
Keywords: clisp ffi removed
Owner: changed from macports-tickets@… to easieste@…

comment:4 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign added

The clisp port used to have a +dynffi variant which provided this functionality. It was added in 2006 when the port was updated to version 2.37. It was removed without explanation in 2009 when the port was updated to 2.48.

Perhaps the explanation is that the commit message for the update to 2.48 mentions Snow Leopard. Snow Leopard was the first version of Mac OS X to compile 64-bit by default, and as of today the ffcall port still compiles only 32-bit. I will be updating the ffcall port to version 1.13 which will build for 64-bit so perhaps then it will be possible to reenable this functionality in clisp.

comment:5 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Actually that explanation doesn't make sense, because the same commit forced clisp to build 32-bit, so it would not have cared that ffcall was also 32-bit.

comment:6 Changed 11 months ago by catap (Kirill A. Korinsky)

Resolution: fixed
Status: newclosed

In e0824b4d62f62ef1967237680cc607a7faa873b8/macports-ports (master):

clisp: update to 2.50.0-20230212

I've also enabled asdf, and this update includes fixes for build on
arm64.

Thus, I've hardcode MacPorts XDG_DATA_DIRS and add myself as
co-maintainer.

Threads? It is unstable but let keep it as variant.

And seems that dynamic-ffi works fine with last version of libffcall.

See: https://github.com/macports/macports-ports/pull/16496
Closes: #27837

Note: See TracTickets for help on using tickets.