From owner-freebsd-ports Fri Feb 16 9: 2:16 2001 Delivered-To: freebsd-ports@freebsd.org Received: from news.lucky.net (news.lucky.net [193.193.193.102]) by hub.freebsd.org (Postfix) with ESMTP id 7AED337B401 for ; Fri, 16 Feb 2001 09:02:05 -0800 (PST) Received: (from mail@localhost) by news.lucky.net (8.Who.Cares/8.Who.Cares) id TAU24433 for freebsd-ports@freebsd.org; Fri, 16 Feb 2001 19:02:00 +0200 (envelope-from news@news.ntu-kpi.kiev.ua) From: "Andrey Simonenko" To: freebsd-ports@freebsd.org Subject: Re: first port and patch problems Date: Fri, 16 Feb 2001 18:52:33 +0300 Organization: NTUU "KPI" Message-ID: <96jlua$k1a$1@igloo.uran.net.ua> References: <3A8DAC9D.B78A5B61@technologist.com> X-Trace: igloo.uran.net.ua 982342410 20522 10.18.54.109 (16 Feb 2001 16:53:30 GMT) X-Complaints-To: newsmaster@news.ntu-kpi.kiev.ua X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Try to set -p0 switch to "patch". bruno wrote in message news:3A8DAC9D.B78A5B61@technologist.com... > Hello everybody, > > I ported a little tool to FreeBSD and would like to contribute a port. > My current issue is with patch/diff. I have a valid patch file, that > applies all my changes to the original sources but apparently handles > the creation of added files in a wrong manner. > > I simply did a "diff -urN src.original src > patch-aa" in my work dir; > then, when I do a "patch < patch-aa" on an original set of sources, the > files are changed correctly but new files are added in the current > directory instead of src/something. The patchfile shows filenames like > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message