From owner-freebsd-questions@FreeBSD.ORG Thu Sep 22 14:20:20 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DBF26106566B for ; Thu, 22 Sep 2011 14:20:20 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 958DB8FC16 for ; Thu, 22 Sep 2011 14:20:20 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id p8MEKJgi011676; Thu, 22 Sep 2011 08:20:19 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id p8MEKJ50011673; Thu, 22 Sep 2011 08:20:19 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 22 Sep 2011 08:20:19 -0600 (MDT) From: Warren Block To: Matthew Seaman In-Reply-To: <4E7B1781.30800@infracaninophile.co.uk> Message-ID: References: <4E7ADE4B.6010601@infracaninophile.co.uk> <4E7B1781.30800@infracaninophile.co.uk> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Thu, 22 Sep 2011 08:20:19 -0600 (MDT) Cc: freebsd-questions@freebsd.org, Andy Zammy Subject: Re: Dynamic Window Manager install with patch(es) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Sep 2011 14:20:20 -0000 On Thu, 22 Sep 2011, Matthew Seaman wrote: > On 22/09/2011 11:21, Andy Zammy wrote: >> File to patch: files/patch-defaultopacity >> No file found--skip this patch? [n] n >> File to patch: /usr/home/user/Downloads/dwm.defaultopacity.patch >> patch: **** malformed patch at line 9: @@ -52,6 +54,9 @@ >> => Patch patch-defaultopacity failed to apply cleanly. > > Um.. when it says 'file to patch', it means it wants the name of a file > to apply the patch /to/, not the file to read the patch /from/. There > are some requirements about relative paths in the diff file that I > entirely glossed over when I mentioned adding patches to the files > directory; unfortunately not all patches will 'just work' (tm). > > [[ Do this next bit after unpacking the distfiles but before building > the port. ie. after running these commands: > > # cd /usr/ports/x11-wm/dwm > # make clean ; make extract > > ]] Or after 'make patch', so the port patches have already been applied. Of course, port patches and manual patches can interfere with each other.