[pocl] 01/10: work around using clang-3.8 with libstdc++-7-dev

Andreas Beckmann anbe at moszumanska.debian.org
Mon Aug 7 04:20:12 UTC 2017


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

anbe pushed a commit to branch master
in repository pocl.

commit 17a7d3eef6057be73c997c46b09846fd4db63d4e
Author: Andreas Beckmann <anbe at debian.org>
Date:   Sun Aug 6 23:02:37 2017 +0200

    work around using clang-3.8 with libstdc++-7-dev
---
 debian/changelog                     |  6 ++++++
 debian/patches/libstdc++-7-dev.patch | 16 ++++++++++++++++
 debian/patches/series                |  1 +
 3 files changed, 23 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 251f085..c17b92a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+pocl (0.13-9) UNRELEASED; urgency=medium
+
+  * Work around using clang-3.8 with libstdc++-7-dev.  (Closes: #853620)
+
+ -- Andreas Beckmann <anbe at debian.org>  Sun, 06 Aug 2017 22:58:18 +0200
+
 pocl (0.13-8) unstable; urgency=medium
 
   * Enable more hardening.
diff --git a/debian/patches/libstdc++-7-dev.patch b/debian/patches/libstdc++-7-dev.patch
new file mode 100644
index 0000000..66a77c6
--- /dev/null
+++ b/debian/patches/libstdc++-7-dev.patch
@@ -0,0 +1,16 @@
+Author: Andreas Beckmann <anbe at debian.org>
+Description: work around FTBFS with g++-7 as default g++
+
+--- a/lib/kernel/vecmathlib/floattypes.h
++++ b/lib/kernel/vecmathlib/floattypes.h
+@@ -3,6 +3,10 @@
+ #ifndef FLOATTYPES_H
+ #define FLOATTYPES_H
+ 
++// HACK for using clang-3.8 with libstdc++-7-dev
++#include <bits/c++config.h>
++#undef _GLIBCXX_USE_FLOAT128
++
+ #include <cassert>
+ #include <cstdlib>
+ 
diff --git a/debian/patches/series b/debian/patches/series
index f737c5c..bbab446 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@ typos.patch
 fix-tests-i386.patch
 find-sys-cdefs-h.patch
 glibc-2.23.patch
+libstdc++-7-dev.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/pocl.git



More information about the Pkg-opencl-commits mailing list