Date: Sat, 09 May 2026 15:58:35 +0000 From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: c721aff9fb4d - main - www/ulfius: Fix build on i386 Message-ID: <69ff59ab.3475a.c3aa554@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=c721aff9fb4d57bc5fa19bd2da6332e5a49eb302 commit c721aff9fb4d57bc5fa19bd2da6332e5a49eb302 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2026-05-09 15:47:29 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2026-05-09 15:52:55 +0000 www/ulfius: Fix build on i386 --- www/ulfius/files/patch-curl | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/www/ulfius/files/patch-curl b/www/ulfius/files/patch-curl index 4ac46b8d32e6..b75bc9376291 100644 --- a/www/ulfius/files/patch-curl +++ b/www/ulfius/files/patch-curl @@ -9,6 +9,15 @@ y_log_message(Y_LOG_LEVEL_ERROR, "Ulfius - Error setting follow redirection option"); ret = U_ERROR_LIBCURL; break; +@@ -518,7 +518,7 @@ int ulfius_send_http_streaming_request_max_header(cons + // Set body content + if (copy_request->binary_body_length && copy_request->binary_body != NULL) { + if (copy_request->binary_body_length < 2147483648) { +- if (curl_easy_setopt(curl_handle, CURLOPT_POSTFIELDSIZE, (curl_off_t)copy_request->binary_body_length) != CURLE_OK) { ++ if (curl_easy_setopt(curl_handle, CURLOPT_POSTFIELDSIZE, (long)copy_request->binary_body_length) != CURLE_OK) { + y_log_message(Y_LOG_LEVEL_ERROR, "Ulfius - Error setting POST fields size"); + ret = U_ERROR_LIBCURL; + break; @@ -622,21 +622,21 @@ int ulfius_send_http_streaming_request_max_header(cons // Disable server certificate validation if neededhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69ff59ab.3475a.c3aa554>
