[Bug 207697] editors/libreoffice4: fix build with boost 1.60

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Nov 23 12:46:53 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207697

--- Comment #3 from commit-hook at freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Wed Nov 23 12:46:12 UTC 2016
New revision: 426909
URL: https://svnweb.freebsd.org/changeset/ports/426909

Log:
  editors/libreoffice4: unbreak build with boost 1.62

  workdir/LinkTarget/StaticLibrary/libpdfimport_s.a(pdfparse.o): In function
`_GLOBAL__sub_I_pdfparse.cxx':
  sdext/source/pdfimport/pdfparse/pdfparse.cxx:(.text+0x2f8): undefined
reference to `boost::system::generic_category()'
  sdext/source/pdfimport/pdfparse/pdfparse.cxx:(.text+0x303): undefined
reference to `boost::system::generic_category()'
  sdext/source/pdfimport/pdfparse/pdfparse.cxx:(.text+0x30e): undefined
reference to `boost::system::system_category()'
  c++: error: linker command failed with exit code 1 (use -v to see invocation)

  In file included from canvas/source/cairo/cairo_spritecanvashelper.cxx:35:
  In file included from canvas/source/cairo/cairo_canvascustomsprite.hxx:37:
  include/canvas/base/canvascustomspritebase.hxx:257:24: warning: 'getPriority'
overrides a member function but is not marked 'override'
[-Winconsistent-missing-override]
          virtual double getPriority() const
                         ^
  include/canvas/base/sprite.hxx:92:37: note: overridden virtual function is
here
          virtual double              getPriority() const = 0;
                                      ^
  canvas/source/cairo/cairo_spritecanvashelper.cxx:409:41: error: call to
deleted function 'cref'
                                         
boost::cref(mpOwningSpriteCanvas->getBufferSurface()),
                                          ^~~~~~~~~~~
  /usr/local/include/boost/core/ref.hpp:179:24: note: candidate function [with
T = boost::shared_ptr<cairo::Surface>] has been explicitly deleted
  template<class T> void cref(T const&&) BOOST_REF_DELETE;
                         ^
  /usr/local/include/boost/core/ref.hpp:150:80: note: candidate function [with
T = boost::shared_ptr<cairo::Surface>]
  template<class T> BOOST_FORCEINLINE reference_wrapper<T const>
BOOST_REF_CONST cref( T const & t )
                                                                               
 ^
  canvas/source/cairo/cairo_spritecanvashelper.cxx:407:26: error: no matching
function for call to 'bind'
                           ::boost::bind( &repaintBackground,
                           ^~~~~~~~~~~~~
  /usr/local/include/boost/bind/bind.hpp:1899:5: note: candidate template
ignored: couldn't infer template argument 'R'
      BOOST_BIND(F f, A1 a1, A2 a2, A3 a3)
      ^
  /usr/local/include/boost/bind/bind.hpp:1868:20: note: expanded from macro
'BOOST_BIND'
   #define BOOST_BIND bind
                      ^
  [...]

  PR:           207697
  Submitted by: truckman
  Obtained from:        upstream
  Exp-run by:   antoine

Changes:
 
head/editors/libreoffice4/files/patch-45dfbdca6a9afba1a6aef21623ec025ded635a4d
 
head/editors/libreoffice4/files/patch-solenv_gbuild_platform_com__GCC__defs.mk

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-office mailing list