Re: git: 5fae3323ed2f - main - ftp/curl: Update to 8.1.0

From: Cy Schubert <Cy.Schubert_at_cschubert.com>
Date: Sun, 21 May 2023 14:23:00 UTC
In message <CAALwa8m7qgkYynct5SN=1T7=bdbFTcKEM9g9okZDn0jR8dvWDw@mail.gmail.c
om>
, Antoine Brodin writes:
> On Fri, May 19, 2023 at 10:13=E2=80=AFPM Dima Panov <fluffy@freebsd.org> wr=
> ote:
> >
> > Moin-moin!
> >
> >
> > It fails to build on recent -current
> >
> > building for: FreeBSD xxx 14.0-CURRENT FreeBSD 14.0-CURRENT 1400088 amd64
> >
> > --- libcurl_la-connect.lo ---
> > In file included from connect.c:56:
> > In file included from ../lib/urldata.h:168:
> > ../lib/http.h:263:8: error: redefinition of 'http_req'
> > struct http_req {
> >         ^
> > /usr/include/netinet/tcp.h:466:8: note: previous definition is here
> > struct http_req {
> >         ^
> > 1 error generated.
> > *** [libcurl_la-connect.lo] Error code 1
>
> Hi,
>
> Do you plan to fix it or revert it?
>
> Antoine

It's an easy fix. Attached is my local fix.