From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Apr 2 21:40:02 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 09406AB0 for ; Wed, 2 Apr 2014 21:40:02 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C1F7EF27 for ; Wed, 2 Apr 2014 21:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s32Le0Oe089975 for ; Wed, 2 Apr 2014 21:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s32Le0P5089964; Wed, 2 Apr 2014 21:40:00 GMT (envelope-from gnats) Resent-Date: Wed, 2 Apr 2014 21:40:00 GMT Resent-Message-Id: <201404022140.s32Le0P5089964@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Callum Gibson Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9B7C57AC for ; Wed, 2 Apr 2014 21:30:11 +0000 (UTC) Received: from mail105.syd.optusnet.com.au (mail105.syd.optusnet.com.au [211.29.132.249]) by mx1.freebsd.org (Postfix) with ESMTP id 6157FE2E for ; Wed, 2 Apr 2014 21:30:11 +0000 (UTC) Received: from omma.gibson.athome (c110-20-55-230.rivrw8.nsw.optusnet.com.au [110.20.55.230]) by mail105.syd.optusnet.com.au (Postfix) with SMTP id DA1CD1045DBF for ; Thu, 3 Apr 2014 08:30:02 +1100 (EST) Received: (qmail 10755 invoked by uid 107); 3 Apr 2014 08:30:02 +1100 Message-Id: <20140402213002.10754.qmail@omma.gibson.athome> Date: 3 Apr 2014 08:30:02 +1100 From: Callum Gibson To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/188203: [PATCH] x11/xcb app defaults file is not built correctly X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Callum Gibson List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Apr 2014 21:40:02 -0000 >Number: 188203 >Category: ports >Synopsis: [PATCH] x11/xcb app defaults file is not built correctly >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Apr 02 21:40:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Callum Gibson >Release: FreeBSD 10.0-STABLE amd64 >Organization: >Environment: System: FreeBSD amarok 10.0-STABLE FreeBSD 10.0-STABLE #0 r263657: Sun Mar 23 19 :58:41 EST 2014 root@amarok:/usr/obj/usr/src/sys/GENERIC amd64 >Description: The app-defaults file for xcb is not built correctly as a consequence of switch to clang and replacement of gcc's cpp. tradcpp is more strict about the order of the parameters and the filename must be last on the command line otherwise a zero length file is created. >How-To-Repeat: Install and run x11/xcb port. Note it doesn't display properly. >Fix: Move filename to end of cpp command in make rule (see patch). --- Imakefile.orig 2014-04-03 08:18:34.528207895 +1100 +++ Imakefile 2014-04-03 06:40:39.413006135 +1100 @@ -20,6 +20,6 @@ ComplexProgramTarget(xcb) Xcb.ad: Xcb.ad.base - $(CPP) -P Xcb.ad.base $(GUI) > $@ # -P removes line directives. + $(CPP) -P $(GUI) Xcb.ad.base > $@ # -P removes line directives. InstallAppDefaults(Xcb) >Release-Note: >Audit-Trail: >Unformatted: