Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jul 2005 20:29:58 +0200
From:      Michael Nottebrock <lofi@freebsd.org>
To:        Steven Friedrich <FreeBSD@insightbb.com>
Cc:        Simon Barner <barner@freebsd.org>, "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Subject:   Re: Anybody else have an xscreensaver build break?
Message-ID:  <200507032030.03830.lofi@freebsd.org>
In-Reply-To: <200507031113.21507.FreeBSD@insightbb.com>
References:  <200507030412.11449.lofi@freebsd.org> <20050703112234.GE913@zi025.glhnet.mhn.de> <200507031113.21507.FreeBSD@insightbb.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1542065.TSekjdLWDg
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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=20
created with diff. Thus step 4 should be:

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

=2D-=20
   ,_,   | Michael Nottebrock               | lofi@freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org

--nextPart1542065.TSekjdLWDg
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQBCyC6rXhc68WspdLARAnsiAJsHP+tXgjEIP3aPXSM3ZR46mO97CgCfVv1W
euqbckdonkcfezKfZ+AnWVg=
=2CYb
-----END PGP SIGNATURE-----

--nextPart1542065.TSekjdLWDg--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507032030.03830.lofi>