Blame options-cxx17.patch

dd016b
Make the headers always tell the truth about the ABI of the compiled dll's
dd016b
to avoid mysterious linker errors when using wrong C++ version in compiler.
dd016b
This version of patch is for new systems (Tumbleweed) where Abseil is built with C++17 support.
dd016b
For more information, see “notice for package managers” in options.h
dd016b
8569ba
Index: abseil-cpp-20240116.1/absl/base/options.h
6af5d0
===================================================================
8569ba
--- abseil-cpp-20240116.1.orig/absl/base/options.h
8569ba
+++ abseil-cpp-20240116.1/absl/base/options.h
6af5d0
@@ -94,7 +94,7 @@
dd016b
 // User code should not inspect this macro.  To check in the preprocessor if
dd016b
 // absl::any is a typedef of std::any, use the feature macro ABSL_USES_STD_ANY.
dd016b
 
dd016b
-#define ABSL_OPTION_USE_STD_ANY 2
dd016b
+#define ABSL_OPTION_USE_STD_ANY 1
dd016b
 
dd016b
 
dd016b
 // ABSL_OPTION_USE_STD_OPTIONAL
6af5d0
@@ -121,7 +121,7 @@
dd016b
 // absl::optional is a typedef of std::optional, use the feature macro
dd016b
 // ABSL_USES_STD_OPTIONAL.
dd016b
 
dd016b
-#define ABSL_OPTION_USE_STD_OPTIONAL 2
dd016b
+#define ABSL_OPTION_USE_STD_OPTIONAL 1
dd016b
 
dd016b
 
dd016b
 // ABSL_OPTION_USE_STD_STRING_VIEW
6af5d0
@@ -148,7 +148,7 @@
dd016b
 // absl::string_view is a typedef of std::string_view, use the feature macro
dd016b
 // ABSL_USES_STD_STRING_VIEW.
dd016b
 
dd016b
-#define ABSL_OPTION_USE_STD_STRING_VIEW 2
dd016b
+#define ABSL_OPTION_USE_STD_STRING_VIEW 1
dd016b
 
dd016b
 // ABSL_OPTION_USE_STD_VARIANT
dd016b
 //
6af5d0
@@ -174,7 +174,7 @@
dd016b
 // absl::variant is a typedef of std::variant, use the feature macro
dd016b
 // ABSL_USES_STD_VARIANT.
dd016b
 
dd016b
-#define ABSL_OPTION_USE_STD_VARIANT 2
dd016b
+#define ABSL_OPTION_USE_STD_VARIANT 1
dd016b
 
8569ba
 // ABSL_OPTION_USE_STD_ORDERING
8569ba
 //