[med-svn] [castxml] 01/04: s/p/clang-3.8: hack around problem of pre-release of clang on armel

Gert Wollny gert-guest at moszumanska.debian.org
Tue Aug 23 15:19:10 UTC 2016


This is an automated email from the git hooks/post-receive script.

gert-guest pushed a commit to branch master
in repository castxml.

commit 4757f43fca97761c99049ed3e35fd768668bd2a1
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Tue Aug 23 15:04:35 2016 +0000

    s/p/clang-3.8: hack around problem of pre-release of clang on armel
---
 .../clang-3.8-inject-make_integer_seq-on-prerelease.patch    | 12 ++++++++++++
 debian/patches/series                                        |  1 +
 2 files changed, 13 insertions(+)

diff --git a/debian/patches/clang-3.8-inject-make_integer_seq-on-prerelease.patch b/debian/patches/clang-3.8-inject-make_integer_seq-on-prerelease.patch
new file mode 100644
index 0000000..851ea16
--- /dev/null
+++ b/debian/patches/clang-3.8-inject-make_integer_seq-on-prerelease.patch
@@ -0,0 +1,12 @@
+--- a/src/RunClang.cxx
++++ b/src/RunClang.cxx
+@@ -240,7 +240,8 @@
+       }
+ 
+ #if LLVM_VERSION_MAJOR < 3 \
+- || LLVM_VERSION_MAJOR == 3 && LLVM_VERSION_MINOR < 8
++ || LLVM_VERSION_MAJOR == 3 && LLVM_VERSION_MINOR < 8 \
++ || LLVM_VERSION_MAJOR == 3 && LLVM_VERSION_MINOR == 8 && LLVM_VERSION_PATCH < 1
+       // Clang 3.8 and above provide a __make_integer_seq builtin needed
+       // in C++14 mode.  Provide it ourselves for older Clang versions.
+       if (CI.getLangOpts().CPlusPlus14) {
diff --git a/debian/patches/series b/debian/patches/series
index 3ffb461..13cbef2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+clang-3.8-inject-make_integer_seq-on-prerelease.patch
 0001-fix-version-test-to-allow-text-before-clang.patch
 0002-dont-install-license-file.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/castxml.git



More information about the debian-med-commit mailing list