aboutsummaryrefslogtreecommitdiffstats
path: root/community/cassandra-cpp-driver/libuv-1.21-compat.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-07-08 13:18:17 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-07-08 13:11:12 +0200
commit2a0feee39134d45699f08e45057e5ca832938ba1 (patch)
treebb42cebdc5f70b40eda0078ef4faa5417bcae0e8 /community/cassandra-cpp-driver/libuv-1.21-compat.patch
parent18d6aeb55d768dd3405059c12a15528d05c4bdd6 (diff)
downloadaports-2a0feee39134d45699f08e45057e5ca832938ba1.tar.bz2
aports-2a0feee39134d45699f08e45057e5ca832938ba1.tar.xz
main/libuv: upgrade to 1.21.0 and rebuild dependent packages
Diffstat (limited to 'community/cassandra-cpp-driver/libuv-1.21-compat.patch')
-rw-r--r--community/cassandra-cpp-driver/libuv-1.21-compat.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/community/cassandra-cpp-driver/libuv-1.21-compat.patch b/community/cassandra-cpp-driver/libuv-1.21-compat.patch
new file mode 100644
index 0000000000..f2070c985e
--- /dev/null
+++ b/community/cassandra-cpp-driver/libuv-1.21-compat.patch
@@ -0,0 +1,25 @@
+From 0edf3d2eff88d7594ed7dc070f889b1bcacb677f Mon Sep 17 00:00:00 2001
+From: "Tobias C. Berner" <tcberner@FreeBSD.org>
+Date: Sun, 24 Jun 2018 08:25:53 +0200
+Subject: [PATCH] CPP-616 - Use uv/version.h as version file for libuv v1.21.0+
+
+libuv v1.21.0+ changed where the version file is located.
+
+Patch-Source: https://github.com/datastax/cpp-driver/commit/0edf3d2eff88d7594ed7dc070f889b1bcacb677f
+---
+ cmake/modules/CppDriver.cmake | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/cmake/modules/CppDriver.cmake b/cmake/modules/CppDriver.cmake
+index 92c243d5..098374f9 100644
+--- a/cmake/modules/CppDriver.cmake
++++ b/cmake/modules/CppDriver.cmake
+@@ -372,6 +372,8 @@ macro(CassUseLibuv)
+
+ if (EXISTS "${LIBUV_INCLUDE_DIR}/uv-version.h")
+ set(LIBUV_VERSION_HEADER_FILE "${LIBUV_INCLUDE_DIR}/uv-version.h")
++ elseif (EXISTS "${LIBUV_INCLUDE_DIR}/uv/version.h")
++ set(LIBUV_VERSION_HEADER_FILE "${LIBUV_INCLUDE_DIR}/uv/version.h")
+ else()
+ set(LIBUV_VERSION_HEADER_FILE "${LIBUV_INCLUDE_DIR}/uv.h")
+ endif()