summaryrefslogtreecommitdiff
path: root/sys-cluster/ceph/files/ceph-17.2.0-findre2.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
committerV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
commit752d6256e5204b958b0ef7905675a940b5e9172f (patch)
tree330d16e6362a49cbed8875a777fe641a43376cd3 /sys-cluster/ceph/files/ceph-17.2.0-findre2.patch
parent0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff)
gentoo resync : 12.05.2022
Diffstat (limited to 'sys-cluster/ceph/files/ceph-17.2.0-findre2.patch')
-rw-r--r--sys-cluster/ceph/files/ceph-17.2.0-findre2.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/sys-cluster/ceph/files/ceph-17.2.0-findre2.patch b/sys-cluster/ceph/files/ceph-17.2.0-findre2.patch
new file mode 100644
index 000000000000..e42f291e55bf
--- /dev/null
+++ b/sys-cluster/ceph/files/ceph-17.2.0-findre2.patch
@@ -0,0 +1,22 @@
+diff --git a/src/arrow/cpp/cmake_modules/Findre2.cmake b/src/arrow/cpp/cmake_modules/Findre2.cmake
+new file mode 100644
+index 00000000000..6f39de75461
+--- /dev/null
++++ b/src/arrow/cpp/cmake_modules/Findre2.cmake
+@@ -0,0 +1,16 @@
++FIND_PATH(SYSTEM_RE2_INCLUDE_DIR re2/re2.h)
++IF (SYSTEM_RE2_INCLUDE_DIR)
++ MESSAGE(STATUS "Found RE2 include dir")
++ FIND_LIBRARY(SYSTEM_RE2_LIBRARY re2)
++ IF (SYSTEM_RE2_LIBRARY)
++ MESSAGE(STATUS "Found RE2 library")
++ SET(RE2_INCLUDE_DIR ${SYSTEM_RE2_INCLUDE_DIR})
++ SET(RE2_LIBRARY ${SYSTEM_RE2_LIBRARY})
++ ELSE ()
++ MESSAGE(FATAL_ERROR "Found RE2 headers, but not the library")
++ ENDIF ()
++ELSE ()
++ MESSAGE(STATUS "Did not find system RE2")
++ENDIF ()
++
++