Opened 10 months ago

Closed 10 months ago

Last modified 10 months ago

#67755 closed defect (fixed)

Build spdlog against Macports libfmt to avoid conflicts

Reported by: barracuda156 Owned by: judaew (Vadym-Valdis Yudaiev)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: XNephila (X Nephila)
Port: spdlog

Description

Could we build spdlog with -DSPDLOG_FMT_EXTERNAL option passed? And use our libfmt10 (perhaps) or otherwise libfmt9 port with it.

Otherwise conflicts of headers arise, like here: https://github.com/oxen-io/oxen-logging/issues/10

Change History (2)

comment:1 Changed 10 months ago by judaew (Vadym-Valdis Yudaiev)

Resolution: fixed
Status: assignedclosed

In 629da6f9c6b9dd6d3c1978afd92ece8e18aa7910/macports-ports (master):

spdlog: Use external fmt (libfmt10)

Closed: #67755

comment:2 in reply to:  1 Changed 10 months ago by barracuda156

Replying to judaew:

In 629da6f9c6b9dd6d3c1978afd92ece8e18aa7910/macports-ports (master):

spdlog: Use external fmt (libfmt10)

Closed: #67755

Thank you! Works perfectly now: https://github.com/macports/macports-ports/commit/98fa5f91e3363310732bd8759bc4e79b64ae89a8

Last edited 10 months ago by barracuda156 (previous) (diff)
Note: See TracTickets for help on using tickets.