summaryrefslogtreecommitdiff
path: root/graphics/ptex
diff options
context:
space:
mode:
authorjoerg <joerg>2017-02-15 00:54:50 +0000
committerjoerg <joerg>2017-02-15 00:54:50 +0000
commit6726ae4527532a93e3331ebbd18a2eca16bdade2 (patch)
treefbddbdd46edcd0c98b345ddfa4bf30e2feba6bb2 /graphics/ptex
parent2d880401b1173eb74f09e78b74930e6385514e25 (diff)
downloadpkgsrc-6726ae4527532a93e3331ebbd18a2eca16bdade2.tar.gz
Add missing header.
Diffstat (limited to 'graphics/ptex')
-rw-r--r--graphics/ptex/distinfo3
-rw-r--r--graphics/ptex/patches/patch-src_ptex_PtexWriter.cpp12
2 files changed, 14 insertions, 1 deletions
diff --git a/graphics/ptex/distinfo b/graphics/ptex/distinfo
index 3f4dd3ac84a..ef17202aa33 100644
--- a/graphics/ptex/distinfo
+++ b/graphics/ptex/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.1 2016/10/18 02:47:16 kamil Exp $
+$NetBSD: distinfo,v 1.2 2017/02/15 00:54:50 joerg Exp $
SHA1 (ptex-2.1.28.tar.gz) = 67ba20b98247a12f075631b6e65271953e519eda
RMD160 (ptex-2.1.28.tar.gz) = eecce0d629551a827a866c63e2ca17651deef5fd
SHA512 (ptex-2.1.28.tar.gz) = ddce3c79f14d196e550c1e8a5b371482f88190cd667a2e2aa84601de1639f7cabb8571c1b3a49b48df46ce550d27088a00a67b1403c3bfec2ed73437c3dca3e8
Size (ptex-2.1.28.tar.gz) = 305327 bytes
SHA1 (patch-src_ptex_PtexPlatform.h) = f3c859f62b3f4ef0b0274939c522c735681fb70e
+SHA1 (patch-src_ptex_PtexWriter.cpp) = 2340782b4f70da421134631b625c5b20d133d809
diff --git a/graphics/ptex/patches/patch-src_ptex_PtexWriter.cpp b/graphics/ptex/patches/patch-src_ptex_PtexWriter.cpp
new file mode 100644
index 00000000000..1f5445fedd6
--- /dev/null
+++ b/graphics/ptex/patches/patch-src_ptex_PtexWriter.cpp
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_ptex_PtexWriter.cpp,v 1.1 2017/02/15 00:54:50 joerg Exp $
+
+--- src/ptex/PtexWriter.cpp.orig 2017-02-15 00:33:54.858207702 +0000
++++ src/ptex/PtexWriter.cpp
+@@ -63,6 +63,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <unistd.h>
+ #include <algorithm>
+ #include <iostream>
+ #include <sstream>