pkgsrc/graphics/inkscape/patches/patch-ad
adam f629e92d42 Changes 0.45:
This release brings the exciting new features developed by the Google
Summer of Code 2006 participants, as well as tons of other
improvements across the board. Here are the highlights:

* Gaussian blur is the first SVG filter supported by Inkscape. You
  can blur any object to any extent - yet it remains vector and
  fully editable. This gives a huge boost to Inkscape as a creative
  art tool.

* Display speed and interactivity: not only does Inkscape render
  faster, but it can now respond to user input before it finished
  redrawing the screen, which greatly improves the interactivity of
  the program.

* History dialog makes it easy to to review your editing session and
  jump to any step of it, undoing and redoing multiple actions with
  one click.

* Several important tool features are added, notably the new
  selection mode in Node tool and the adjustable rounded caps in
  Calligraphic pen.

* Bitmap tracing works better for multi-color traces, sports a
  redesigned dialog and several new options.

* Many new extension effects are added, including Color effects and
  Pattern along path.

* The Outline mode has got many fixes and improvements, including a
  keyboard shortcut.

* Several new commands in Help menu open various Inkscape-related
  pages in your default browser, making Inkscape reference
  information more accessible as you work.

* Dozens of smaller features are added throughout the program, and
  hundreds of bugs are fixed.
2007-02-05 20:20:03 +00:00

21 lines
497 B
Text

$NetBSD: patch-ad,v 1.3 2007/02/05 20:20:03 adam Exp $
--- src/trace/potrace/inkscape-potrace.cpp.orig 2007-01-16 03:05:41.000000000 +0100
+++ src/trace/potrace/inkscape-potrace.cpp
@@ -31,7 +31,16 @@
#include "curve.h"
#include "bitmap.h"
+#if defined(__NetBSD__)
+#include <sys/param.h>
+#endif
+#if defined(__DragonFly__) || (defined(__NetBSD__) && __NetBSD_Version__ < 399000800)
+static double log2(double val)
+{
+ return log(val) / M_LN2;
+}
+#endif
static void updateGui()
{