[MacPorts] #67266: poppler: patch-poppler-gcc7-noexcept.diff fails to apply

MacPorts noreply at macports.org
Sat Apr 22 21:50:17 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 regenerated the patch, due to working in the work dir it is split in
 two.

 However, I get this error:


 {{{
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-23.04.0/poppler/GfxFont.cc:
 In member function 'std::optional<GfxFontLoc> GfxFont::locateFont(XRef*,
 PSOutputDev*)':
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-23.04.0/poppler/GfxFont.cc:660:24:
 error: could not convert 'fontLoc' from 'GfxFontLoc' to
 'std::optional<GfxFontLoc>'
 :info:build                  return fontLoc;
 :info:build                         ^~~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-23.04.0/poppler/GfxFont.cc:671:16:
 error: could not convert 'fontLoc' from 'GfxFontLoc' to
 'std::optional<GfxFontLoc>'
 :info:build          return fontLoc;
 :info:build                 ^~~~~~~
 }}}


 Some clues?

-- 
Ticket URL: <https://trac.macports.org/ticket/67266#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list