Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Feb 2016 10:58:05 +0000 (UTC)
From:      Gerald Pfeifer <gerald@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408683 - head/emulators/wine
Message-ID:  <201602111058.u1BAw5bY032703@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gerald
Date: Thu Feb 11 10:58:05 2016
New Revision: 408683
URL: https://svnweb.freebsd.org/changeset/ports/408683

Log:
  Fix the build with clang 3.8.0 or later which support "native" Windows
  varargs builtins.
  
  PR:		206527
  Submitted by:	dim

Modified:
  head/emulators/wine/Makefile

Modified: head/emulators/wine/Makefile
==============================================================================
--- head/emulators/wine/Makefile	Thu Feb 11 10:34:38 2016	(r408682)
+++ head/emulators/wine/Makefile	Thu Feb 11 10:58:05 2016	(r408683)
@@ -119,7 +119,7 @@ X11_LIB_DEPENDS=	libfontconfig.so:${PORT
 CONFIGURE_ARGS+=	--enable-win64 --libdir=${PREFIX}/lib
 PLIST_SUB+=		WINE32="@comment " WINE64=""
 
-.if ${CHOSEN_COMPILER_TYPE} == clang
+.if ${CHOSEN_COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 38
 CPPFLAGS+=		-D__builtin_ms_va_list=__builtin_va_list \
 			-D__builtin_ms_va_start=__builtin_va_start \
 			-D__builtin_ms_va_end=__builtin_va_end \



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