File options-cxx17.patch of Package abseil-cpp
Make the headers always tell the truth about the ABI of the compiled dll's to avoid mysterious linker errors when using wrong C++ version in compiler. This version of patch is for new systems (Tumbleweed) where Abseil is built with C++17 support. For more information, see “notice for package managers” in options.h Index: abseil-cpp-20250512.0/absl/base/options.h =================================================================== --- abseil-cpp-20250512.0.orig/absl/base/options.h +++ abseil-cpp-20250512.0/absl/base/options.h @@ -97,7 +97,7 @@ // absl::string_view is a typedef of std::string_view, use the feature macro // ABSL_USES_STD_STRING_VIEW. -#define ABSL_OPTION_USE_STD_STRING_VIEW 2 +#define ABSL_OPTION_USE_STD_STRING_VIEW 1 // ABSL_OPTION_USE_STD_ORDERING // @@ -124,7 +124,7 @@ // the ordering types are aliases of std:: ordering types, use the feature macro // ABSL_USES_STD_ORDERING. -#define ABSL_OPTION_USE_STD_ORDERING 2 +#define ABSL_OPTION_USE_STD_ORDERING 0 // ABSL_OPTION_USE_INLINE_NAMESPACE // ABSL_OPTION_INLINE_NAMESPACE_NAME