From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12809 invoked by alias); 3 Jul 2013 16:11:29 -0000 Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org Received: (qmail 12798 invoked by uid 89); 3 Jul 2013 16:11:28 -0000 X-Spam-SWARE-Status: No, score=-6.9 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 03 Jul 2013 16:11:08 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r63GB4vV021036 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 3 Jul 2013 12:11:04 -0400 Received: from valrhona.uglyboxes.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r63GB2sg011428 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 3 Jul 2013 12:11:03 -0400 Message-ID: <51D44D16.3020805@redhat.com> Date: Wed, 03 Jul 2013 16:11:00 -0000 From: Keith Seitz User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 MIME-Version: 1.0 To: John Long CC: insight@sourceware.org Subject: Re: Error building from cvs References: <20130702094150.GA18316@inbox.lv> <51D308E2.2010000@redhat.com> <20130703110647.GA18731@inbox.lv> In-Reply-To: <20130703110647.GA18731@inbox.lv> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2013-q3/txt/msg00004.txt.bz2 On 07/03/2013 04:06 AM, John Long wrote: > Can you please remind me how to apply your patches? Git format shouldn't matter: I apply those to branches all the time with `patch'. The probable cause is the leading path on that patch. The paths in the patch are all prefaced with: "a/gdb/gdbtk/generic" [or "b/gdb/gdbtk/generic"]. So depending on what source directory you are sitting in, you need to specify something other than "-p0" to `patch'. If the CWD is (from CVS) src/gdb/, then you need -p2. If the CWD is src/, you need -p1. If you are sitting in src/gdb/gdbtk/generic/, yes, you need -p4 to ignore the first for directory components in the patch. Keith