File inkscape-0.91-gcc6.patch of Package mingw32-inkscape

--- inkscape-0.91/src/2geom/bezier-clipping.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/2geom/bezier-clipping.cpp	2016-05-30 09:51:24.892526108 +0200
@@ -32,8 +32,8 @@
  */
 
 
-
-
+#define _USE_MATH_DEFINES
+#include <math.h>
 #include <2geom/basic-intersection.h>
 #include <2geom/choose.h>
 #include <2geom/point.h>
--- inkscape-0.91/src/2geom/circle.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/2geom/circle.cpp	2016-05-30 09:51:24.892526108 +0200
@@ -31,6 +31,8 @@
  */
 
 
+#include <math.h>
+
 #include <2geom/circle.h>
 #include <2geom/ellipse.h>
 #include <2geom/svg-elliptical-arc.h>
--- inkscape-0.91/src/2geom/conicsec.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/2geom/conicsec.cpp	2016-05-30 09:51:24.892526108 +0200
@@ -40,7 +40,7 @@
 #include <sstream>
 #include <stdexcept>
 
-
+#include <math.h>
 
 
 
--- inkscape-0.91/src/2geom/conicsec.h	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/2geom/conicsec.h	2016-05-30 09:51:24.892526108 +0200
@@ -52,6 +52,7 @@
 #include <vector>
 #include <ostream>
 
+#include <math.h>
 
 
 
--- inkscape-0.91/src/2geom/conic_section_clipper_impl.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/2geom/conic_section_clipper_impl.cpp	2016-05-30 09:51:24.892526108 +0200
@@ -33,6 +33,8 @@
     #include <2geom/conic_section_clipper.h>
 #endif
 
+#include <math.h>
+
 namespace Geom
 {
 
--- inkscape-0.91/src/2geom/ellipse.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/2geom/ellipse.cpp	2016-05-30 09:51:24.892526108 +0200
@@ -31,6 +31,8 @@
  */
 
 
+#include <math.h>
+
 #include <2geom/ellipse.h>
 #include <2geom/svg-elliptical-arc.h>
 #include <2geom/numeric/fitting-tool.h>
--- inkscape-0.91/src/2geom/elliptical-arc.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/2geom/elliptical-arc.cpp	2016-05-30 09:51:24.896526023 +0200
@@ -34,6 +34,8 @@
 #include <limits>
 #include <memory>
 
+#include <math.h>
+
 #include <2geom/elliptical-arc.h>
 #include <2geom/ellipse.h>
 #include <2geom/sbasis-geometric.h>
--- inkscape-0.91/src/2geom/ray.h	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/2geom/ray.h	2016-05-30 09:51:24.896526023 +0200
@@ -31,6 +31,8 @@
 #ifndef LIB2GEOM_SEEN_RAY_H
 #define LIB2GEOM_SEEN_RAY_H
 
+#include <math.h>
+
 #include <vector>
 #include <2geom/point.h>
 #include <2geom/bezier-curve.h> // for LineSegment
--- inkscape-0.91/src/2geom/sbasis.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/2geom/sbasis.cpp	2016-05-30 09:51:24.896526023 +0200
@@ -31,8 +31,8 @@
  * the specific language governing rights and limitations.
  */
 
-#include <cmath>
-
+#define _USE_MATH_DEFINES
+#include <math.h>
 #include <2geom/sbasis.h>
 #include <2geom/math-utils.h>
 
--- inkscape-0.91/src/2geom/sbasis-math.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/2geom/sbasis-math.cpp	2016-05-30 09:51:24.896526023 +0200
@@ -34,6 +34,8 @@
 //TODO: define a truncated compose(sb,sb, order) and extend it to pw<sb>.
 //TODO: in all these functions, compute 'order' according to 'tol'.
 
+#define _USE_MATH_DEFINES
+#include <math.h>
 #include <2geom/sbasis-math.h>
 
 #include <2geom/d2-sbasis.h>
--- inkscape-0.91/src/box3d.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/box3d.cpp	2016-05-30 09:51:24.896526023 +0200
@@ -15,6 +15,8 @@
  * Released under GNU GPL, read the file 'COPYING' for more information
  */
 
+#define _USE_MATH_DEFINES
+#include <math.h>
 #include <glibmm/i18n.h>
 #include "attributes.h"
 #include "xml/document.h"
--- inkscape-0.91/src/box3d-side.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/box3d-side.cpp	2016-05-30 09:51:24.896526023 +0200
@@ -10,6 +10,8 @@
  * Released under GNU GPL, read the file 'COPYING' for more information
  */
 
+#define _USE_MATH_DEFINES
+#include <math.h>
 #include "box3d-side.h"
 #include "document.h"
 #include "xml/document.h"
--- inkscape-0.91/src/desktop-events.cpp	2015-01-18 02:43:07.117567000 +0100
+++ inkscape-0.91/src/desktop-events.cpp	2016-05-30 09:51:24.896526023 +0200
@@ -15,6 +15,9 @@
 #ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
+
+#include <math.h>
+
 #include <map>
 #include <string>
 #include "ui/dialog/guides.h"
--- inkscape-0.91/src/display/curve-test.h	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/display/curve-test.h	2016-05-30 09:51:24.896526023 +0200
@@ -1,3 +1,5 @@
+#include <math.h>
+
 #include <cxxtest/TestSuite.h>
 
 #include "display/curve.h"
--- inkscape-0.91/src/display/nr-filter-colormatrix.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/display/nr-filter-colormatrix.cpp	2016-05-30 09:51:24.896526023 +0200
@@ -10,6 +10,7 @@
  * Released under GNU GPL, read the file 'COPYING' for more information
  */
 
+#define _USE_MATH_DEFINES
 #include <math.h>
 #include <algorithm>
 #include "display/cairo-templates.h"
--- inkscape-0.91/src/display/nr-light.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/display/nr-light.cpp	2016-05-30 09:51:24.896526023 +0200
@@ -9,7 +9,8 @@
  * Released under GNU GPL, read the file 'COPYING' for more information
  */
 
-#include <cmath>
+#define _USE_MATH_DEFINES
+#include <math.h>
 
 #include "display/nr-light.h"
 #include "display/nr-3dutils.h"
--- inkscape-0.91/src/display/sp-ctrlpoint.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/display/sp-ctrlpoint.cpp	2016-05-30 09:51:24.896526023 +0200
@@ -10,6 +10,9 @@
  * Released under GNU GPL
  */
 
+#define _USE_MATH_DEFINES
+#include <math.h>
+
 #include "sp-canvas-util.h"
 #include "sp-ctrlpoint.h"
 
--- inkscape-0.91/src/extension/internal/emf-inout.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/extension/internal/emf-inout.cpp	2016-05-30 09:51:24.900525938 +0200
@@ -27,6 +27,8 @@
 # include "config.h"
 #endif
 
+#include <math.h>
+
 //#include <png.h>   //This must precede text_reassemble.h or it blows up in pngconf.h when compiling
 #include <stdio.h>
 #include <stdlib.h>
--- inkscape-0.91/src/extension/internal/emf-print.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/extension/internal/emf-print.cpp	2016-05-30 09:51:24.900525938 +0200
@@ -26,6 +26,8 @@
 # include "config.h"
 #endif
 
+#include <math.h>
+
 #include <string.h>
 #include <glibmm/miscutils.h>
 #include <libuemf/symbol_convert.h>
--- inkscape-0.91/src/extension/internal/latex-text-renderer.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/extension/internal/latex-text-renderer.cpp	2016-05-30 09:51:24.900525938 +0200
@@ -19,6 +19,8 @@
 # include "config.h"
 #endif
 
+#include <math.h>
+
 #include "latex-text-renderer.h"
 
 #include <signal.h>
--- inkscape-0.91/src/extension/internal/metafile-print.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/extension/internal/metafile-print.cpp	2016-05-30 09:51:24.900525938 +0200
@@ -12,6 +12,8 @@
 # include "config.h"
 #endif
 
+#include <math.h>
+
 #include <cstring>
 #include <fstream>
 #include <glib.h>
--- inkscape-0.91/src/extension/internal/text_reassemble.c	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/extension/internal/text_reassemble.c	2016-05-30 09:51:24.900525938 +0200
@@ -82,6 +82,8 @@
 #include <libuemf/uemf_utf.h>  /* For a couple of text functions.  Exact copy from libUEMF. */
 #include <float.h>
 
+#include <math.h>
+
 /* Code generated by make_ucd_mn_table.c using:
    cat mnlist.txt |  ./make_ucd_mn_table  >generated.c
 */
--- inkscape-0.91/src/extension/internal/text_reassemble.h	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/extension/internal/text_reassemble.h	2016-05-30 09:51:24.900525938 +0200
@@ -18,6 +18,7 @@
 extern "C" {
 #endif
 
+#include <math.h>
 
 #include <stdlib.h>
 #include <stdio.h>
--- inkscape-0.91/src/extension/internal/wmf-inout.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/extension/internal/wmf-inout.cpp	2016-05-30 09:51:24.900525938 +0200
@@ -27,6 +27,8 @@
 # include "config.h"
 #endif
 
+#include <math.h>
+
 //#include <png.h>   //This must precede text_reassemble.h or it blows up in pngconf.h when compiling
 #include <stdio.h>
 #include <stdlib.h>
--- inkscape-0.91/src/extension/internal/wmf-print.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/extension/internal/wmf-print.cpp	2016-05-30 09:51:24.900525938 +0200
@@ -28,6 +28,7 @@
 # include "config.h"
 #endif
 
+#include <math.h>
 
 #include "2geom/sbasis-to-bezier.h"
 #include "2geom/svg-elliptical-arc.h"
--- inkscape-0.91/src/gradient-drag.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/gradient-drag.cpp	2016-05-30 09:51:24.900525938 +0200
@@ -21,6 +21,7 @@
 #include <glibmm/i18n.h>
 #include <cstring>
 #include <string>
+#include <math.h>
 
 #include "desktop-handles.h"
 #include "selection.h"
--- inkscape-0.91/src/knot-holder-entity.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/knot-holder-entity.cpp	2016-05-30 09:51:24.900525938 +0200
@@ -15,6 +15,8 @@
  * Released under GNU GPL
  */
 
+#include <math.h>
+
 #include "knot-holder-entity.h"
 #include "knotholder.h"
 #include "sp-item.h"
--- inkscape-0.91/src/libnrtype/Layout-TNG-Compute.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/libnrtype/Layout-TNG-Compute.cpp	2016-05-30 09:51:24.900525938 +0200
@@ -8,6 +8,10 @@
  *
  * Released under GNU GPL, read the file 'COPYING' for more information
  */
+
+#define _USE_MATH_DEFINES
+#include <math.h>
+
 #include "Layout-TNG.h"
 #include "style.h"
 #include "font-instance.h"
--- inkscape-0.91/src/libnrtype/Layout-TNG-OutIter.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/libnrtype/Layout-TNG-OutIter.cpp	2016-05-30 09:51:24.900525938 +0200
@@ -8,6 +8,9 @@
  *
  * Released under GNU GPL, read the file 'COPYING' for more information
  */
+
+#include <math.h>
+
 #include "Layout-TNG.h"
 #include "livarot/Path.h"
 #include "font-instance.h"
--- inkscape-0.91/src/line-geometry.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/line-geometry.cpp	2016-05-30 09:51:24.904525854 +0200
@@ -9,6 +9,8 @@
  * Released under GNU GPL, read the file 'COPYING' for more information
  */
 
+#define _USE_MATH_DEFINES
+#include <math.h>
 #include "line-geometry.h"
 #include "inkscape.h"
 #include "desktop.h"
--- inkscape-0.91/src/livarot/PathConversion.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/livarot/PathConversion.cpp	2016-05-30 09:51:24.904525854 +0200
@@ -6,6 +6,8 @@
  *
  */
 
+#include <math.h>
+
 #include <glib.h>
 #include <2geom/transforms.h>
 #include "Path.h"
--- inkscape-0.91/src/livarot/PathCutting.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/livarot/PathCutting.cpp	2016-05-30 09:51:24.904525854 +0200
@@ -13,6 +13,8 @@
  *  Released under GNU GPL, read the file 'COPYING' for more information
  */
 
+#include <math.h>
+
 #include <cstring>
 #include <string>
 #include <cstdio>
--- inkscape-0.91/src/livarot/PathOutline.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/livarot/PathOutline.cpp	2016-05-30 09:51:24.904525854 +0200
@@ -6,6 +6,8 @@
  *
  */
 
+#define _USE_MATH_DEFINES
+#include <math.h>
 #include "livarot/Path.h"
 #include "livarot/path-description.h"
 
--- inkscape-0.91/src/livarot/PathStroke.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/livarot/PathStroke.cpp	2016-05-30 09:51:24.904525854 +0200
@@ -6,6 +6,8 @@
  *
  */
 
+#include <math.h>
+
 #include "Path.h"
 #include "Shape.h"
 #include <2geom/transforms.h>
--- inkscape-0.91/src/livarot/Shape.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/livarot/Shape.cpp	2016-05-30 09:51:24.904525854 +0200
@@ -6,6 +6,8 @@
  *
  */
 
+#define _USE_MATH_DEFINES
+#include <math.h>
 #include <cstdio>
 #include <cstdlib>
 #include <glib.h>
--- inkscape-0.91/src/livarot/ShapeMisc.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/livarot/ShapeMisc.cpp	2016-05-30 09:51:24.904525854 +0200
@@ -6,6 +6,8 @@
  *
  */
 
+#define _USE_MATH_DEFINES
+#include <math.h>
 #include "livarot/Shape.h"
 #include "livarot/Path.h"
 #include "livarot/path-description.h"
--- inkscape-0.91/src/live_effects/lpe-dynastroke.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/live_effects/lpe-dynastroke.cpp	2016-05-30 09:51:24.904525854 +0200
@@ -10,6 +10,8 @@
  * Released under GNU GPL, read the file 'COPYING' for more information
  */
 
+#include <math.h>
+
 #include "live_effects/lpe-dynastroke.h"
 #include "display/curve.h"
 //# include <libnr/n-art-bpath.h>
--- inkscape-0.91/src/live_effects/lpe-gears.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/live_effects/lpe-gears.cpp	2016-05-30 09:51:24.904525854 +0200
@@ -6,6 +6,8 @@
  * Released under GNU GPL, read the file 'COPYING' for more information
  */
 
+#include <math.h>
+
 #include "live_effects/lpe-gears.h"
 
 #include <vector>
--- inkscape-0.91/src/live_effects/lpe-perspective_path.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/live_effects/lpe-perspective_path.cpp	2016-05-30 09:58:40.415221638 +0200
@@ -10,6 +10,9 @@
  *
  * Released under GNU GPL, read the file 'COPYING' for more information
  */
+
+#define _USE_MATH_DEFINES
+#include <math.h>
 #include <gtkmm.h>
 #include <glibmm/i18n.h>
 
--- inkscape-0.91/src/object-edit.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/object-edit.cpp	2016-05-30 09:51:24.904525854 +0200
@@ -14,7 +14,7 @@
 # include "config.h"
 #endif
 
-
+#include <math.h>
 
 #include "sp-item.h"
 #include "sp-rect.h"
--- inkscape-0.91/src/persp3d.cpp	2015-01-18 02:43:07.117567000 +0100
+++ inkscape-0.91/src/persp3d.cpp	2016-05-30 09:51:24.904525854 +0200
@@ -11,6 +11,9 @@
  * Released under GNU GPL, read the file 'COPYING' for more information
  */
 
+#define _USE_MATH_DEFINES
+#include <math.h>
+
 #include "persp3d.h"
 #include "perspective-line.h"
 #include "attributes.h"
--- inkscape-0.91/src/perspective-line.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/perspective-line.cpp	2016-05-30 09:51:24.904525854 +0200
@@ -11,6 +11,8 @@
  * Released under GNU GPL, read the file 'COPYING' for more information
  */
 
+#define _USE_MATH_DEFINES
+#include <math.h>
 #include "perspective-line.h"
 #include "persp3d.h"
 
--- inkscape-0.91/src/selection-chemistry.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/selection-chemistry.cpp	2016-05-30 09:51:24.904525854 +0200
@@ -23,6 +23,8 @@
 # include "config.h"
 #endif
 
+#include <math.h>
+
 #include <gtkmm/clipboard.h>
 
 #include "file.h"
--- inkscape-0.91/src/selection.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/selection.cpp	2016-05-30 09:51:24.904525854 +0200
@@ -19,6 +19,8 @@
 #ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
+#define _USE_MATH_DEFINES
+#include <math.h>
 #include "macros.h"
 #include "inkscape-private.h"
 #include "document.h"
--- inkscape-0.91/src/seltrans.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/seltrans.cpp	2016-05-30 09:51:24.904525854 +0200
@@ -17,6 +17,9 @@
 #ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
+
+#include <math.h>
+
 #include <cstring>
 #include <string>
 
--- inkscape-0.91/src/snap.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/snap.cpp	2016-05-30 09:51:24.904525854 +0200
@@ -15,6 +15,8 @@
  * Released under GNU GPL, read the file 'COPYING' for more information
  */
 
+#include <math.h>
+
 #include <utility>
 #include <2geom/transforms.h>
 
--- inkscape-0.91/src/sp-ellipse.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/sp-ellipse.cpp	2016-05-30 09:51:24.908525769 +0200
@@ -18,6 +18,9 @@
 # include "config.h"
 #endif
 
+#define _USE_MATH_DEFINES
+#include <math.h>
+
 #include "svg/svg.h"
 #include "svg/path-string.h"
 #include "xml/repr.h"
--- inkscape-0.91/src/sp-item-group.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/sp-item-group.cpp	2016-05-30 09:51:24.908525769 +0200
@@ -18,6 +18,9 @@
 # include "config.h"
 #endif
 
+#define _USE_MATH_DEFINES
+#include <math.h>
+
 #include <glibmm/i18n.h>
 #include <cstring>
 #include <string>
--- inkscape-0.91/src/sp-mesh-array.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/sp-mesh-array.cpp	2016-05-30 09:51:24.908525769 +0200
@@ -37,6 +37,10 @@
  * Released under GNU GPL, read the file 'COPYING' for more information
  */
 
+#define _USE_MATH_DEFINES
+#include <math.h>
+
+
 #include "sp-mesh-array.h"
 #include "sp-mesh-gradient.h"
 #include "sp-mesh-row.h"
--- inkscape-0.91/src/sp-offset.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/sp-offset.cpp	2016-05-30 09:51:24.908525769 +0200
@@ -18,6 +18,8 @@
 # include "config.h"
 #endif
 
+#include <math.h>
+
 #include <cstring>
 #include <string>
 
--- inkscape-0.91/src/sp-shape.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/sp-shape.cpp	2016-05-30 09:51:24.908525769 +0200
@@ -18,6 +18,8 @@
 # include "config.h"
 #endif
 
+#include <math.h>
+
 #include <2geom/rect.h>
 #include <2geom/transforms.h>
 #include <2geom/pathvector.h>
--- inkscape-0.91/src/sp-spiral.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/sp-spiral.cpp	2016-05-30 09:51:24.908525769 +0200
@@ -16,6 +16,7 @@
 
 #include "config.h"
 
+#include <math.h>
 
 #include "svg/svg.h"
 #include "attributes.h"
--- inkscape-0.91/src/sp-star.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/sp-star.cpp	2016-05-30 09:51:24.908525769 +0200
@@ -17,6 +17,8 @@
 # include "config.h"
 #endif
 
+#include <math.h>
+
 #include <cstring>
 #include <string>
 #include <glib.h>
--- inkscape-0.91/src/svg/svg-affine.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/svg/svg-affine.cpp	2016-05-30 09:51:24.908525769 +0200
@@ -15,6 +15,8 @@
 # include "config.h"
 #endif
 
+#include <math.h>
+
 #include <cstring>
 #include <string>
 #include <cstdlib>
--- inkscape-0.91/src/svg/svg-affine-test.h	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/svg/svg-affine-test.h	2016-05-30 09:51:24.908525769 +0200
@@ -1,3 +1,5 @@
+#include <math.h>
+
 #include <cxxtest/TestSuite.h>
 
 #include "svg/svg.h"
--- inkscape-0.91/src/text-editing.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/text-editing.cpp	2016-05-30 09:51:24.908525769 +0200
@@ -16,6 +16,10 @@
 # include "config.h"
 #endif
 
+#define _USE_MATH_DEFINES
+#include <math.h>
+
+
 #include <cstring>
 #include <string>
 #include <glibmm/i18n.h>
--- inkscape-0.91/src/tools-switch.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/tools-switch.cpp	2016-05-30 09:51:24.908525769 +0200
@@ -15,6 +15,9 @@
 # include "config.h"
 #endif
 
+#define _USE_MATH_DEFINES
+#include <math.h>
+
 #include <cstring>
 #include <string>
 
--- inkscape-0.91/src/transf_mat_3x4.h	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/transf_mat_3x4.h	2016-05-30 09:51:24.908525769 +0200
@@ -12,6 +12,8 @@
  * Released under GNU GPL, read the file 'COPYING' for more information
  */
 
+#define _USE_MATH_DEFINES
+#include <math.h>
 #include "proj_pt.h"
 #include "axis-manip.h"
 
--- inkscape-0.91/src/ui/dialog/clonetiler.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/ui/dialog/clonetiler.cpp	2016-05-30 09:51:24.908525769 +0200
@@ -17,6 +17,8 @@
 # include "config.h"
 #endif
 
+#include <math.h>
+
 #include "clonetiler.h"
 
 #include <climits>
--- inkscape-0.91/src/ui/dialog/polar-arrange-tab.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/ui/dialog/polar-arrange-tab.cpp	2016-05-30 09:51:24.908525769 +0200
@@ -7,6 +7,8 @@
  * Released under GNU GPL, read the file 'COPYING' for more information
  */
 
+#include <math.h>
+
 #include "ui/dialog/polar-arrange-tab.h"
 #include "ui/dialog/tile.h"
 
--- inkscape-0.91/src/ui/dialog/transformation.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/ui/dialog/transformation.cpp	2016-05-30 09:51:24.908525769 +0200
@@ -15,6 +15,8 @@
 # include <config.h>
 #endif
 
+#include <math.h>
+
 #if GLIBMM_DISABLE_DEPRECATED && HAVE_GLIBMM_THREADS_H
 #include <glibmm/threads.h>
 #endif
--- inkscape-0.91/src/ui/tool/control-point-selection.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/ui/tool/control-point-selection.cpp	2016-05-30 09:51:24.908525769 +0200
@@ -9,6 +9,8 @@
  * Released under GNU GPL, read the file 'COPYING' for more information
  */
 
+#include <math.h>
+
 #include <boost/none.hpp>
 #include "ui/tool/selectable-control-point.h"
 #include <2geom/transforms.h>
--- inkscape-0.91/src/ui/tool/node.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/ui/tool/node.cpp	2016-05-30 09:51:24.912525685 +0200
@@ -6,6 +6,8 @@
  * Released under GNU GPL, read the file 'COPYING' for more information
  */
 
+#include <math.h>
+
 #include <iostream>
 #include <stdexcept>
 #include <boost/utility.hpp>
--- inkscape-0.91/src/ui/tool/path-manipulator.cpp	2015-01-18 02:43:07.117567000 +0100
+++ inkscape-0.91/src/ui/tool/path-manipulator.cpp	2016-05-30 09:51:24.912525685 +0200
@@ -10,6 +10,8 @@
  * Released under GNU GPL, read the file 'COPYING' for more information
  */
 
+#include <math.h>
+
 #include "live_effects/lpe-powerstroke.h"
 #include <string>
 #include <sstream>
--- inkscape-0.91/src/ui/tools/calligraphic-tool.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/ui/tools/calligraphic-tool.cpp	2016-05-30 09:51:24.912525685 +0200
@@ -25,6 +25,8 @@
 
 #include "config.h"
 
+#include <math.h>
+
 #include <gtk/gtk.h>
 #include <gdk/gdkkeysyms.h>
 #include <glibmm/i18n.h>
--- inkscape-0.91/src/ui/tools/eraser-tool.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/ui/tools/eraser-tool.cpp	2016-05-30 09:51:24.912525685 +0200
@@ -26,6 +26,8 @@
 
 #include "config.h"
 
+#include <math.h>
+
 #include <gtk/gtk.h>
 #include <gdk/gdkkeysyms.h>
 #include <glibmm/i18n.h>
--- inkscape-0.91/src/ui/tools/measure-tool.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/ui/tools/measure-tool.cpp	2016-05-30 09:51:24.912525685 +0200
@@ -11,6 +11,8 @@
  */
 
 
+#include <math.h>
+
 #include <gdk/gdkkeysyms.h>
 #include <boost/none_t.hpp>
 #include "util/units.h"
--- inkscape-0.91/src/ui/tools/pen-tool.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/ui/tools/pen-tool.cpp	2016-05-30 09:51:24.912525685 +0200
@@ -16,6 +16,8 @@
  * Released under GNU GPL, read the file 'COPYING' for more information
  */
 
+#include <math.h>
+
 #include <gdk/gdkkeysyms.h>
 #include <cstring>
 #include <string>
--- inkscape-0.91/src/ui/tools/spiral-tool.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/ui/tools/spiral-tool.cpp	2016-05-30 09:51:24.912525685 +0200
@@ -16,6 +16,8 @@
 
 #include "config.h"
 
+#include <math.h>
+
 #include <gdk/gdkkeysyms.h>
 #include <cstring>
 #include <string>
--- inkscape-0.91/src/ui/tools/spray-tool.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/ui/tools/spray-tool.cpp	2016-05-30 09:51:24.912525685 +0200
@@ -20,6 +20,8 @@
 
 #include "config.h"
 
+#include <math.h>
+
 #include <numeric>
 
 #include "ui/dialog/dialog-manager.h"
--- inkscape-0.91/src/ui/tools/star-tool.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/ui/tools/star-tool.cpp	2016-05-30 09:51:24.912525685 +0200
@@ -18,6 +18,8 @@
 # include "config.h"
 #endif
 
+#include <math.h>
+
 #include <cstring>
 #include <string>
 
--- inkscape-0.91/src/ui/tools/tool-base.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/ui/tools/tool-base.cpp	2016-05-30 10:26:58.474625782 +0200
@@ -18,6 +18,9 @@
 # include "config.h"
 #endif
 
+#define _USE_MATH_DEFINES
+#include <math.h>
+
 #include "widgets/desktop-widget.h"
 
 #if GLIBMM_DISABLE_DEPRECATED && HAVE_GLIBMM_THREADS_H
--- inkscape-0.91/src/ui/tools/tweak-tool.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/ui/tools/tweak-tool.cpp	2016-05-30 09:51:24.912525685 +0200
@@ -13,6 +13,8 @@
 
 #include "config.h"
 
+#include <math.h>
+
 #include <gtk/gtk.h>
 #include <gdk/gdkkeysyms.h>
 #include <glibmm/i18n.h>
--- inkscape-0.91/src/ui/tools/zoom-tool.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/ui/tools/zoom-tool.cpp	2016-05-30 10:34:28.100878081 +0200
@@ -12,6 +12,9 @@
  */
 
 
+#define _USE_MATH_DEFINES
+#include <math.h>
+
 #include <gdk/gdkkeysyms.h>
 
 #include "macros.h"
--- inkscape-0.91/src/ui/widget/registered-widget.cpp	2015-01-18 02:43:07.117567000 +0100
+++ inkscape-0.91/src/ui/widget/registered-widget.cpp	2016-05-30 09:51:24.912525685 +0200
@@ -17,6 +17,8 @@
 # include <config.h>
 #endif
 
+#include <math.h>
+
 #include "registered-widget.h"
 #include <gtkmm/radiobutton.h>
 
--- inkscape-0.91/src/ui/widget/rotateable.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/ui/widget/rotateable.cpp	2016-05-30 10:43:07.441539812 +0200
@@ -11,6 +11,9 @@
 # include "config.h"
 #endif
 
+#define _USE_MATH_DEFINES
+#include <math.h>
+
 #if GLIBMM_DISABLE_DEPRECATED && HAVE_GLIBMM_THREADS_H
 #include <glibmm/threads.h>
 #endif
--- inkscape-0.91/src/unclump.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/unclump.cpp	2016-05-30 09:51:24.912525685 +0200
@@ -11,6 +11,8 @@
  * Released under GNU GPL, read the file 'COPYING' for more information
  */
 
+#include <math.h>
+
 #include <algorithm>
 #include <map>
 #include <2geom/transforms.h>
--- inkscape-0.91/src/vanishing-point.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/vanishing-point.cpp	2016-05-30 09:51:24.912525685 +0200
@@ -12,6 +12,9 @@
  * Released under GNU GPL, read the file 'COPYING' for more information
  */
 
+#define _USE_MATH_DEFINES
+#include <math.h>
+
 #include <glibmm/i18n.h>
 
 #include "vanishing-point.h"
--- inkscape-0.91/src/widgets/arc-toolbar.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/widgets/arc-toolbar.cpp	2016-05-30 10:05:13.794774500 +0200
@@ -28,6 +28,9 @@
 # include "config.h"
 #endif
 
+#define _USE_MATH_DEFINES
+#include <math.h>
+
 #include <glibmm/i18n.h>
 
 #include "arc-toolbar.h"
--- inkscape-0.91/src/widgets/box3d-toolbar.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/widgets/box3d-toolbar.cpp	2016-05-30 10:05:27.582480952 +0200
@@ -28,6 +28,9 @@
 # include "config.h"
 #endif
 
+#define _USE_MATH_DEFINES
+#include <math.h>
+
 #include <glibmm/i18n.h>
 
 #include "box3d-toolbar.h"
--- inkscape-0.91/src/widgets/desktop-widget.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/widgets/desktop-widget.cpp	2016-05-30 10:11:24.822821452 +0200
@@ -24,6 +24,9 @@
 # include "config.h"
 #endif
 
+#define _USE_MATH_DEFINES
+#include <math.h>
+
 #include <2geom/rect.h>
 
 #include "ui/dialog/dialog-manager.h"
--- inkscape-0.91/src/widgets/star-toolbar.cpp	2014-11-30 19:45:32.000000000 +0100
+++ inkscape-0.91/src/widgets/star-toolbar.cpp	2016-05-30 10:19:13.984667809 +0200
@@ -28,6 +28,9 @@
 # include "config.h"
 #endif
 
+#define _USE_MATH_DEFINES
+#include <math.h>
+
 #include <glibmm/i18n.h>
 
 #include "star-toolbar.h"
openSUSE Build Service is sponsored by