From owner-freebsd-ports Sat Jun 9 15: 9: 0 2001 Delivered-To: freebsd-ports@freebsd.org Received: from beppo.feral.com (beppo.feral.com [192.67.166.79]) by hub.freebsd.org (Postfix) with ESMTP id B85C337B40D for ; Sat, 9 Jun 2001 15:08:47 -0700 (PDT) (envelope-from mjacob@feral.com) Received: from beppo (mjacob@beppo [192.67.166.79]) by beppo.feral.com (8.11.3/8.11.3) with ESMTP id f59M8Zg31893; Sat, 9 Jun 2001 15:08:35 -0700 (PDT) (envelope-from mjacob@feral.com) Date: Sat, 9 Jun 2001 15:08:34 -0700 (PDT) From: Matthew Jacob Reply-To: mjacob@feral.com To: John Polstra Cc: ports@freebsd.org Subject: Re: not sure if this is a good patch or not... (fwd) In-Reply-To: <200106092142.f59LgcL55293@vashon.polstra.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Thanks, John! On Sat, 9 Jun 2001, John Polstra wrote: > In article <20010609132536.R4572-100000@wonky.feral.com>, > Matthew Jacob 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