summaryrefslogtreecommitdiff
path: root/debian/patches/configure.diff
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@google.com>2022-08-22 17:49:57 -0400
committerGravatar Benjamin Barenblat <bbaren@google.com>2022-08-22 22:14:31 -0400
commit170e05ec7974a1b7b5133f638e71881925cc7e68 (patch)
treed8bc02dad030ba3023f771660d5fab1758b9321f /debian/patches/configure.diff
parent104bbd297d624819b37428882c54eade8b6ab74d (diff)
Update patches
Bump SONAME and inline namespace in configuration, update location of SSE2 and SSSE3 configuration, and delete patches that have been applied upstream.
Diffstat (limited to 'debian/patches/configure.diff')
-rw-r--r--debian/patches/configure.diff54
1 files changed, 24 insertions, 30 deletions
diff --git a/debian/patches/configure.diff b/debian/patches/configure.diff
index 8138899f..15a20382 100644
--- a/debian/patches/configure.diff
+++ b/debian/patches/configure.diff
@@ -22,13 +22,13 @@ Configure Abseil for Debian.
--- a/CMake/AbseilHelpers.cmake
+++ b/CMake/AbseilHelpers.cmake
-@@ -263,7 +263,8 @@
+@@ -281,7 +281,8 @@
if(ABSL_ENABLE_INSTALL)
set_target_properties(${_NAME} PROPERTIES
OUTPUT_NAME "absl_${_NAME}"
-- SOVERSION "2103.0.1"
-+ SOVERSION 20210324
-+ VERSION "20210324.0.0"
+- SOVERSION "2206.0.0"
++ SOVERSION 20220623
++ VERSION "20220623.0.0"
)
endif()
else()
@@ -74,8 +74,8 @@ Configure Abseil for Debian.
// allowed.
#define ABSL_OPTION_USE_INLINE_NAMESPACE 1
--#define ABSL_OPTION_INLINE_NAMESPACE_NAME lts_20210324
-+#define ABSL_OPTION_INLINE_NAMESPACE_NAME debian2
+-#define ABSL_OPTION_INLINE_NAMESPACE_NAME lts_20220623
++#define ABSL_OPTION_INLINE_NAMESPACE_NAME debian3
// ABSL_OPTION_HARDENED
//
@@ -87,29 +87,23 @@ Configure Abseil for Debian.
+#define ABSL_OPTION_HARDENED 1
#endif // ABSL_BASE_OPTIONS_H_
---- a/absl/container/internal/have_sse.h
-+++ b/absl/container/internal/have_sse.h
-@@ -17,22 +17,14 @@
- #define ABSL_CONTAINER_INTERNAL_HAVE_SSE_H_
-
- #ifndef ABSL_INTERNAL_RAW_HASH_SET_HAVE_SSE2
--#if defined(__SSE2__) || \
-- (defined(_MSC_VER) && \
-- (defined(_M_X64) || (defined(_M_IX86) && _M_IX86_FP >= 2)))
-+#if defined(__x86_64__) || (defined(_MSC_VER) && defined(_M_X64))
- #define ABSL_INTERNAL_RAW_HASH_SET_HAVE_SSE2 1
- #else
- #define ABSL_INTERNAL_RAW_HASH_SET_HAVE_SSE2 0
+--- a/absl/base/config.h
++++ b/absl/base/config.h
+@@ -877,7 +877,7 @@
+ // which architectures support the various x86 instruction sets.
+ #ifdef ABSL_INTERNAL_HAVE_SSE2
+ #error ABSL_INTERNAL_HAVE_SSE2 cannot be directly set
+-#elif defined(__SSE2__)
++#elif defined(__x86_64__)
+ #define ABSL_INTERNAL_HAVE_SSE2 1
+ #elif defined(_M_X64) || (defined(_M_IX86_FP) && _M_IX86_FP >= 2)
+ // MSVC only defines _M_IX86_FP for x86 32-bit code, and _M_IX86_FP >= 2
+@@ -898,8 +898,6 @@
+ // by the CPU.
+ #ifdef ABSL_INTERNAL_HAVE_SSSE3
+ #error ABSL_INTERNAL_HAVE_SSSE3 cannot be directly set
+-#elif defined(__SSSE3__)
+-#define ABSL_INTERNAL_HAVE_SSSE3 1
#endif
- #endif
-
--#ifndef ABSL_INTERNAL_RAW_HASH_SET_HAVE_SSSE3
--#ifdef __SSSE3__
--#define ABSL_INTERNAL_RAW_HASH_SET_HAVE_SSSE3 1
--#else
- #define ABSL_INTERNAL_RAW_HASH_SET_HAVE_SSSE3 0
--#endif
--#endif
- #if ABSL_INTERNAL_RAW_HASH_SET_HAVE_SSSE3 && \
- !ABSL_INTERNAL_RAW_HASH_SET_HAVE_SSE2
+ // ABSL_INTERNAL_HAVE_ARM_NEON is used for compile-time detection of NEON (ARM