summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorasau <asau@pkgsrc.org>2014-05-08 21:52:40 +0000
committerasau <asau@pkgsrc.org>2014-05-08 21:52:40 +0000
commit614b4836ed7c6cca94baac4807654b55704cf43d (patch)
tree1b0d7e0c27898e82185f4158349d6bbaa0e932bc /graphics
parent0047329a69dbe4af779f3d968a8cf1db64a52943 (diff)
downloadpkgsrc-614b4836ed7c6cca94baac4807654b55704cf43d.tar.gz
Fix build on FreeBSD.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/inkscape/distinfo3
-rw-r--r--graphics/inkscape/patches/patch-src_io_inkjar.cpp13
2 files changed, 15 insertions, 1 deletions
diff --git a/graphics/inkscape/distinfo b/graphics/inkscape/distinfo
index d3fe1d0d98d..17657a8071f 100644
--- a/graphics/inkscape/distinfo
+++ b/graphics/inkscape/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.51 2014/04/30 06:15:20 wiz Exp $
+$NetBSD: distinfo,v 1.52 2014/05/08 21:52:40 asau Exp $
SHA1 (inkscape-0.48.4.tar.bz2) = 5f26f6ad191d1e7c2a9fb69a438722beb172224c
RMD160 (inkscape-0.48.4.tar.bz2) = b089ced7694a9803fac8588d93e7e6239c71d3e8
@@ -27,6 +27,7 @@ SHA1 (patch-src_extension_internal_pdfinput_pdf-parser.cpp) = 783251007ef69f4c3a
SHA1 (patch-src_extension_internal_pdfinput_pdf-parser.h) = 9e9e76049b9fdcc5192e225b4b477a104902894b
SHA1 (patch-src_gc-core.h) = e23bba26094aa2203568fa5f2b98412994e87f19
SHA1 (patch-src_gc.cpp) = 4395d00ffbcecb9f1d4947823312a2f176437840
+SHA1 (patch-src_io_inkjar.cpp) = 060d59225cfe7b66db5e9f41e76860df9ce12d01
SHA1 (patch-src_libnrtype_FontFactory.h) = 282e6ea4da7bb40c5ba8c861fdbe303259d3e864
SHA1 (patch-src_libnrtype_Layout-TNG-OutIter.cpp) = 28870d9970946b629657f1663cbe8b325ef42b69
SHA1 (patch-src_libvpsc_csolve__VPSC.h) = 33aa27678fa9e802af6ab95b9ea28b69d822c4cb
diff --git a/graphics/inkscape/patches/patch-src_io_inkjar.cpp b/graphics/inkscape/patches/patch-src_io_inkjar.cpp
new file mode 100644
index 00000000000..076939c1615
--- /dev/null
+++ b/graphics/inkscape/patches/patch-src_io_inkjar.cpp
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_io_inkjar.cpp,v 1.1 2014/05/08 21:52:40 asau Exp $
+
+--- src/io/inkjar.cpp.orig 2012-02-14 03:22:17.670697000 +0000
++++ src/io/inkjar.cpp
+@@ -42,6 +42,8 @@
+ #include <fcntl.h>
+ //#endif
+
++#include <unistd.h>
++
+ #include <cstring>
+ #include <string>
+ #include <cstdlib>