Package: vdr-plugin-live / 0.3.0+git20160123-1

gcc6-fixes.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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>