[Bug 236849] graphics/gwenview: fix build with GCC-based architectures

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Mar 28 11:48:16 GMT 2019


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

            Bug ID: 236849
           Summary: graphics/gwenview: fix build with GCC-based
                    architectures
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde at FreeBSD.org
          Reporter: pkubaj at anongoth.pl
             Flags: maintainer-feedback?(kde at FreeBSD.org)
          Assignee: kde at FreeBSD.org

Created attachment 203213
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=203213&action=edit
patch

After last exiv updates, compiling gwenview with GCC8 fails:
In file included from /usr/local/include/exiv2/types.hpp:34,
                 from /usr/local/include/exiv2/datasets.hpp:31,
                 from /usr/local/include/exiv2/exiv2.hpp:33,
                 from
/wrkdirs/usr/ports/graphics/gwenview/work/gwenview-18.12.3/lib/document/loadingdocumentimpl.cpp:28:
/usr/local/include/exiv2/slice.hpp: In constructor
'Exiv2::Internal::SliceBase::SliceBase(size_t, size_t)':
/usr/local/include/exiv2/slice.hpp:99:77: error: exception handling disabled,
use -fexceptions to enable
                     throw std::out_of_range("Begin must be smaller than end");
                                                                             ^

Add -fexceptions to CXXFLAGS when using GCC to fix it.

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


More information about the kde-freebsd mailing list