Tue Apr 30 22:29:39 2013 UTC ()
Pick wcschr from std.


(joerg)
diff -r1.3 -r1.4 pkgsrc/textproc/libclucene/distinfo
diff -r0 -r1.1 pkgsrc/textproc/libclucene/patches/patch-src_CLucene_config_repl__tchar.h

cvs diff -r1.3 -r1.4 pkgsrc/textproc/libclucene/distinfo (expand / switch to unified diff)

--- pkgsrc/textproc/libclucene/distinfo 2012/11/16 01:07:26 1.3
+++ pkgsrc/textproc/libclucene/distinfo 2013/04/30 22:29:39 1.4
@@ -1,8 +1,9 @@ @@ -1,8 +1,9 @@
1$NetBSD: distinfo,v 1.3 2012/11/16 01:07:26 joerg Exp $ 1$NetBSD: distinfo,v 1.4 2013/04/30 22:29:39 joerg Exp $
2 2
3SHA1 (clucene-core-0.9.21b.tar.gz) = aba21d626ba3e66a0cce162b205d97cbb2d666dd 3SHA1 (clucene-core-0.9.21b.tar.gz) = aba21d626ba3e66a0cce162b205d97cbb2d666dd
4RMD160 (clucene-core-0.9.21b.tar.gz) = b7307b980da6219638f21a33f201b2b20b0d34bb 4RMD160 (clucene-core-0.9.21b.tar.gz) = b7307b980da6219638f21a33f201b2b20b0d34bb
5Size (clucene-core-0.9.21b.tar.gz) = 1891099 bytes 5Size (clucene-core-0.9.21b.tar.gz) = 1891099 bytes
 6SHA1 (patch-src_CLucene_config_repl__tchar.h) = eba4c2fe2a7dadf59490c916bc12557e4f073aa1
6SHA1 (patch-src_CLucene_index_SegmentMerger.cpp) = 8ee2c0e5636690ccff094ee5f869141758bbfcb9 7SHA1 (patch-src_CLucene_index_SegmentMerger.cpp) = 8ee2c0e5636690ccff094ee5f869141758bbfcb9
7SHA1 (patch-src_CLucene_search_FieldCacheImpl.cpp) = 8ec21159b9efbee77f7236e5c7d2db0413328154 8SHA1 (patch-src_CLucene_search_FieldCacheImpl.cpp) = 8ec21159b9efbee77f7236e5c7d2db0413328154
8SHA1 (patch-src_CLucene_util_Arrays.h) = ef1200cedb394fcefbaccd2b3e71e58e149fddc7 9SHA1 (patch-src_CLucene_util_Arrays.h) = ef1200cedb394fcefbaccd2b3e71e58e149fddc7

File Added: pkgsrc/textproc/libclucene/patches/Attic/patch-src_CLucene_config_repl__tchar.h
$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