ports/188203: [PATCH] x11/xcb app defaults file is not built correctly

Callum Gibson callum at omma.gibson.athome
Wed Apr 2 21:40:02 UTC 2014


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


More information about the freebsd-ports-bugs mailing list