Debian Patches

Status for duma/2.5.15-2

Patch Description Author Forwarded Bugs Origin Last update
Makefile.diff no
0003-fix-C++14.patch With C++14, the way exceptions are specified has changed (somehow, don't
ask me), thus causing build failures:

dumapp.cpp: In function ‘void* operator new(std::size_t)’:
dumapp.cpp:192:19: error: declaration of ‘void* operator new(std::size_t) throw (std::bad_alloc)’ has a different exception specifier
void * DUMA_CDECL operator new( DUMA_SIZE_T size )
^~~~~~~~
In file included from dumapp.cpp:39:0:
dumapp.h:91:23: note: from previous declaration ‘void* operator new(std::size_t)’
void * DUMA_CDECL operator new(DUMA_SIZE_T) throw(std::bad_alloc);
^~~~~~~~

This is most evident with gcc-6.x, since the default C++ standard has
changed from C++11 to C++14, thus exposing these new failures.

Fix that by guarding the exception handling, a bit like was done
with GRASS GIS (thanks DuckDuckGo):

https://trac.osgeo.org/grass/changeset?old_path=%2F&old=68817&new_path=%2F&new=68818&sfp_email=&sfph_mail=
no
destdir.patch make GNUmakefile aware of DESTDIR Andreas Beckmann <anbe@debian.org> no

All known versions for source package 'duma'

Links