summaryrefslogtreecommitdiff
path: root/graphics/tesseract
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2012-11-23 23:52:33 +0000
committermarino <marino@pkgsrc.org>2012-11-23 23:52:33 +0000
commit1ab6d7270579e8b5a8ae9317e43198de63b902a0 (patch)
treea891bfe8895c34f85f83a540f5737d49a2aaec32 /graphics/tesseract
parent81f8c742618e3df16803fefe574d4776d304cd0a (diff)
downloadpkgsrc-1ab6d7270579e8b5a8ae9317e43198de63b902a0.tar.gz
graphics/tesseract: #include <unistd.h>
Fixes out-of-scope errors seen on gcc 4.7.x
Diffstat (limited to 'graphics/tesseract')
-rw-r--r--graphics/tesseract/distinfo4
-rw-r--r--graphics/tesseract/patches/patch-viewer_svutil_cpp5
2 files changed, 5 insertions, 4 deletions
diff --git a/graphics/tesseract/distinfo b/graphics/tesseract/distinfo
index ab2aa110f10..be73ee4f7dd 100644
--- a/graphics/tesseract/distinfo
+++ b/graphics/tesseract/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2011/11/14 02:44:40 dholland Exp $
+$NetBSD: distinfo,v 1.9 2012/11/23 23:52:33 marino Exp $
SHA1 (tesseract-2.00.deu.tar.gz) = d8d89e2681421a144f3a1ec61ee0c530686f5096
RMD160 (tesseract-2.00.deu.tar.gz) = c7e6755e94084114fb1a1be8e9308c8dddd2fdda
@@ -21,4 +21,4 @@ Size (tesseract-2.00.spa.tar.gz) = 1365863 bytes
SHA1 (tesseract-2.04.tar.gz) = 850c42c92a4471c5f41d4384c57045e812fde26a
RMD160 (tesseract-2.04.tar.gz) = 826718ddf491c8b925b02c343d4a4992fd4631d8
Size (tesseract-2.04.tar.gz) = 1118386 bytes
-SHA1 (patch-viewer_svutil_cpp) = f6cbf71cc5c3c0e58ba8db72bc840dd61274f23e
+SHA1 (patch-viewer_svutil_cpp) = ec6f8b79c66993e5272a4f2a13aa92f2432cbea0
diff --git a/graphics/tesseract/patches/patch-viewer_svutil_cpp b/graphics/tesseract/patches/patch-viewer_svutil_cpp
index ffa0fd3d0ce..addfb8535ee 100644
--- a/graphics/tesseract/patches/patch-viewer_svutil_cpp
+++ b/graphics/tesseract/patches/patch-viewer_svutil_cpp
@@ -1,12 +1,13 @@
-$NetBSD: patch-viewer_svutil_cpp,v 1.1 2011/11/14 02:44:40 dholland Exp $
+$NetBSD: patch-viewer_svutil_cpp,v 1.2 2012/11/23 23:52:33 marino Exp $
--- viewer/svutil.cpp~ 2009-06-03 16:29:38.000000000 +0000
+++ viewer/svutil.cpp
-@@ -33,6 +33,7 @@
+@@ -33,6 +33,8 @@
#include <pthread.h>
#include <semaphore.h>
#include <signal.h>
+#include <stdio.h>
++#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <netdb.h>