Opened 4 years ago

Closed 3 years ago

#61322 closed defect (fixed)

asco @0.4.10: implicit declaration is invalid in C99 error

Reported by: TBird2001 (Jason Verley) Owned by: rowue (Rolf Würdemann)
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: Cc: nomennudum (Roger Hayter)
Port: asco

Description

The install failed due to a compile-time error:

:info:build auxfunc_alter.c:437:5: error: implicit declaration of function 'gethostname' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build                                 gethostname(data, sizeof(data));

Implicit function declarations are an error as of Xcode 12. Presumably, the asco source code will need to be fixed.

Change History (3)

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

Owner: set to rowue
Status: newassigned

comment:2 Changed 4 years ago by nomennudum (Roger Hayter)

Cc: nomennudum added

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

Resolution: fixed
Status: assignedclosed

In 3e2dfba99d3904a09a1896f0f755232bf086a270/macports-ports (master):

asco: fix implicit declarations

Closes: #61322

Note: See TracTickets for help on using tickets.