Opened 4 weeks ago

Last modified 8 days ago

#69795 new defect

t1lib 5.1.2_3: has implicit int which is not supported under Xcode 15

Reported by: rbeyer (Ross Beyer) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: Cc:
Port: t1lib

Description

Upon trying to build t1lib (for texlive), it failed to build with this error:

:info:build regions.c:602:45: error: parameter 'y2' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]

There was another of the same kind for x2 but this likely another issue with Xcode 15 being more strict than the past. Hopefully this is another easy port fix.

Attachments (1)

t1lib-main.log (205.5 KB) - added by rbeyer (Ross Beyer) 4 weeks ago.
main.log file from run of port install t1lib

Download all attachments as: .zip

Change History (3)

Changed 4 weeks ago by rbeyer (Ross Beyer)

Attachment: t1lib-main.log added

main.log file from run of port install t1lib

comment:1 Changed 4 weeks ago by jmroot (Joshua Root)

Red Hat has some patches that should help: https://src.fedoraproject.org/rpms/t1lib/tree/rawhide

We should also make sure it uses an appropriately old standard like -std=gnu89 since this issue is on top of the fact that the code uses K&R style declarations, which are no longer allowed as of C23.

comment:2 Changed 8 days ago by rbeyer (Ross Beyer)

I don't have the expertise to fix this, and was hoping that someone else might be able to patch up this portfile? It is currently blocking my ability to build texlive, and may be a blocker for others. Thank you.

Note: See TracTickets for help on using tickets.