[MacPorts] #67266: poppler: patch-poppler-gcc7-noexcept.diff fails to apply
MacPorts
noreply at macports.org
Thu Jul 27 21:46:43 UTC 2023
#67266: poppler: patch-poppler-gcc7-noexcept.diff fails to apply
---------------------------+----------------------
Reporter: barracuda156 | Owner: dbevans
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords:
Port: poppler |
---------------------------+----------------------
Comment (by rmottola):
I applied the two patches provided, I have now link failure. Some ideas?
{{{
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-23.07.0/poppler/GfxFont.cc:
In member function 'std::optional<GfxFontLoc> GfxFont::locateFont(XRef*,
PSOutputDev*, GooString*)':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-23.07.0/poppler/GfxFont.cc:680:24:
error: could not convert 'fontLoc' from 'GfxFontLoc' to
'std::optional<GfxFontLoc>'
return fontLoc;
^~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-23.07.0/poppler/GfxFont.cc:691:16:
error: could not convert 'fontLoc' from 'GfxFontLoc' to
'std::optional<GfxFontLoc>'
return fontLoc;
^~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-23.07.0/poppler/GfxFont.cc:700:16:
error: could not convert 'fontLoc' from 'GfxFontLoc' to
'std::optional<GfxFontLoc>'
return fontLoc;
^~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-23.07.0/poppler/GfxFont.cc:731:24:
error: could not convert 'fontLoc' from 'GfxFontLoc' to
'std::optional<GfxFontLoc>'
return fontLoc;
^~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-23.07.0/poppler/GfxFont.cc:743:20:
error: could not convert 'fontLoc' from 'GfxFontLoc' to
'std::optional<GfxFontLoc>'
return fontLoc;
^~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-23.07.0/poppler/GfxFont.cc:772:20:
error: could not convert 'fontLoc' from 'GfxFontLoc' to
'std::optional<GfxFontLoc>'
return fontLoc;
^~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-23.07.0/poppler/GfxFont.cc:
In static member function 'static std::optional<GfxFontLoc>
GfxFont::getExternalFont(GooString*, bool)':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-23.07.0/poppler/GfxFont.cc:834:12:
error: could not convert 'fontLoc' from 'GfxFontLoc' to
'std::optional<GfxFontLoc>'
return fontLoc;
^~~~~~~
make[2]: *** [CMakeFiles/poppler.dir/poppler/GfxFont.cc.o] Error 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/67266#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list