pkgsrc/databases/mysql57-client/patches/patch-sql_item__geofunc__internal.cc
adam 2559dce84b boost: update to 1.65.1
Fixes in 1.65.1
Config:
* Version macro changes for CUDA.
* Update last known MSVC version.
* MSVC 14.11 supports structured bindings.

Context:
* Return a continuation from functions executed by resume_with.

Fiber:
* Return a continuation from functions executed by resume_with.

Smart Pointers:
* Fix Visual C++ version checks.
* Fix compilation for NVCC with host compiler clang.

Stacktrace:
* Update build testing file to detail with a MinGW issue.
* Change preprocessor file extensions to work with the installation system.
* Support FreeBSD and other OSs that do not define _GNU_SOURCE but have _Unwind_Backtrace function.

Thread:
* Fix bug in boost::condition_variable on Windows
2017-09-13 17:34:40 +00:00

18 lines
709 B
C++

$NetBSD: patch-sql_item__geofunc__internal.cc,v 1.1 2017/09/13 17:34:41 adam Exp $
Do not try to catch non-existent exception.
--- sql/item_geofunc_internal.cc.orig 2017-09-13 12:53:40.000000000 +0000
+++ sql/item_geofunc_internal.cc
@@ -34,11 +34,6 @@ void handle_gis_exception(const char *fu
{
my_error(ER_BOOST_GEOMETRY_TURN_INFO_EXCEPTION, MYF(0), funcname);
}
- catch (const boost::geometry::detail::self_get_turn_points::self_ip_exception &)
- {
- my_error(ER_BOOST_GEOMETRY_SELF_INTERSECTION_POINT_EXCEPTION, MYF(0),
- funcname);
- }
catch (const boost::geometry::empty_input_exception &)
{
my_error(ER_BOOST_GEOMETRY_EMPTY_INPUT_EXCEPTION, MYF(0), funcname);