diff options
author | joerg <joerg> | 2006-07-21 15:36:56 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-07-21 15:36:56 +0000 |
commit | be1d0e4ecfe9e81c49fde2d140bf35d656006c16 (patch) | |
tree | 0fd29167e5474c735813a184aba210fa226e62db | |
parent | c3a7c304bf87b5a3c095827b5a38300f0b3beeb9 (diff) | |
download | pkgsrc-be1d0e4ecfe9e81c49fde2d140bf35d656006c16.tar.gz |
NetBSD before 3.99.8 needs log2 as well. Fixes PR 34020.
-rw-r--r-- | graphics/inkscape/distinfo | 4 | ||||
-rw-r--r-- | graphics/inkscape/patches/patch-ad | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/graphics/inkscape/distinfo b/graphics/inkscape/distinfo index 23c68fa1db8..99321f58510 100644 --- a/graphics/inkscape/distinfo +++ b/graphics/inkscape/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.13 2006/07/21 13:16:53 joerg Exp $ +$NetBSD: distinfo,v 1.14 2006/07/21 15:36:56 joerg Exp $ SHA1 (inkscape-0.44.tar.bz2) = 018538c926b53f4813b5831ac8d1df0416b69e5c RMD160 (inkscape-0.44.tar.bz2) = 1edc657fe42ab7041c43998ab9ec9c4d8721b601 @@ -6,4 +6,4 @@ Size (inkscape-0.44.tar.bz2) = 6506018 bytes SHA1 (patch-aa) = 769d88d8aca1f462cdeff40e44fa3577fdf4b681 SHA1 (patch-ab) = f4c38a3fa6de384435e5ed51e90d52541bb4826c SHA1 (patch-ac) = 17e0c058f54e862ad0d2f392b2856e4f3f48fc7b -SHA1 (patch-ad) = f9b00b5e13eae6fb0bffa2437775ae0bc1d6f243 +SHA1 (patch-ad) = 441a97c9e3da9b730f55b2bff1a483a51f285658 diff --git a/graphics/inkscape/patches/patch-ad b/graphics/inkscape/patches/patch-ad index ff596143056..e0f1065c4e7 100644 --- a/graphics/inkscape/patches/patch-ad +++ b/graphics/inkscape/patches/patch-ad @@ -1,13 +1,17 @@ -$NetBSD: patch-ad,v 1.1 2006/07/21 13:16:53 joerg Exp $ +$NetBSD: patch-ad,v 1.2 2006/07/21 15:36:56 joerg Exp $ --- src/trace/potrace/inkscape-potrace.cpp.orig 2006-07-21 13:01:29.000000000 +0000 +++ src/trace/potrace/inkscape-potrace.cpp -@@ -29,7 +29,12 @@ +@@ -29,7 +29,16 @@ #include "curve.h" #include "bitmap.h" - -+#if defined(__DragonFly__) ++#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; |