Opened 7 years ago

Closed 7 years ago

#54960 closed defect (fixed)

fontforge @20120731_3: implicit declaration of function 'require_noerr' is invalid in C99

Reported by: juanalexei Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: highsierra Cc:
Port: fontforge

Description

fontforge @20120731_3 fails to build on high sierra

Attachments (1)

main.log (507.4 KB) - added by juanalexei 7 years ago.
build log

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by juanalexei

Attachment: main.log added

build log

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

Summary: fontforge @20120731_3 fails to build (high sierra)fontforge @20120731_3: error: use of undeclared identifier 'CantInstallAppleEventHandler'

Maybe updating fontforge to the latest version will help. See #43844 where that update is requested.

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

Summary: fontforge @20120731_3: error: use of undeclared identifier 'CantInstallAppleEventHandler'fontforge @20120731_3: implicit declaration of function 'require_noerr' is invalid in C99

Ok this is another instance of a project using an obsolete macOS macro that is not prefixed with underscores (require_noerr). These have been deprecated for awhile, and now finally removed in High Sierra and replaced with underscored versions (in this case, __Require_noErr).

It looks like this has not been changed in the latest fontforge sources upstream. I reported the issue to them.

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

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In a0498b92e1852df4a6c410b7785a53a789536f1f/macports-ports:

fontforge: Fix build on High Sierra

Closes: #54960

Note: See TracTickets for help on using tickets.