From owner-freebsd-hackers@FreeBSD.ORG Fri Aug 19 02:26:30 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 874D9106566B for ; Fri, 19 Aug 2011 02:26:30 +0000 (UTC) (envelope-from ttsestt@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0CC8D8FC0C for ; Fri, 19 Aug 2011 02:26:29 +0000 (UTC) Received: by bkat8 with SMTP id t8so2536719bka.13 for ; Thu, 18 Aug 2011 19:26:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=tHXmEldQxu9lCBEdhSBnDzmdbfULpclVQ+AkRD1YwBo=; b=efffWxPhEfqw42A+6IZQlSjA2UwCPglSyMUTR+PPU8GQk3hyFGHc6V6gvulZygIDDM Xi0tqDJPHw7q6/V5gC6P8n4nkbS1+gxbjHE+nBtqgQoazjyNh/xN/MNL3d/yO6tNO4Bf m1iuPz2RE3a+JMw9Itlk8F0HOwojo9X3yrzIw= Received: by 10.204.148.205 with SMTP id q13mr77232bkv.179.1313720788819; Thu, 18 Aug 2011 19:26:28 -0700 (PDT) Received: from localhost (tor1.spider007.net [194.145.200.128]) by mx.google.com with ESMTPS id n11sm893994bkd.14.2011.08.18.19.26.20 (version=SSLv3 cipher=OTHER); Thu, 18 Aug 2011 19:26:25 -0700 (PDT) From: Test Rat To: timp References: <868vqt0xuc.fsf@gmail.com> <1313663436600-4711635.post@n5.nabble.com> Date: Fri, 19 Aug 2011 06:26:18 +0400 In-Reply-To: <1313663436600-4711635.post@n5.nabble.com> (timp's message of "Thu, 18 Aug 2011 03:30:36 -0700 (PDT)") Message-ID: <86hb5euofp.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-hackers@freebsd.org Subject: Re: [nvi-iconv]Call for test X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2011 02:26:30 -0000 timp writes: > Hi! > I just tried you patch on latest current with clang. > > [root@current64 /usr/src]# uname -a > FreeBSD current64 9.0-BETA1 FreeBSD 9.0-BETA1 #0: Thu Aug 18 03:56:45 MSK > 2011 mox@current64:/usr/obj/usr/src/sys/GENERIC amd64 > > [root@current64 /usr/src]# patch < ~/nvi2-freebsd-2011-08-17.diff [...] > ===> usr.bin/vi (depend) > make: don't know how to make cl_bsd.c. Stop > *** Error code 2 Use `-p0' otherwise new directories won't be created. This is documented in patch(1). And cl_bsd.c ended up in current directory (/usr/src) $ diffstat ~/nvi2-freebsd-2011-08-17.diff.gz | fgrep cl_bsd.c contrib/nvi2/cl/cl_bsd.c | 346 +++ Zhihao Yuan writes: > The patch will create contrib/nvi2, and it will not remove the unused > contrib/nvi (patch(1) can not really remove files anyway). patch(1) can remove *empty* files with `-E', e.g. $ svn rm UPDATING $ svn di UPDATING | patch -E -d /usr/src