summaryrefslogtreecommitdiff
path: root/textproc/cabocha/patches/patch-src_cabocha.h
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/cabocha/patches/patch-src_cabocha.h')
-rw-r--r--textproc/cabocha/patches/patch-src_cabocha.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/textproc/cabocha/patches/patch-src_cabocha.h b/textproc/cabocha/patches/patch-src_cabocha.h
deleted file mode 100644
index dd7c30a909c..00000000000
--- a/textproc/cabocha/patches/patch-src_cabocha.h
+++ /dev/null
@@ -1,32 +0,0 @@
-$NetBSD: patch-src_cabocha.h,v 1.1 2012/04/22 20:31:30 joerg Exp $
-
-Do not include C++ headers in a extern "C" block.
-
---- src/cabocha.h.orig 2012-04-20 16:25:56.000000000 +0000
-+++ src/cabocha.h
-@@ -24,12 +24,6 @@
- #ifndef _CABOCHA_CABOCHA_H
- #define _CABOCHA_CABOCHA_H
-
--#ifdef __cplusplus
--
--/* for C */
--extern "C" {
--#endif
--
- #ifdef _WIN32
- # ifdef DLL_EXPORT
- # define CABOCHA_DLL_EXTERN __declspec(dllexport)
-@@ -50,6 +44,12 @@ extern "C" {
- #include <string.h>
- #endif
-
-+#ifdef __cplusplus
-+
-+/* for C */
-+extern "C" {
-+#endif
-+
- typedef struct _cabocha_t cabocha_t;
-
- typedef void cabocha_tree_t;