Anybody else have an xscreensaver build break?

Michael Nottebrock lofi at freebsd.org
Sun Jul 3 18:30:14 GMT 2005


On Sunday, 3. July 2005 17:13, Steven Friedrich wrote:

> > 1. Make a copy of the file to edit: cp file.c file.c.orig
> > 2. Make changes to file.c
> > 3. cd ${WRKSRC}, i.e. work/xscreensaver-x.y in your case
> > 4. patch -u path/to/file.c.orig path/to/file.c > patch-path_to_file.c
>
> I'm having trouble with > patch-path_to_file.c
>
> I tried patch -u hacks/glx/antmaze.c.orig hacks/glx/antmaze.c >
> patch-hacks/glx/antmaze.c
>
> and got:
>
> patch-hacks/glx/antmaze.c: No such file or directory.
>
> help?

Simon's instructions are quirky. :-) Patches are applied with patch and 
created with diff. Thus step 4 should be:

diff -u path/to/file.c.orig path/to/file.c > patch-path_to_file

-- 
   ,_,   | Michael Nottebrock               | lofi at freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20050703/44b875a0/attachment.bin


More information about the freebsd-ports mailing list