summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2013-05-23 15:07:58 +0000
committerjoerg <joerg>2013-05-23 15:07:58 +0000
commit4395b379e7d76c0c4e3e7043fbdde1d7c1656752 (patch)
tree4514f5ecdd4811008a890cbec112801029108a02
parentf8cdba8fafb3fec44c1a34a45155aa92a95d1106 (diff)
downloadpkgsrc-4395b379e7d76c0c4e3e7043fbdde1d7c1656752.tar.gz
Fix include order.
-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 {
+