diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2023-02-11 00:38:53 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2023-02-11 00:38:53 -0600 |
commit | 85b8dd24d4b16e9d12247163cba34de30be47fe1 (patch) | |
tree | 5c3214b6210600e39d8244056ec58540bcee8d00 /user/clucene/cxx-tchar.patch | |
parent | 86c0a8e199e42bee5b5358c4a822912ef4b7ceac (diff) | |
download | packages-85b8dd24d4b16e9d12247163cba34de30be47fe1.tar.gz packages-85b8dd24d4b16e9d12247163cba34de30be47fe1.tar.bz2 packages-85b8dd24d4b16e9d12247163cba34de30be47fe1.tar.xz packages-85b8dd24d4b16e9d12247163cba34de30be47fe1.zip |
user/clucene: More fixes
This doesn't fix the test failure, but is more correct.
Diffstat (limited to 'user/clucene/cxx-tchar.patch')
-rw-r--r-- | user/clucene/cxx-tchar.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/user/clucene/cxx-tchar.patch b/user/clucene/cxx-tchar.patch new file mode 100644 index 000000000..7b36659d3 --- /dev/null +++ b/user/clucene/cxx-tchar.patch @@ -0,0 +1,15 @@ +$NetBSD: patch-src_shared_CLucene_config_repl__tchar.h,v 1.1 2013/08/13 10:24:22 joerg Exp $ + +--- a/src/shared/CLucene/config/repl_tchar.h 2011-03-17 00:21:07.000000000 +0000 ++++ b/src/shared/CLucene/config/repl_tchar.h +@@ -36,8 +36,8 @@ + #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 _tcsncat wcsncat +- #define _tcschr wcschr //find location of one character +- #define _tcsstr wcsstr //find location of a string ++ #define _tcschr ::std::wcschr //find location of one character ++ #define _tcsstr ::std::wcsstr //find location of a string + #define _tcslen wcslen //get length of a string + #define _tcscmp wcscmp //case sensitive compare two strings + #define _tcsncmp wcsncmp //case sensitive compare two strings |