Opened 2 years ago
Last modified 14 months ago
#65896 assigned defect
emacs fails to compile on old Mac <= 10.7 — at Version 4
Reported by: | rmottola (Riccardo) | Owned by: | drkp (Dan Ports) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | tiger leopard snowleopard lion | Cc: | cooljeanius (Eric Gallager), catap (Kirill A. Korinsky) |
Port: | emacs |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Emacs fails to compile on 10.7 because of this error:
:info:build nsterm.m:8391:8: error: use of undeclared identifier 'child' :info:build if ([child respondsToSelector:@selector(setAccessibilitySubrole:)]) :info:build ^
The code looks for a non existing ivar, checking source code, emacs fixed it with this commit:
https://github.com/emacs-mirror/emacs/commit/96ec2ac7d0bdb6b1193217b35f7d74d79b7c2033
we might have a backport patch for it. It does not apply cleanly, but it contains the fix for that part.
Another build issue remains:
nsmenu.m:644:48: error: use of undeclared identifier 'NSTextAlignmentRight' [[[NSTextTab alloc] initWithTextAlignment: NSTextAlignmentRight
And here I am at loss,
NSTextAlignmentRight
is valid, not something recent, what else is missing?
Change History (4)
comment:1 Changed 2 years ago by rmottola (Riccardo)
Keywords: | gtk lion added |
---|---|
Port: | emacs added |
comment:2 Changed 2 years ago by jmroot (Joshua Root)
Owner: | set to drkp |
---|---|
Status: | new → assigned |
comment:3 Changed 14 months ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|
comment:4 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | catap added |
---|---|
Description: | modified (diff) |
Keywords: | tiger leopard snowleopard added; gtk removed |
Note: See
TracTickets for help on using
tickets.
You didn't attach a main.log file or tell us what version of emacs you were using.
The commit you mentioned appears to contain fixes for both issues you reported and was included in emacs 29.1 which is the version in MacPorts now so please retry with that version.