Dynamic Window Manager install with patch(es)

Warren Block wblock at wonkity.com
Thu Sep 22 14:20:20 UTC 2011


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.


More information about the freebsd-questions mailing list