mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 00:12:05 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			45 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			45 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| --- ./build/_deps/flatbuffers-src/include/flatbuffers/util.h.orig
 | |
| +++ ./build/_deps/flatbuffers-src/include/flatbuffers/util.h
 | |
| @@ -202,7 +202,7 @@
 | |
|  
 | |
|  // clang-format off
 | |
|  // Use locale independent functions {strtod_l, strtof_l, strtoll_l, strtoull_l}.
 | |
| -#if defined(FLATBUFFERS_LOCALE_INDEPENDENT) && (FLATBUFFERS_LOCALE_INDEPENDENT > 0)
 | |
| +#if defined(__GLIBC__) && defined(FLATBUFFERS_LOCALE_INDEPENDENT) && (FLATBUFFERS_LOCALE_INDEPENDENT > 0)
 | |
|    class ClassicLocale {
 | |
|      #ifdef _MSC_VER
 | |
|        typedef _locale_t locale_type;
 | |
| --- ./build/_deps/flatbuffers-src/src/util.cpp.orig
 | |
| +++ ./build/_deps/flatbuffers-src/src/util.cpp
 | |
| @@ -252,7 +252,7 @@
 | |
|  }
 | |
|  
 | |
|  // Locale-independent code.
 | |
| -#if defined(FLATBUFFERS_LOCALE_INDEPENDENT) && \
 | |
| +#if defined(__GLIBC__) && defined(FLATBUFFERS_LOCALE_INDEPENDENT) && \
 | |
|      (FLATBUFFERS_LOCALE_INDEPENDENT > 0)
 | |
|  
 | |
|  // clang-format off
 | |
| diff --git a/onnxruntime/test/providers/cpu/text/string_normalizer_test.cc b/onnxruntime/test/providers/cpu/text/string_normalizer_test.cc
 | |
| index 724fdb0..4472319 100644
 | |
| --- a/onnxruntime/test/providers/cpu/text/string_normalizer_test.cc
 | |
| +++ b/onnxruntime/test/providers/cpu/text/string_normalizer_test.cc
 | |
| @@ -111,7 +111,7 @@ TEST(ContribOpTest, StringNormalizerSensitiveFilterOutUpper) {
 | |
|    test.Run(OpTester::ExpectResult::kExpectSuccess);
 | |
|  }
 | |
|  
 | |
| -TEST(ContribOpTest, StringNormalizerSensitiveFilterOutUpperWithLocale) {
 | |
| +TEST(ContribOpTest, DISABLED_StringNormalizerSensitiveFilterOutUpperWithLocale) {
 | |
|    // - case-SENSITIVE approach en_US locale
 | |
|    // - we test the behavior of a mix of english, french, german, russian and chinese
 | |
|    //   with en_US locale
 | |
| @@ -152,7 +152,7 @@ TEST(ContribOpTest, StringNormalizerSensitiveFilterOutUpperWithLocale) {
 | |
|    test.Run(OpTester::ExpectResult::kExpectSuccess);
 | |
|  }
 | |
|  
 | |
| -TEST(ContribOpTest, StringNormalizerInsensitiveFilterOutUpperWithLocale) {
 | |
| +TEST(ContribOpTest, DISABLED_StringNormalizerInsensitiveFilterOutUpperWithLocale) {
 | |
|    // - case-INSENSITIVE approach en_US locale
 | |
|    // - we test the behavior of a mix of english, french, german, russian and chinese
 | |
|    //   with en_US locale
 |