summaryrefslogtreecommitdiff
path: root/textproc/cabocha
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-05-23 15:07:58 +0000
committerjoerg <joerg@pkgsrc.org>2013-05-23 15:07:58 +0000
commite0da540d07c1317b99eeed7421cd190ba1614536 (patch)
tree4514f5ecdd4811008a890cbec112801029108a02 /textproc/cabocha
parent25938dc99adc6582db785b7a83a086ee219b6d51 (diff)
downloadpkgsrc-e0da540d07c1317b99eeed7421cd190ba1614536.tar.gz
Fix include order.
Diffstat (limited to 'textproc/cabocha')
-rw-r--r--textproc/cabocha/distinfo3
-rw-r--r--textproc/cabocha/patches/patch-src_utils.cpp23
2 files changed, 25 insertions, 1 deletions
diff --git a/textproc/cabocha/distinfo b/textproc/cabocha/distinfo
index cc24887ee29..e697b3165b9 100644
--- a/textproc/cabocha/distinfo
+++ b/textproc/cabocha/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.6 2013/05/22 13:14:29 obache Exp $
+$NetBSD: distinfo,v 1.7 2013/05/23 15:07:58 joerg Exp $
SHA1 (cabocha-0.66.tar.bz2) = 33172b7973239a53d98eabbd309f70d88e36c94c
RMD160 (cabocha-0.66.tar.bz2) = 23bd1ac45ca9a065c91f223542f61ddf18d97dfd
Size (cabocha-0.66.tar.bz2) = 111166592 bytes
+SHA1 (patch-src_utils.cpp) = 7829fa0d851bb581739d24f41748b76d68f11c6b
diff --git a/textproc/cabocha/patches/patch-src_utils.cpp b/textproc/cabocha/patches/patch-src_utils.cpp
new file mode 100644
index 00000000000..27965346804
--- /dev/null
+++ b/textproc/cabocha/patches/patch-src_utils.cpp
@@ -0,0 +1,23 @@
+$NetBSD: patch-src_utils.cpp,v 1.1 2013/05/23 15:07:58 joerg Exp $
+
+--- src/utils.cpp.orig 2013-05-23 10:52:37.000000000 +0000
++++ src/utils.cpp
+@@ -4,4 +4,9 @@
+ //
+ // Copyright(C) 2001-2008 Taku Kudo <taku@chasen.org>
++
++#ifdef HAVE_CONFIG_H
++#include "config.h"
++#endif
++
+ #ifdef HAVE_UNISTD_H
+ #include <unistd.h>
+@@ -16,8 +21,4 @@
+ #include "utils.h"
+
+-#ifdef HAVE_CONFIG_H
+-#include "config.h"
+-#endif
+-
+ namespace CaboCha {
+