maintainer-feedback requested: [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
Bugzilla Automation <bugzilla at FreeBSD.org> has asked kde at FreeBSD.org for
maintainer-feedback:
Bug 236849: graphics/gwenview: fix build with GCC-based architectures
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236849
--- Description ---
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/loading
documentimpl.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.
More information about the kde-freebsd
mailing list