From: | "Christoph Junghans (ottxor)" <ottxor@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-lang/ispc/files: ispc-1.7.0-llvm-version.patch |
Date: | Thu, 26 Jun 2014 05:53:03 |
Message-Id: | 20140626055300.A088B2004F@flycatcher.gentoo.org |
1 | ottxor 14/06/26 05:53:00 |
2 | |
3 | Added: ispc-1.7.0-llvm-version.patch |
4 | Log: |
5 | fix build with llvm-3.4.2 (bug #515114) |
6 | |
7 | (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key C2000586) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-lang/ispc/files/ispc-1.7.0-llvm-version.patch |
11 | |
12 | 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 |
13 | 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 |
14 | |
15 | Index: ispc-1.7.0-llvm-version.patch |
16 | =================================================================== |
17 | diff --git a/Makefile b/Makefile |
18 | index de0aa1a..abf042f 100644 |
19 | --- a/Makefile |
20 | +++ b/Makefile |
21 | @@ -86,7 +86,7 @@ endif |
22 | ARCH_TYPE = $(shell arch) |
23 | |
24 | LLVM_CXXFLAGS=$(shell $(LLVM_CONFIG) --cppflags) |
25 | -LLVM_VERSION=LLVM_$(shell $(LLVM_CONFIG) --version | sed -e s/\\./_/ -e s/svn// -e s/\.0//) |
26 | +LLVM_VERSION=LLVM_$(shell $(LLVM_CONFIG) --version | sed -e 's/svn//' -e 's/\./_/' -e 's/\..*//') |
27 | LLVM_VERSION_DEF=-D$(LLVM_VERSION) |
28 | |
29 | LLVM_COMPONENTS = engine ipo bitreader bitwriter instrumentation linker |