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

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Sun, 21 May 2023 17:06:47 UTC
On Sun, May 21, 2023 at 07:23:00AM -0700, Cy Schubert wrote:
> 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.
> 
> 
I think we should fix base, not curl here.

Bapt