Skip site navigation (1)Skip section navigation (2)
Date:      3 Apr 2014 08:30:02 +1100
From:      Callum Gibson <callum@omma.gibson.athome>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/188203: [PATCH] x11/xcb app defaults file is not built correctly
Message-ID:  <20140402213002.10754.qmail@omma.gibson.athome>
Resent-Message-ID: <201404022140.s32Le0P5089964@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140402213002.10754.qmail>