From owner-freebsd-ports@FreeBSD.ORG Fri Apr 1 04:21:03 2005 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 D19E816A4CE for ; Fri, 1 Apr 2005 04:21:03 +0000 (GMT) Received: from pd4mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BFB143D2D for ; Fri, 1 Apr 2005 04:21:01 +0000 (GMT) (envelope-from alex@varju.ca) Received: from pd3mr1so.prod.shaw.ca (pd3mr1so-qfe3.prod.shaw.ca [10.0.141.177]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IE900GLF2QXZB60@l-daemon> for freebsd-ports@freebsd.org; Thu, 31 Mar 2005 21:20:57 -0700 (MST) Received: from pn2ml6so.prod.shaw.ca ([10.0.121.150]) by pd3mr1so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IE90000I2QXOI70@pd3mr1so.prod.shaw.ca> for freebsd-ports@freebsd.org; Thu, 31 Mar 2005 21:20:57 -0700 (MST) Received: from alex.varju.ca (S010600095beeacbb.vc.shawcable.net [24.83.194.151]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0IE900F062QWUX@l-daemon> for freebsd-ports@freebsd.org; Thu, 31 Mar 2005 21:20:57 -0700 (MST) Received: from localhost ([127.0.0.1]) by alex.varju.ca with esmtp freebsd-ports@freebsd.org; Thu, 31 Mar 2005 20:20:56 -0800 Date: Thu, 31 Mar 2005 20:20:55 -0800 From: Alex Varju To: freebsd-ports@freebsd.org Message-id: <424CCC27.6060807@varju.ca> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050325) Subject: Patching files with spaces in the name 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, 01 Apr 2005 04:21:03 -0000 While I'm sure this question must have come up in the past, I can't find anything in the archives. Is there any good method for patching source files with spaces in the name? I'm looking at creating an eclipse-devel port for Eclipse 3.1m5a. I've already got something working now that allows me to build on AMD64 (see the freebsd-java archives if you are interested). Now I'm trying to clean up my work, and one of the problems I've encountered is that Eclipse uses spaces in many of their paths. If I take a diff for changes I've made to files within one of these directories, the patch won't apply again afterwards. Are there any ports that deal with similar problems in an elegant manner? Thanks, Alex.