From owner-freebsd-questions Mon Sep 17 14:22:50 2001 Delivered-To: freebsd-questions@freebsd.org Received: from galaxy.anchoragerescue.org (cable-95-7-237-24.anchorageak.net [24.237.7.95]) by hub.freebsd.org (Postfix) with ESMTP id 7C64D37B406 for ; Mon, 17 Sep 2001 14:22:40 -0700 (PDT) Received: by galaxy.anchoragerescue.org (Postfix, from userid 0) id EA41E8C13; Mon, 17 Sep 2001 13:22:38 -0800 (AKDT) Content-Type: text/plain; charset="iso-8859-1" From: Beech Rintoul To: Joe Clarke Subject: Re: patch Date: Mon, 17 Sep 2001 13:22:38 -0800 X-Mailer: KMail [version 1.3] Cc: References: <20010917171618.V69881-100000@shumai.marcuscom.com> In-Reply-To: <20010917171618.V69881-100000@shumai.marcuscom.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20010917212238.EA41E8C13@galaxy.anchoragerescue.org> 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 On Monday 17 September 2001 01:16 pm, Joe Clarke wrote: > cd / > patch -p > 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 > > @@ -78,6 +78,7 @@ > >      char *cp, *packagesite, *remotepkg = NULL, *ptr; > >      static char temppackageroot[MAXPATHLEN]; > > > > +    packagesite = temppackageroot; > >      start = argv; > >      while ((ch = getopt(argc, argv, Options)) != -1) { > >         switch(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