aboutsummaryrefslogtreecommitdiff
path: root/package/grpc/0002-Properly-detect-the-availability-of-pthread_setname_.patch
diff options
context:
space:
mode:
authorGravatar Adam Duskett <Aduskett@gmail.com>2020-07-21 14:45:22 -0700
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2020-07-25 22:37:35 +0200
commitd0fb8135393d472950ff1eac7be7e3813aa5552e (patch)
tree7884a59ef9d34b8774c73d2eb29b3de781fee1a2 /package/grpc/0002-Properly-detect-the-availability-of-pthread_setname_.patch
parent93568440eda120b12bcbfe267af8f0182484c3b6 (diff)
downloadbuildroot-d0fb8135393d472950ff1eac7be7e3813aa5552e.tar.gz
buildroot-d0fb8135393d472950ff1eac7be7e3813aa5552e.tar.bz2
package/grpc: bump version to 1.30.2
Other changes: - Add a dependency on libabseil-cpp - Update the patches to apply properly. Tested with the following distributions: - Debian 9 - CentOS 7 - Fedora 32 Signed-off-by: Adam Duskett <Aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/grpc/0002-Properly-detect-the-availability-of-pthread_setname_.patch')
-rw-r--r--package/grpc/0002-Properly-detect-the-availability-of-pthread_setname_.patch16
1 files changed, 8 insertions, 8 deletions
diff --git a/package/grpc/0002-Properly-detect-the-availability-of-pthread_setname_.patch b/package/grpc/0002-Properly-detect-the-availability-of-pthread_setname_.patch
index 86586d850b..4b7253f7aa 100644
--- a/package/grpc/0002-Properly-detect-the-availability-of-pthread_setname_.patch
+++ b/package/grpc/0002-Properly-detect-the-availability-of-pthread_setname_.patch
@@ -17,12 +17,12 @@ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2 files changed, 8 insertions(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 89e834b..c7bd2ad 100644
+index 45c2fcb..0b2be4f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -97,6 +97,12 @@ endif()
-
- set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)
+@@ -177,6 +177,12 @@ if (NOT DEFINED CMAKE_POSITION_INDEPENDENT_CODE)
+ endif()
+ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules")
+include(CheckSymbolExists)
+check_symbol_exists(pthread_setname_np pthread.h HAVE_PTHREAD_SETNAME_NP)
@@ -30,14 +30,14 @@ index 89e834b..c7bd2ad 100644
+ add_definitions(-DHAVE_PTHREAD_SETNAME_NP)
+endif ()
+
- if (MSVC)
+ if(MSVC)
include(cmake/msvc_static_runtime.cmake)
add_definitions(-D_WIN32_WINNT=0x600 -D_SCL_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS)
diff --git a/include/grpc/impl/codegen/port_platform.h b/include/grpc/impl/codegen/port_platform.h
-index 031c0c3..a29a9dc 100644
+index 4f213ff..55ecd9d 100644
--- a/include/grpc/impl/codegen/port_platform.h
+++ b/include/grpc/impl/codegen/port_platform.h
-@@ -181,7 +181,9 @@
+@@ -195,7 +195,9 @@
#endif /* _LP64 */
#ifdef __GLIBC__
#define GPR_POSIX_CRASH_HANDLER 1
@@ -48,5 +48,5 @@ index 031c0c3..a29a9dc 100644
#else /* musl libc */
#define GPR_MUSL_LIBC_COMPAT 1
--
-2.14.4
+2.26.2