From owner-freebsd-questions Mon Sep 17 14:16:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from creme-brulee.marcuscom.com (rdu57-28-046.nc.rr.com [66.57.28.46]) by hub.freebsd.org (Postfix) with ESMTP id C316537B407 for ; Mon, 17 Sep 2001 14:16:20 -0700 (PDT) Received: from shumai.marcuscom.com (shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.11.3/8.11.3) with ESMTP id f8HLEc508266; Mon, 17 Sep 2001 17:14:38 -0400 (EDT) (envelope-from marcus@marcuscom.com) Received: from localhost (marcus@localhost) by shumai.marcuscom.com (8.11.3/8.11.3) with ESMTP id f8HLGWA73207; Mon, 17 Sep 2001 17:16:33 -0400 (EDT) (envelope-from marcus@marcuscom.com) X-Authentication-Warning: shumai.marcuscom.com: marcus owned process doing -bs Date: Mon, 17 Sep 2001 17:16:32 -0400 (EDT) From: Joe Clarke To: Beech Rintoul Cc: Subject: Re: patch In-Reply-To: <20010917211109.547488C13@galaxy.anchoragerescue.org> Message-ID: <20010917171618.V69881-100000@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG cd / patch -p 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 > > > -- > Micro$oft: "Where can we make you go today?" > ------------------------------------------------------------------- > Beech Rintoul - IT Manager - Instructor - akbeech@anchoragerescue.or= g > /"\ ASCII Ribbon Campaign | Anchorage Gospel Rescue Mission > \ / - NO HTML/RTF in e-mail | P.O. Box 230510 > X - NO Word docs in e-mail | Anchorage, AK 99523-0510 > / \ ----------------------------------------------------------------- > > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message