From owner-freebsd-ports@FreeBSD.ORG Fri Aug 29 15:41:37 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0EEE116A4E0 for ; Fri, 29 Aug 2003 15:41:37 -0700 (PDT) Received: from mail.dt.e-technik.uni-dortmund.de (krusty.dt.e-technik.Uni-Dortmund.DE [129.217.163.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06AD2440E6 for ; Fri, 29 Aug 2003 15:41:19 -0700 (PDT) (envelope-from ma@dt.e-technik.uni-dortmund.de) Received: from m2a2.dyndns.org (krusty.dt.e-technik.uni-dortmund.de [129.217.163.1])28AE9AFE4 for ; Sat, 30 Aug 2003 00:41:19 +0200 (CEST) Received: by merlin.emma.line.org (Postfix, from userid 500) id A623C82C91; Sat, 30 Aug 2003 00:41:17 +0200 (CEST) To: Lars Bungum In-Reply-To: <20030829221932.Q55451-100000@unity.copyleft.no> (Lars Bungum's message of "Fri, 29 Aug 2003 22:21:00 +0200 (CEST)") References: <20030829221932.Q55451-100000@unity.copyleft.no> From: Matthias Andree Date: Sat, 30 Aug 2003 00:41:17 +0200 Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-ports@freebsd.org Subject: Re: Trying to patch rsync port. X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Aug 2003 22:41:37 -0000 Lars Bungum writes: > What I tried to do, was to paste it into a file /tmp/rsyncmknod.patch > and putting this line into the Makefile > > EXTRA_PATCHES= /tmp/rsyncmknod.patch > > .but I didn't get this to work. It asked me for a filename as I was > trying to make. That's usually a hint that the path component count in the --- and +++ lines don't match the -p parameter, and the auto-filename derivation magic in patch didn't succeed. Find out what parameter is configured for patch (IIRC, "make -V PATCH_STRIP" should do that -- not on a BSD machine ATM) and adjust the patch accordingly. The file names in the patch are expected to be relative to ${WRKSRC}. -- Matthias Andree Encrypt your mail: my GnuPG key ID is 0x052E7D95