ottxor 14/06/26 05:53:00 Added: ispc-1.7.0-llvm-version.patch Log: fix build with llvm-3.4.2 (bug #515114) (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key C2000586)
Revision Changes Path 1.1 dev-lang/ispc/files/ispc-1.7.0-llvm-version.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ispc/files/ispc-1.7.0-llvm-version.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/ispc/files/ispc-1.7.0-llvm-version.patch?rev=1.1&content-type=text/plain Index: ispc-1.7.0-llvm-version.patch =================================================================== diff --git a/Makefile b/Makefile index de0aa1a..abf042f 100644 --- a/Makefile +++ b/Makefile @@ -86,7 +86,7 @@ endif ARCH_TYPE = $(shell arch) LLVM_CXXFLAGS=$(shell $(LLVM_CONFIG) --cppflags) -LLVM_VERSION=LLVM_$(shell $(LLVM_CONFIG) --version | sed -e s/\\./_/ -e s/svn// -e s/\.0//) +LLVM_VERSION=LLVM_$(shell $(LLVM_CONFIG) --version | sed -e 's/svn//' -e 's/\./_/' -e 's/\..*//') LLVM_VERSION_DEF=-D$(LLVM_VERSION) LLVM_COMPONENTS = engine ipo bitreader bitwriter instrumentation linker
