From owner-freebsd-ports-bugs@freebsd.org Sat Jan 23 15:47:15 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F03CDA8E620 for ; Sat, 23 Jan 2016 15:47:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 C28001C6B for ; Sat, 23 Jan 2016 15:47:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u0NFlFNY073857 for ; Sat, 23 Jan 2016 15:47:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 206527] Fix emulators/wine and emulators/wine-devel build with clang 3.8.0 Date: Sat, 23 Jan 2016 15:47:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gerald@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2016 15:47:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206527 Bug ID: 206527 Summary: Fix emulators/wine and emulators/wine-devel build with clang 3.8.0 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: gerald@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(gerald@FreeBSD.org) Assignee: gerald@FreeBSD.org Created attachment 166008 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D166008&action= =3Dedit Fix emulators/wine and emulators/wine-devel build with clang 3.8.0 During the exp-run in bug 206074, it was found that emulators/wine and emulators/wine-devel give errors with a recent clang 3.8.0 snapshot [1]: eventlog.c:997:5: error: 'va_start' used in Win64 ABI function __ms_va_start( valist, number ); ^ ../../include/windef.h:90:35: note: expanded from macro '__ms_va_start' # define __ms_va_start(list,arg) __builtin_ms_va_start(list,arg) ^ :5:31: note: expanded from here #define __builtin_ms_va_start __builtin_va_start ^ This is because the port Makefile explicitly defines __builtin_ms_va_list as __builtin_va_list, __builtin_ms_va_start as __builtin_va_start, and so on, = for clang. For clang 3.8.0 and higher this is no longer needed, as it supports the 'native' MS varargs builtins now. The attached patch adds a version check. [1] http://package18.nyi.freebsd.org/data/headamd64PR206074-default/2016-01-15_= 15h26m58s/logs/errors/wine-1.8,1.log [2] http://package18.nyi.freebsd.org/data/headamd64PR206074-default/2016-01-15_= 15h26m58s/logs/errors/wine-devel-1.9.1,1.log --=20 You are receiving this mail because: You are the assignee for the bug.=