svn commit: r408683 - head/emulators/wine
Gerald Pfeifer
gerald at FreeBSD.org
Thu Feb 11 10:58:07 UTC 2016
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 \
More information about the svn-ports-all
mailing list