File: curl-8.16.0.patch

package info (click to toggle)
pinot 1.22-1.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,604 kB
  • sloc: cpp: 41,857; makefile: 609; xml: 416; sh: 336
file content (15 lines) | stat: -rw-r--r-- 567 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Fix FTBFS with curl 8.16.0
Author: Adrian Bunk <bunk@debian.org>
Bug-Debian: https://bugs.debian.org/1114263

--- pinot-1.22.orig/Collect/CurlDownloader.cpp
+++ pinot-1.22/Collect/CurlDownloader.cpp
@@ -302,7 +302,7 @@ Document *CurlDownloader::retrieveUrl(co
 	if ((m_proxyAddress.empty() == false) &&
 		(m_proxyPort > 0))
 	{
-		curl_proxytype proxyType = CURLPROXY_HTTP;
+		long proxyType = CURLPROXY_HTTP;
 
 		curl_easy_setopt(pCurlHandler, CURLOPT_PROXY, m_proxyAddress.c_str());
 		curl_easy_setopt(pCurlHandler, CURLOPT_PROXYPORT, m_proxyPort);