From owner-freebsd-questions@FreeBSD.ORG Thu Sep 25 19:50:17 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7EA96106568E for ; Thu, 25 Sep 2008 19:50:17 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 4FDC78FC13 for ; Thu, 25 Sep 2008 19:50:17 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id B0DBAAFBC01; Thu, 25 Sep 2008 11:50:16 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Thu, 25 Sep 2008 21:50:15 +0200 User-Agent: KMail/1.9.7 References: <48D7092B.1040503@brianwhalen.net> <200809251549.41342.fbsd.questions@rachie.is-a-geek.net> <48DBE070.7060406@brianwhalen.net> In-Reply-To: <48DBE070.7060406@brianwhalen.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809252150.15662.fbsd.questions@rachie.is-a-geek.net> Cc: Brian Subject: Re: ccache on amd64 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: Thu, 25 Sep 2008 19:50:17 -0000 On Thursday 25 September 2008 21:03:12 Brian wrote: > [root@amd /usr/ports/devel/ccache]# make > ===> Patching for ccache-2.4_7 > ===> Applying FreeBSD patches for ccache-2.4_7 > patch: **** malformed patch at line 9: sizeof(char *)); > => Patch patch-args.c failed to apply cleanly. Result of long lines broken. Join line 8 and 9 and also a few lines down, that starts with sizeof(char *). Additionally, found out why CC := ${CC:C,^cc...etc} works and without does not. The culprit is that CC is defined as: CC="${CC} ${LIB32FLAGS}" in Makefile.inc1 Not sure why they don't mangle CFLAGS instead, but there are probably good reasons for it. -- Mel Problem with today's modular software: they start with the modules and never get to the software part.