[MacPorts] #69455: poppler @24.03.0: build failure on macOS 10.14 and earlier due to use of std::filesystem
MacPorts
noreply at macports.org
Sat Mar 16 01:53:54 UTC 2024
#69455: poppler @24.03.0: build failure on macOS 10.14 and earlier due to use of
std::filesystem
-------------------------+-------------------------------------------------
Reporter: lukaso | Owner: dbevans
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords: tiger leopard snowleopard lion
| mountainlion mavericks yosemite elcapitan
Port: poppler | sierra highsierra mojave
-------------------------+-------------------------------------------------
Comment (by ewenmcneill):
Replying to [comment:22 erikbs]:
> My fix proposal: https://github.com/macports/macports-ports/pull/23035
> [...]
> The port already links the legacy-support library, so I assume that one
extra line in the Portfile (`legacysupport.use_mp_libcxx yes`) is better
than patching the source code to use another filesystem library?
Thanks for this PR proposal. I manually applied that change to my local
port file on macOS 10.14 (sudo port edit poppler), and poppler built
successfully from source. Which is handy because a bunch of other ports
depend on poppler (and want to pull in a later poppler :-/ )
To me too this seems like the cleanest work around for poppler wanting
newer C++ features than macOS 10.14 shipped with.
Ewen
--
Ticket URL: <https://trac.macports.org/ticket/69455#comment:27>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list