From owner-freebsd-x11@FreeBSD.ORG Tue Sep 25 17:29:15 2012 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 724A4106564A; Tue, 25 Sep 2012 17:29:15 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id B8A398FC15; Tue, 25 Sep 2012 17:29:14 +0000 (UTC) Received: by bkcje9 with SMTP id je9so3225544bkc.13 for ; Tue, 25 Sep 2012 10:29:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=gFD2vQyzUp4NW3Xd9eWcS4dW8Y1dRyn+zn8XRvKRXY0=; b=BUI4Wgfu21Ux1pECRgx8rlHvJp3DNZ2buGmMf+q30lBVFE/BI5pH7vgqWZZFp9YCQ7 SXmC+4AeefE0BxTrTGbjag3J4iETBMONaSQsVSwZuiJSgFkGuHz+Bo7PDIh2kUTATSTr RRNV7DaNes62FfnmL8Ge1sb34P7iN20TDzsd5zhnP/6cqSMRAnMzhHoacASNeAEyJ7cP ObgSUEHkvGDGApEySMaNoOjOLD/ioE5pBbBl7HyPRhDZSpDyxEZvPwNcndjOCY35JfUM bz0YxI3csPVk4ZUTkP7yTbFylOwpKf9Ah1X7wJvne16ErDVir65y/GfMI2OOzMjdj2VG 6zMQ== MIME-Version: 1.0 Received: by 10.204.151.9 with SMTP id a9mr2393815bkw.2.1348594153331; Tue, 25 Sep 2012 10:29:13 -0700 (PDT) Received: by 10.204.10.141 with HTTP; Tue, 25 Sep 2012 10:29:13 -0700 (PDT) Received: by 10.204.10.141 with HTTP; Tue, 25 Sep 2012 10:29:13 -0700 (PDT) In-Reply-To: <20577.59432.798647.91007@gromit.timing.com> References: <201209251438.q8PEcHtv022851@mech-cluster241.men.bris.ac.uk> <5061C930.20007@andric.com> <20577.59432.798647.91007@gromit.timing.com> Date: Tue, 25 Sep 2012 18:29:13 +0100 Message-ID: From: Chris Rees To: John Hein Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: zeising@daemonic.se, Dimitry Andric , freebsd-x11@freebsd.org, FreeBSD Mailing List Subject: Re: astro/xearth on redports with clang: /usr/local/lib/X11/config/FreeBSD.cf:451:35: error: '#' is not followed by a macro parameter X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Sep 2012 17:29:15 -0000 On 25 Sep 2012 18:23, "John Hein" wrote: > > Dimitry Andric wrote at 17:09 +0200 on Sep 25, 2012: > > On 2012-09-25 16:38, Anton Shterenlikht wrote: > > ... > > > $ grep -c imake /usr/ports/INDEX-10 > > > 291 > > > > That's a relatively low number, indeed. :) > > > > > > > This issue must cause problems for > > > quite a few other ports. > > > So is it an agreed policy to migrate away from > > > imake in time for 10-release? > > > > Imake is obsolete, X.org migrated to autoconf+gmake a long time > > ago, and new software should avoid it. That said, for old > > software, you could just add a dependency on one of the gcc ports, > > or maybe use another C preprocessor that supports -traditional > > mode. I understood ucpp might be able to do the job. > > You could also raise a discussion with the clang folks. > If it's really legitimate preprocessor syntax, clang/cpp > could be fixed perhaps. Imake *really* hates clang. Although it can build with it, the resulting imake is broken. Fixing imake properly is the thing to do here. I'm happy to help anyone mad enough to try. Chris