summaryrefslogtreecommitdiff
path: root/textproc/libclucene/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-04-30 22:29:39 +0000
committerjoerg <joerg@pkgsrc.org>2013-04-30 22:29:39 +0000
commit1ca0791fcbfa3f980f2c3699f2a1415baa36fbde (patch)
tree573acd69d12d546d6d71860e3281e555f24dfefc /textproc/libclucene/patches
parent1b1f20ef037101977b7fdaf3990ec62634872add (diff)
downloadpkgsrc-1ca0791fcbfa3f980f2c3699f2a1415baa36fbde.tar.gz
Pick wcschr from std.
Diffstat (limited to 'textproc/libclucene/patches')
-rw-r--r--textproc/libclucene/patches/patch-src_CLucene_config_repl__tchar.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/textproc/libclucene/patches/patch-src_CLucene_config_repl__tchar.h b/textproc/libclucene/patches/patch-src_CLucene_config_repl__tchar.h
new file mode 100644
index 00000000000..b7f64700cd3
--- /dev/null
+++ b/textproc/libclucene/patches/patch-src_CLucene_config_repl__tchar.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_CLucene_config_repl__tchar.h,v 1.1 2013/04/30 22:29:39 joerg Exp $
+
+--- src/CLucene/config/repl_tchar.h.orig 2013-04-28 04:24:47.000000000 +0000
++++ src/CLucene/config/repl_tchar.h
+@@ -33,7 +33,7 @@
+ #define _tcscpy wcscpy //copy a string to another string
+ #define _tcsncpy wcsncpy //copy a specified amount of one string to another string.
+ #define _tcscat wcscat //copy a string onto the end of the other string
+- #define _tcschr wcschr //find location of one character
++ #define _tcschr ::std::wcschr //find location of one character
+ #define _tcsstr wcsstr //find location of a string
+ #define _tcslen wcslen //get length of a string
+ #define _tcscmp wcscmp //case sensitive compare two strings