#31235 closed update (fixed)
libffi: update to 3.0.10
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | haspatch | Cc: | ak.ml@… |
Port: | libffi |
Description
libffi should probably be updated to 3.0.10.
The patch we were using before doesn't seem to be needed anymore; I believe it was applied upstream on 2010-12-18.
Attached is a patch to update the port, and a log of what happens. It doesn't build at all. I don't know why.
Attachments (3)
Change History (7)
Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | libffi-3.0.10.diff added |
---|
Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
log of what happens
Changed 13 years ago by ak.ml@…
Attachment: | patch-configure.diff added |
---|
comment:1 Changed 13 years ago by ak.ml@…
With patch-configure.diff
, I could get libffi
to compile.
The explanation is that BSD wc
and GNU wc
have different outputs (BSD prepends spaces).
$ echo BSD | wc -w 1 $ echo GNU | gwc -w 1
This breaks the following string comparison test "$n" = "0"
. I replaced it with a numerical comparison.
comment:3 follow-up: 4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Brilliant, thanks. Updated in r84201.
This part of the configure script actually comes from the included m4/ax_enable_builddir.m4; libffi 3.0.9 didn't have that file. I'll report the problem to the libffi-discuss mailing list, but we may also need to report it to the developers of ax_enable_builddir.m4.
comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to ryandesign@…:
I'll report the problem to the libffi-discuss mailing list,
http://sources.redhat.com/ml/libffi-discuss/2011/msg00186.html
but we may also need to report it to the developers of ax_enable_builddir.m4.
patch that does not work