summaryrefslogtreecommitdiff
path: root/extra/cmake/cmake-3.11.4-find-libuv.patch
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-07-08 08:58:30 +0000
committerAndreas Baumann <mail@andreasbaumann.cc>2018-07-08 08:58:30 +0000
commit414e557908c4f9c0c2b8b76183191369b13974f8 (patch)
tree2f951d5b87b44b2bd17a33510e51b1ffa276f60b /extra/cmake/cmake-3.11.4-find-libuv.patch
parent049f8341240656b32f5bdd648998e6bf501b5382 (diff)
parentd39b7a41ac6092968e479de6c67265be261e444d (diff)
downloadpackages-414e557908c4f9c0c2b8b76183191369b13974f8.tar.xz
Merge branch 'master' into i486
Diffstat (limited to 'extra/cmake/cmake-3.11.4-find-libuv.patch')
-rw-r--r--extra/cmake/cmake-3.11.4-find-libuv.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/cmake/cmake-3.11.4-find-libuv.patch b/extra/cmake/cmake-3.11.4-find-libuv.patch
new file mode 100644
index 00000000..95a39cc3
--- /dev/null
+++ b/extra/cmake/cmake-3.11.4-find-libuv.patch
@@ -0,0 +1,12 @@
+diff -rauN cmake-3.11.4/Source/Modules/FindLibUV.cmake cmake-3.11.4-find-libuv-patch/Source/Modules/FindLibUV.cmake
+--- cmake-3.11.4/Source/Modules/FindLibUV.cmake 2018-06-14 14:57:31.000000000 +0200
++++ cmake-3.11.4-find-libuv-patch/Source/Modules/FindLibUV.cmake 2018-07-08 10:24:02.051505971 +0200
+@@ -63,6 +63,8 @@
+ set(_LibUV_H_REGEX "#[ \t]*define[ \t]+UV_VERSION_(MAJOR|MINOR|PATCH)[ \t]+[0-9]+")
+ if(LibUV_INCLUDE_DIR AND EXISTS "${LibUV_INCLUDE_DIR}/uv-version.h")
+ file(STRINGS "${LibUV_INCLUDE_DIR}/uv-version.h" _LibUV_H REGEX "${_LibUV_H_REGEX}")
++elseif(LibUV_INCLUDE_DIR AND EXISTS "${LibUV_INCLUDE_DIR}/uv/version.h")
++ file(STRINGS "${LibUV_INCLUDE_DIR}/uv/version.h" _LibUV_H REGEX "${_LibUV_H_REGEX}")
+ elseif(LibUV_INCLUDE_DIR AND EXISTS "${LibUV_INCLUDE_DIR}/uv.h")
+ file(STRINGS "${LibUV_INCLUDE_DIR}/uv.h" _LibUV_H REGEX "${_LibUV_H_REGEX}")
+ else()