about summary refs log tree commit diff
path: root/nixpkgs/pkgs/games/spring/fix-certs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/games/spring/fix-certs.patch')
-rw-r--r--nixpkgs/pkgs/games/spring/fix-certs.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/games/spring/fix-certs.patch b/nixpkgs/pkgs/games/spring/fix-certs.patch
new file mode 100644
index 000000000000..b31160a05cc6
--- /dev/null
+++ b/nixpkgs/pkgs/games/spring/fix-certs.patch
@@ -0,0 +1,11 @@
+--- a/src/downloader/lib/src/Downloader/CurlWrapper.cpp
++++ b/src/downloader/lib/src/Downloader/CurlWrapper.cpp
+@@ -108,7 +108,6 @@
+ 		if (res != CURLE_OK) {
+ 			LOG_WARN("Error setting CURLOPT_CAPATH: %d", res);
+ 		}
+-		return;
+ 	}
+ 
+ 	const std::string cafile = GetCAFilePath();
+