From owner-freebsd-current@FreeBSD.ORG Fri Nov 9 07:26:35 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3E0AFC89 for ; Fri, 9 Nov 2012 07:26:35 +0000 (UTC) (envelope-from grog@lemis.com) Received: from w3.lemis.com (w3.lemis.com [208.86.224.149]) by mx1.freebsd.org (Postfix) with ESMTP id 0A9DA8FC0A for ; Fri, 9 Nov 2012 07:26:34 +0000 (UTC) Received: from eureka.lemis.com (1032.x.rootbsd.net [208.86.224.149]) by w3.lemis.com (Postfix) with ESMTP id 2836B3B752; Fri, 9 Nov 2012 07:26:33 +0000 (UTC) Received: by eureka.lemis.com (Postfix, from userid 1004) id 4DA6EF74EB; Fri, 9 Nov 2012 18:26:31 +1100 (EST) Date: Fri, 9 Nov 2012 18:26:31 +1100 From: Greg 'groggy' Lehey To: Manfred Antar Subject: Re: /usr/bin/calendar broken on current Message-ID: <20121109072631.GQ77848@eureka.lemis.com> References: <201211090658.qA96whII081757@pozo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rKoHqF+aPLVth8b2" Content-Disposition: inline In-Reply-To: <201211090658.qA96whII081757@pozo.com> User-Agent: Mutt/1.4.2.3i Organization: The FreeBSD Project Phone: +61-3-5346-1370 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Nov 2012 07:26:35 -0000 --rKoHqF+aPLVth8b2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thursday, 8 November 2012 at 22:58:37 -0800, Manfred Antar wrote: > Sometime in the last week calendar stopped working. > not sure the cause > here is some of the output: > /usr/share/calendar/calendar.music:231:17: warning: missing terminating ' character [-Winvalid-pp-token] > 12/16 Don McLean's "American Pie" is released, 1971 > ^ This is unexpected fallout from the transition from gcc to clang. calendar invokes cpp, and it seems that clang's cpp doesn't like what it sees. This patch works around the issue: --- pathnames.h (revision 242777) +++ pathnames.h (working copy) @@ -32,5 +32,5 @@ #include -#define _PATH_CPP "/usr/bin/cpp" +#define _PATH_CPP "/usr/bin/gcpp" #define _PATH_INCLUDE "/usr/share/calendar" Clearly that's not the solution. I'll investigate. Greg -- Sent from my desktop computer. Finger grog@FreeBSD.org for PGP public key. See complete headers for address and phone numbers. This message is digitally signed. If your Microsoft MUA reports problems, please read http://tinyurl.com/broken-mua --rKoHqF+aPLVth8b2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlCcsCUACgkQIubykFB6QiN//ACeLCsLC2vwQx0c5HBSjCpPe54c JmoAn0l4JATTxTnFuTVDEW0Q//1nT3ql =Z67y -----END PGP SIGNATURE----- --rKoHqF+aPLVth8b2--