Date: Mon, 17 Sep 2001 17:27:08 -0400 (EDT) From: Joe Clarke <marcus@marcuscom.com> To: Beech Rintoul <akbeech@anchoragerescue.org> Cc: <freebsd-questions@FreeBSD.ORG> Subject: Re: patch Message-ID: <20010917172535.L69881-100000@shumai.marcuscom.com> In-Reply-To: <20010917212238.EA41E8C13@galaxy.anchoragerescue.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Since it's such a simple patch, you could always edit /usr/src/usr.sbin/pkg_install/add/main.c, go to line 80, and add the line packagesite =3D temppackageroot; Because if that's the whole patch (what you emailed), it lacks some of the header info needed for patch. Joe On Mon, 17 Sep 2001, Beech Rintoul wrote: > On Monday 17 September 2001 01:16 pm, Joe Clarke wrote: > > cd / > > patch -p </tmp/patch > > > > Joe > > > > On Mon, 17 Sep 2001, Beech Rintoul wrote: > > > I have a patch that I would like to apply. > > > What comand do I use to apply these changes? (never done it before) > > > > > > > > > Index: /usr/src/usr.sbin/pkg_install/add/main.c > > > @@=A0-78,6 +78,7 @@ > > > =A0 =A0 =A0char *cp, *packagesite, *remotepkg =3D NULL, *ptr; > > > =A0 =A0 =A0static char temppackageroot[MAXPATHLEN]; > > > > > > + =A0 =A0packagesite =3D temppackageroot; > > > =A0 =A0 =A0start =3D argv; > > > =A0 =A0 =A0while ((ch =3D getopt(argc, argv, Options)) !=3D -1) { > > > =A0=A0=A0=A0=A0=A0=A0=A0switch(ch) { > > > > > > Beech > > > > I tried that, and it returns "can't find a patch in there anywhere" > > Beech > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010917172535.L69881-100000>