From owner-freebsd-ports@FreeBSD.ORG Wed Jun 20 02:06:18 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8E79816A479 for ; Wed, 20 Jun 2007 02:06:18 +0000 (UTC) (envelope-from john_m_cooper@yahoo.com) Received: from smtp102.biz.mail.re2.yahoo.com (smtp102.biz.mail.re2.yahoo.com [68.142.229.216]) by mx1.freebsd.org (Postfix) with SMTP id 2481713C4CB for ; Wed, 20 Jun 2007 02:06:17 +0000 (UTC) (envelope-from john_m_cooper@yahoo.com) Received: (qmail 91010 invoked from network); 20 Jun 2007 02:06:17 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=zGRXXYjPC9Z5R1BIeC/F2fS/N91dDZGd4QJVMRzjlvDvCme1EZtgKV/TL/SKpE79KRsw061D9OlC4hJfEfZqSTKNv5WMZvg89NBZSbI/jg5K3ij9UWHZz6yUXBbzvLQ8CMc1sHXXsg7AGmC9TUP82ayep70hCFBeqRL6etx4alM= ; Received: from unknown (HELO borgdemon2.hsd1.md.comcast.net) (j.m.cooper@borgsdemons.com@69.251.16.205 with login) by smtp102.biz.mail.re2.yahoo.com with SMTP; 20 Jun 2007 02:06:17 -0000 X-YMail-OSG: EAss110VM1npuQZoEL.GGYd5tq.UV9hzkb0arlSMhLOeUzKiQLBFElAalNKmaAgiXuTxnfqHTg-- Received: from [127.0.0.1] (localhost [127.0.0.1]) by borgdemon2.hsd1.md.comcast.net (Postfix) with ESMTP id A96685CFC for ; Tue, 19 Jun 2007 22:06:15 -0400 (EDT) Message-ID: <46788B96.5060406@yahoo.com> Date: Tue, 19 Jun 2007 22:06:14 -0400 From: John Merryweather Cooper User-Agent: Thunderbird 2.0b1pre (X11/20070521) MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Generating patch files X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jun 2007 02:06:18 -0000 Steffen Beyer wrote: > Hi, > > I just started creating my first port for a program names qtpfsgui. > > Currently, there are several files to patch. Usually I would run "diff > -r" to create one large patch, but the build system -- and the rules ,) > -- expect a separate diff for each file to be patched. > > Is there an easy way to create this set of files, i.e. cutting the patch > into pieces and naming the files accordingly? I looked through the > handbook and various tools, but couldn't find the right one. > > Or did I miss the point here? > > Regards, textproc/makepatch port will automate the generation of diff files. # makepatch -diff="diff -ruN" -nomanifest old-dir new-dir will do the majority of your work. jmc