[Bug 290025] [PATCH] www/newsboat: fix build with new curl

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 05 Oct 2025 22:22:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290025

            Bug ID: 290025
           Summary: [PATCH] www/newsboat: fix build with new curl
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: mt-bugs@markoturk.info

Created attachment 264327
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=264327&action=edit
patch

Curl 8.16.0 switched the CURLPROXY_* from int to long.

    src/utils.cpp:650:10: error: cannot initialize return object of type
'curl_proxytype' with an rvalue of type 'long'
      650 |                 return CURLPROXY_HTTP;
          |                        ^~~~~~~~~~~~~~

curl_proxytype is undocumented and shouldn't be used anyway.

Newsboat upstream issue: https://github.com/newsboat/newsboat/issues/3154

This will be fixed in the next newsboat release.

BR,
Marko

-- 
You are receiving this mail because:
You are the assignee for the bug.