Opened 5 years ago

Closed 5 years ago

#59670 closed defect (fixed)

py38-zmq: error: use of undeclared identifier 'strnlen'

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: jrjsmrtn
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: michaelld (Michael Dickens)
Port: py-zmq

Description

py38-zmq fails to build on 10.6:

bundled/zeromq/src/ipc_address.cpp:114:7: error: use of undeclared identifier 'strnlen'
      strnlen (src_pos, _addrlen - offsetof (sockaddr_un, sun_path)
      ^
1 error generated.

strnlen was introduced in 10.7.

You should be able to use the legacysupport portgroup to solve this.

Change History (1)

comment:1 Changed 5 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: assignedclosed

In e3831d121860c41a1ce97d07ef6f8538d9632583/macports-ports (master):

py-zmq: use legacysupport PG

Closes: #59670

Note: See TracTickets for help on using tickets.