Opened 3 years ago

Closed 3 years ago

#63128 closed defect (fixed)

tcl @8.6.11 implicit-function-declaration warning

Reported by: snarkhunter (Steve Langer) Owned by: chrstphrchvz (Christopher Chavez)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), chrstphrchvz (Christopher Chavez)
Port: tcl

Description

Installing tcl raises this message:

Warning: Configuration logfiles contain indications of -Wimplicit-function-declaration; check that features were not accidentally disabled:
  readdir64: found in tcl8.6.11/unix/config.log
  rewinddir64: found in tcl8.6.11/unix/config.log
  closedir64: found in tcl8.6.11/unix/config.log

Using 10.15.7, Xcode 12.4

Change History (4)

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

I assume these functions do not exist on any version of macOS. If we can find proof of that, then they should be added to the files in browser:macports-ports/_resources/port1.0/checks/implicit_function_declaration (one per line sorted alphabetically).

comment:2 Changed 3 years ago by chrstphrchvz (Christopher Chavez)

comment:3 Changed 3 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:4 Changed 3 years ago by chrstphrchvz (Christopher Chavez)

Owner: set to chrstphrchvz
Resolution: fixed
Status: newclosed

In 9c346f3f82d6f2a108efd57d94911287187cbbe2/macports-ports (master):

tcl, tk: update to 8.6.12

Ignore implicit declarations of functions not available
on macOS (readdir64(), rewinddir64(), closedir64())
during configure
Fixes: #63128

tk: drop patch-unix-Makefile.in.diff incorporated upstream
(see https://core.tcl-lang.org/tk/tktview?name=3598664)

Note: See TracTickets for help on using tickets.