- Add cmake-patchversion.patch to sync config.h.in
with config.h.cmake OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=358
This commit is contained in:
parent
8bac79a958
commit
700f0888ca
14
cmake-patchversion.patch
Normal file
14
cmake-patchversion.patch
Normal file
@ -0,0 +1,14 @@
|
||||
Index: llvm-3.4.2/include/llvm/Config/config.h.cmake
|
||||
===================================================================
|
||||
--- llvm-3.4.2.orig/include/llvm/Config/config.h.cmake
|
||||
+++ llvm-3.4.2/include/llvm/Config/config.h.cmake
|
||||
@@ -603,6 +603,9 @@
|
||||
/* Minor version of the LLVM API */
|
||||
#cmakedefine LLVM_VERSION_MINOR ${LLVM_VERSION_MINOR}
|
||||
|
||||
+/* Patch version of the LLVM API */
|
||||
+#cmakedefine LLVM_VERSION_PATCH ${LLVM_VERSION_PATCH}
|
||||
+
|
||||
/* Define if the OS needs help to load dependent libraries for dlopen(). */
|
||||
#cmakedefine LTDL_DLOPEN_DEPLIBS ${LTDL_DLOPEN_DEPLIBS}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 23 17:00:40 UTC 2014 - idonmez@suse.com
|
||||
|
||||
- Add cmake-patchversion.patch to sync config.h.in
|
||||
with config.h.cmake
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 22 12:09:53 UTC 2014 - idonmez@suse.com
|
||||
|
||||
|
@ -46,6 +46,7 @@ Patch9: arm-remove-xfails.diff
|
||||
# PATCH-FIX-OPENSUSE asan-disable-hugemalloctest.patch -- Disable ASAN HugeMallocTest
|
||||
Patch10: asan-disable-hugemalloctest.patch
|
||||
Patch11: clang-resourcedirs.patch
|
||||
Patch12: cmake-patchversion.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
@ -155,6 +156,7 @@ This package contains the Python bindings to clang (C language) frontend for LLV
|
||||
%patch9
|
||||
%patch10 -p1
|
||||
%patch11 -p1
|
||||
%patch12 -p1
|
||||
|
||||
# We hardcode i586
|
||||
rm tools/clang/test/Driver/x86_features.c
|
||||
|
Loading…
Reference in New Issue
Block a user