[MacPorts] #55160: kdenlive fails to build on High Sierra: spectrogram.cpp:244: 81: error: call to 'abs' is ambiguous
MacPorts
noreply at macports.org
Fri Nov 17 21:30:13 UTC 2017
#55160: kdenlive fails to build on High Sierra: spectrogram.cpp:244: 81: error:
call to 'abs' is ambiguous
------------------------+------------------------
Reporter: Polyergic | Owner: mkae
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: highsierra
Port: kdenlive |
------------------------+------------------------
Comment (by Polyergic):
Took a few tries to apply the patch properly; eventually did this:
{{{
sudo cp ~/Downloads/spectrogram.cpp.diff
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/multimedia/kdenlive/files/
sudo chmod a+r
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/multimedia/kdenlive/files/spectrogram.cpp.diff
sudo nano
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/multimedia/kdenlive/Portfile
## insert line 43: patchfiles-append spectrogram.cpp.diff
sudo port clean kdenlive
sudo port install kdenlive +docs
}}}
And now the build succeeds.
--
Ticket URL: <https://trac.macports.org/ticket/55160#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list