mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
devel/intel-graphics-compiler: unbreak on DragonFly
In file included from IGC/Compiler/GenUpdateCB.cpp:46: IGC/../3d/common/iStdLib/MemCopy.h:103:25: error: expected initializer before 'FastBlockCopyFromUSWC_SSE4_1_movntdqa_movdqa' inline void __fastcall FastBlockCopyFromUSWC_SSE4_1_movntdqa_movdqa(void* dst, const void* src ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ IGC/../3d/common/iStdLib/MemCopy.h:104:25: error: expected initializer before 'FastBlockCopyFromUSWC_SSE4_1_movntdqa_movdqu' inline void __fastcall FastBlockCopyFromUSWC_SSE4_1_movntdqa_movdqu(void* dst, const void* src ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Reported by: DPorts
This commit is contained in:
parent
b476002b54
commit
b62a7094a2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=520797
@ -23,6 +23,7 @@ USES= bison cmake compiler:c++17-lang python:build
|
||||
USE_GITHUB= yes
|
||||
USE_LDCONFIG= yes
|
||||
GH_ACCOUNT= intel
|
||||
CFLAGS+= -Wno-macro-redefined # __fastcall
|
||||
PLIST_SUB= ARCH_SUFX=${ARCH:S/i386/32/:S/amd//:S/x86_//}
|
||||
|
||||
post-patch:
|
||||
@ -36,9 +37,6 @@ post-patch:
|
||||
@${REINPLACE_CMD} -e '/clang-\$$/ { s//clang$$/; \
|
||||
s/MAJOR}/&$${LLVM_VERSION_MINOR}/; }' \
|
||||
${WRKSRC}/IGC/BiFModule/CMakeLists.txt
|
||||
# Silence -Wmacro-redefined to expose __fastcall misuse
|
||||
@${REINPLACE_CMD} -e '/__fastcall/d' \
|
||||
${WRKSRC}/inc/common/UFO/portable_compiler.h
|
||||
# No need to abort on every benign warning enabled by default
|
||||
@${REINPLACE_CMD} -e 's/"-Werror"//; /-Werror/d' \
|
||||
${WRKSRC}/IGC/CMakeLists.txt
|
||||
|
Loading…
Reference in New Issue
Block a user