From owner-freebsd-questions@FreeBSD.ORG Mon Nov 28 10:19:45 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B28DA16A41F for ; Mon, 28 Nov 2005 10:19:45 +0000 (GMT) (envelope-from raimondeau@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46FEB43D53 for ; Mon, 28 Nov 2005 10:19:45 +0000 (GMT) (envelope-from raimondeau@gmail.com) Received: by xproxy.gmail.com with SMTP id t12so924243wxc for ; Mon, 28 Nov 2005 02:19:44 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=AofDJ7lvAAUoTuRrBCD7C/OnAESFJr68QMNJwTBrve9CfiGo71MVQcOjZ78LZPT6gfsgzK2nbFAX84gxSfa2yKW0c6X/pkofX497zMv4Q1PM1QQLAAIXu3mSf0nvKF2MAdr3+BbTPOOPn379O5iS8KlftuD0TLy8lhPfigfYCng= Received: by 10.70.18.7 with SMTP id 7mr315814wxr; Mon, 28 Nov 2005 02:19:44 -0800 (PST) Received: by 10.70.130.3 with HTTP; Mon, 28 Nov 2005 02:19:44 -0800 (PST) Message-ID: <7ab0fd580511280219g3ba34c29p@mail.gmail.com> Date: Mon, 28 Nov 2005 11:19:44 +0100 From: "Guillaume R." To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Problem while patching a file 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: Mon, 28 Nov 2005 10:19:45 -0000 Hello I'm trying to install the last version of emacs (to test Gnus!) on my box. I've got a compil error, I made a search and found that thread: http://lists.freebsd.org/pipermail/freebsd-ports/2005-September/025703.html By reading the thread I could deduce that this patch seems to work fine. I decided to apply it. And here is my problem: I don't know how to patch correctly a file i suppose coz when i type: patch src/xterm.c < mypatch.patch Then the patch is not include in the file but simply copied at the top of i= t. Could someone explain me how to patch correctly a file? And especially where i could find some docs on diff/patch commands (apart man)? Many thx -- Powered by FreeBSD 6.O http://www.freebsd.org