1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Forward port r490827 | gerald | 2019-01-21 from emulators/wine:

Remove a hack (defining __builtin_ms_va_list and friends) for versions
of clang before 3.8 and hence versions of FreeBSD no longer maintained.
This commit is contained in:
Gerald Pfeifer 2019-01-29 14:02:18 +00:00
parent adc8e3512f
commit 7fb317283e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=491562

View File

@ -133,13 +133,6 @@ X11_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
CONFIGURE_ARGS+= --enable-win64 --libdir=${PREFIX}/lib
PLIST_SUB+= WINE32="@comment " WINE64=""
.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 \
-D__builtin_ms_va_copy=__builtin_va_copy
.endif
# Wine assumes a WoW64 package is available, however WoW64 is not yet
# available on FreeBSD. Also fix the desktop file.
post-patch: