Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jun 2001 15:08:34 -0700 (PDT)
From:      Matthew Jacob <mjacob@feral.com>
To:        John Polstra <jdp@polstra.com>
Cc:        ports@freebsd.org
Subject:   Re: not sure if this is a good patch or not... (fwd)
Message-ID:  <Pine.BSF.4.21.0106091508290.31854-100000@beppo.feral.com>
In-Reply-To: <200106092142.f59LgcL55293@vashon.polstra.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Thanks, John!


On Sat, 9 Jun 2001, John Polstra wrote:

> In article <20010609132536.R4572-100000@wonky.feral.com>,
> Matthew Jacob  <mjacob@feral.com> wrote:
>=20
> > Needed to compile under 4.3:
> >=20
> > Index: files/patch-Makefile.Linux.Mesa
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > RCS file: /home/ncvs/ports/games/tank/files/patch-Makefile.Linux.Mesa,v
> > retrieving revision 1.1
> > diff -u -r1.1 patch-Makefile.Linux.Mesa
> > --- files/patch-Makefile.Linux.Mesa=092001/03/14 12:20:49=091.1
> > +++ files/patch-Makefile.Linux.Mesa=092001/06/09 20:16:59
> > @@ -38,7 +38,7 @@
> >   =09$(CC) -o $(EXECNAME) $(Obj) $(LDFLAGS) \
> >  -=09-lMesaaux -lMesatk -lMesaGLU -lMesaGL \
> >  -=09-lXext -lX11 -lm
> > -+=09-laux -lGLU -lGL -lXext -lX11 -lm
> > ++=09-laux -lGLU -lGL -lXext -lX11 -lm -lc_r
> >   =09@echo "****** Done ******"
> >=20
> >   linux: $(Obj)
> >=20
>=20
> Not a good patch.  Add "-pthread" to LDFLAGS instead.  The patch as
> it stands will link in both -lc_r and -lc, but the two cannot coexist
> safely.
>=20
> John
> --=20
>   John Polstra                                               jdp@polstra.=
com
>   John D. Polstra & Co., Inc.                        Seattle, Washington =
USA
>   "Disappointment is a good sign of basic intelligence."  -- Ch=F6gyam Tr=
ungpa
>=20


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0106091508290.31854-100000>