Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Dec 2023 12:03:07 +0000
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        tuexen@freebsd.org
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: devel/nspr: Fails to build on 1500008 5f71f9636efa
Message-ID:  <CAFDf7UJBY9a=SX_iTE2TOxK_r%2BaK1NDizMdebuYeaL6Zb89QbQ@mail.gmail.com>
In-Reply-To: <9EE91B0D-6CFB-464E-AB9C-3A15D77D55FB@freebsd.org>
References:  <CAFDf7U%2BxbTuhS7nUzeZgVknMPyyfYxuakFtrE4=h-1LtFK_Yig@mail.gmail.com> <9EE91B0D-6CFB-464E-AB9C-3A15D77D55FB@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000063ea03060da4d1d0
Content-Type: text/plain; charset="UTF-8"

I think we have two options:
> 1. Build the ports with a C version of at least C99.
>

- Adding USE_CSTD=c99
- Removing -ansi:
--- configure.orig     2023-12-29 11:54:11 UTC
+++ configure
-    CFLAGS="$CFLAGS $(DSO_CFLAGS) -ansi -Wall"
+    CFLAGS="$CFLAGS $(DSO_CFLAGS) -Wall"

Fix build.

Notes:

Adding USE_CSTD=c99 doesn't fix build by itself like we seen on some ports
that were fixed by it.

Something have changed from current 1500007 to 1500008.



> 2. Remove the inline from tcp_[gs]et_flags().
>
> Best regards
> Michael
> > --
> > Nuno Teixeira
> > FreeBSD Committer (ports)
>
>

-- 
Nuno Teixeira
FreeBSD Committer (ports)

--00000000000063ea03060da4d1d0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bor=
der-left:1px solid rgb(204,204,204);padding-left:1ex">
I think we have two options:<br>
1. Build the ports with a C version of at least C99.<br></blockquote><div><=
br></div><div>- Adding USE_CSTD=3Dc99</div><div>- Removing -ansi:<br>--- co=
nfigure.orig =C2=A0 =C2=A0 2023-12-29 11:54:11 UTC<br>+++ configure<br>- =
=C2=A0 =C2=A0CFLAGS=3D&quot;$CFLAGS $(DSO_CFLAGS) -ansi -Wall&quot;<br>+ =
=C2=A0 =C2=A0CFLAGS=3D&quot;$CFLAGS $(DSO_CFLAGS) -Wall&quot;</div><div><br=
></div><div>Fix build.</div><div><br></div><div>Notes:</div><div><br></div>=
<div>Adding USE_CSTD=3Dc99 doesn&#39;t fix build by itself like we seen on =
some ports that were fixed by it.<br></div><div><br></div><div>Something ha=
ve changed from current 1500007 to 1500008.</div><div><br></div><div>=C2=A0=
</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;b=
order-left:1px solid rgb(204,204,204);padding-left:1ex">
2. Remove the inline from tcp_[gs]et_flags().<br>
<br>
Best regards<br>
Michael<br>
&gt; -- <br>
&gt; Nuno Teixeira<br>
&gt; FreeBSD Committer (ports)<br>
<br>
</blockquote></div><br clear=3D"all"><br><span class=3D"gmail_signature_pre=
fix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><div dir=3D"l=
tr"><span style=3D"color:rgb(102,102,102)">Nuno Teixeira<br>FreeBSD Committ=
er (ports)</span></div></div></div>

--00000000000063ea03060da4d1d0--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7UJBY9a=SX_iTE2TOxK_r%2BaK1NDizMdebuYeaL6Zb89QbQ>