From nobody@FreeBSD.org  Sun Oct  6 00:18:44 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id 7C6D571A
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  6 Oct 2013 00:18:44 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 687602CE3
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  6 Oct 2013 00:18:44 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r960Ihtw082231
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 6 Oct 2013 00:18:43 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r960IhtW082226;
	Sun, 6 Oct 2013 00:18:43 GMT
	(envelope-from nobody)
Message-Id: <201310060018.r960IhtW082226@oldred.freebsd.org>
Date: Sun, 6 Oct 2013 00:18:43 GMT
From: Kevin Oberman <rkoberman@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: dri fails to build on 9.2-Stable 
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         182723
>Category:       ports
>Synopsis:       graphics/dri fails to build on 9.2-Stable
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-x11
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 06 00:20:00 UTC 2013
>Closed-Date:    
>Last-Modified:  Sun Mar 23 17:29:56 UTC 2014
>Originator:     Kevin Oberman
>Release:        9.2 Stable r255452
>Organization:
ESnet
>Environment:
FreeBSD rogue.local 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #0 r255452M: Tue Sep 10 11:20:05 PDT 2013     root@rogue.local:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
graphics/dri fails to build. System attempt to use gcc, but it does not handle the binary declarations of ints. This is noted in the comments, but for OSVERION of 902503, clang is not used. It is only used for ${OSVERSION} < 902502.
  CC       brw_eu_util.lo
brw_eu_compact.c:44:4: error: invalid suffix "b00000000000000000" on integer constant
brw_eu_compact.c:45:4: error: invalid suffix "b01000000000000000" on integer constant
brw_eu_compact.c:46:4: error: invalid suffix "b00110000000000000" on integer constant

I am not aware of any change made to compilers after 9.2 was branched that would justify this statement:
. if ${OSVERSION} >= 901000 && ${OSVERSION} < 902502 \
                && (${ARCH} == i386 || ${ARCH} == amd64)

>How-To-Repeat:
Build port with a version of 9-STABLE after 9.2 was branched
>Fix:
Change the statement to:

. if ${OSVERSION} >= 901000 && (${ARCH} == i386 || ${ARCH} == amd64)

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-x11 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Mar 23 17:29:55 UTC 2014 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=182723 
>Unformatted:
