summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2012-08-02 11:53:56 +0000
committerjperkin <jperkin@pkgsrc.org>2012-08-02 11:53:56 +0000
commit08049184f03e833bf00f9cd2f10cc1d2b9ad3835 (patch)
tree8ac99664db506946fb4c8b87f11422f5060461ee /textproc
parent8b84e02d8f7e88169879bbc29ed3272fbb38e42f (diff)
downloadpkgsrc-08049184f03e833bf00f9cd2f10cc1d2b9ad3835.tar.gz
Include unistd.h for sleep().
Fixes build on at least Solaris.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/soprano/distinfo3
-rw-r--r--textproc/soprano/patches/patch-backends_virtuoso_virtuosocontroller.cpp14
2 files changed, 16 insertions, 1 deletions
diff --git a/textproc/soprano/distinfo b/textproc/soprano/distinfo
index 247b8f27926..f699a5a4116 100644
--- a/textproc/soprano/distinfo
+++ b/textproc/soprano/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.10 2012/03/19 09:46:22 markd Exp $
+$NetBSD: distinfo,v 1.11 2012/08/02 11:53:56 jperkin Exp $
SHA1 (soprano-2.7.4.tar.bz2) = d16231dc021bd66eebb9d1975ba075d2169a2617
RMD160 (soprano-2.7.4.tar.bz2) = 9e4c192165616ca5eca3ed22b9f12554530c88cc
Size (soprano-2.7.4.tar.bz2) = 1953706 bytes
+SHA1 (patch-backends_virtuoso_virtuosocontroller.cpp) = fed127450c73da19eef9a2c8a7753faa1b69b7f2
diff --git a/textproc/soprano/patches/patch-backends_virtuoso_virtuosocontroller.cpp b/textproc/soprano/patches/patch-backends_virtuoso_virtuosocontroller.cpp
new file mode 100644
index 00000000000..52afa140165
--- /dev/null
+++ b/textproc/soprano/patches/patch-backends_virtuoso_virtuosocontroller.cpp
@@ -0,0 +1,14 @@
+$NetBSD: patch-backends_virtuoso_virtuosocontroller.cpp,v 1.1 2012/08/02 11:53:56 jperkin Exp $
+
+Need unistd.h for sleep()
+
+--- backends/virtuoso/virtuosocontroller.cpp.orig Thu Aug 2 11:50:43 2012
++++ backends/virtuoso/virtuosocontroller.cpp Thu Aug 2 11:50:52 2012
+@@ -39,6 +39,7 @@
+ #include <sys/types.h>
+ #include <signal.h>
+ #include <sys/wait.h>
++#include <unistd.h>
+ #endif
+
+ Q_DECLARE_METATYPE( QProcess::ExitStatus )