Files
nixpkgs/pkgs/development/libraries/google-cloud-cpp/hardcode-googleapis-path.patch
K900 d46eefeffd google-cloud-cpp: 2.14.0 -> 2.29.0
Fixes build with latest GCC/glibc/protobuf/etc, also
catches us up on a year of updates.
2024-09-29 08:21:18 +03:00

15 lines
622 B
Diff

--- a/external/googleapis/CMakeLists.txt
+++ b/external/googleapis/CMakeLists.txt
@@ -20,10 +20,7 @@ endif ()
include(GoogleapisConfig)
-set(GOOGLE_CLOUD_CPP_GOOGLEAPIS_URL
- "https://github.com/googleapis/googleapis/archive/${_GOOGLE_CLOUD_CPP_GOOGLEAPIS_COMMIT_SHA}.tar.gz"
- "https://storage.googleapis.com/cloud-cpp-community-archive/github.com/googleapis/googleapis/archive/${_GOOGLE_CLOUD_CPP_GOOGLEAPIS_COMMIT_SHA}.tar.gz"
-)
+set(GOOGLE_CLOUD_CPP_GOOGLEAPIS_URL @url@)
set(GOOGLE_CLOUD_CPP_GOOGLEAPIS_URL_HASH
"${_GOOGLE_CLOUD_CPP_GOOGLEAPIS_SHA256}")
if (GOOGLE_CLOUD_CPP_OVERRIDE_GOOGLEAPIS_URL)