From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Aug 24 15:50:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.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 CBC2DA67 for ; Sat, 24 Aug 2013 15:50:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) 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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 915B424BD for ; Sat, 24 Aug 2013 15:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r7OFo0ZY011429 for ; Sat, 24 Aug 2013 15:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7OFo0FM011428; Sat, 24 Aug 2013 15:50:00 GMT (envelope-from gnats) Resent-Date: Sat, 24 Aug 2013 15:50:00 GMT Resent-Message-Id: <201308241550.r7OFo0FM011428@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, Norikatsu Shigemura 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 BD1E69F0 for ; Sat, 24 Aug 2013 15:47:25 +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 AB81724A8 for ; Sat, 24 Aug 2013 15:47:25 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r7OFlPPA001605 for ; Sat, 24 Aug 2013 15:47:25 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r7OFlPxV001604; Sat, 24 Aug 2013 15:47:25 GMT (envelope-from nobody) Message-Id: <201308241547.r7OFlPxV001604@oldred.freebsd.org> Date: Sat, 24 Aug 2013 15:47:25 GMT From: Norikatsu Shigemura To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/181504: [ports/devel/liboil] Fix build error by CC=clang X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Aug 2013 15:50:00 -0000 >Number: 181504 >Category: ports >Synopsis: [ports/devel/liboil] Fix build error by CC=clang >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Aug 24 15:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Norikatsu Shigemura >Release: FreeBSD/amd64 on 10-current >Organization: Personal >Environment: FreeBSD pelsia.ninth-nine.com 10.0-CURRENT FreeBSD 10.0-CURRENT #6 r254715M: Sat Aug 24 10:27:09 JST 2013 nork@pelsia.ninth-nine.com:/usr/obj/usr/src/sys/PELSIA amd64 >Description: liboil's Makefile defined USE_GCC=any, so not use clang. But there is clang test code, so no longer use. >How-To-Repeat: $ cd /usr/ports/devel/liboil $ env CC=clang make >Fix: Please apply my patch. Patch attached with submission follows: Index: Makefile =================================================================== --- Makefile (revision 325271) +++ Makefile (working copy) @@ -25,10 +25,6 @@ --disable-glib CFLAGS:= ${CFLAGS:N-O*} -O2 -.if ${CC:T:M*clang*} -CFLAGS+= -fheinous-gnu-extensions -.endif - .include post-patch: >Release-Note: >Audit-Trail: >Unformatted: