[vdr-plugin-live] 05/06: Added fixes for GCC6 (Closes: #811803)

Tobias Grimm tiber-guest at moszumanska.debian.org
Sun Jan 24 19:10:44 UTC 2016


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

tiber-guest pushed a commit to branch master
in repository vdr-plugin-live.

commit 419cddc3873e2f123711abfc0253ad97fdf0a10d
Author: Tobias Grimm <etobi at debian.org>
Date:   Sun Jan 24 19:48:10 2016 +0100

    Added fixes for GCC6 (Closes: #811803)
---
 debian/patches/gcc6-fixes.patch | 42 +++++++++++++++++++++++++++++++++++++++++
 debian/patches/series           |  1 +
 2 files changed, 43 insertions(+)

diff --git a/debian/patches/gcc6-fixes.patch b/debian/patches/gcc6-fixes.patch
new file mode 100644
index 0000000..4291386
--- /dev/null
+++ b/debian/patches/gcc6-fixes.patch
@@ -0,0 +1,42 @@
+--- a/stdext.h
++++ b/stdext.h
+@@ -3,9 +3,39 @@
+ 
+ #if __GNUC__ >= 4
+ 
++#if __GNUC__ >= 6
++
++#include <memory>
++#include <functional>
++
++namespace std {
++namespace tr1 {
++
++	using std::bind;
++	using std::shared_ptr;
++	using std::weak_ptr;
++
++	namespace placeholders {
++		using std::placeholders::_1;
++		using std::placeholders::_2;
++		using std::placeholders::_3;
++		using std::placeholders::_4;
++		using std::placeholders::_5;
++		using std::placeholders::_6;
++		using std::placeholders::_7;
++		using std::placeholders::_8;
++		using std::placeholders::_9;
++	}
++} // namespace tr1
++} // namespace std
++
++#else
++
+ #	include <tr1/functional>
+ #	include <tr1/memory>
+ 
++# endif
++
+ #else
+ 
+ #	include <boost/version.hpp>
diff --git a/debian/patches/series b/debian/patches/series
index b1213b2..7f01b20 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 Makefile-fix.patch
+gcc6-fixes.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-vdr-dvb/vdr-plugin-live.git



More information about the pkg-vdr-dvb-changes mailing list