~ubuntu-branches/ubuntu/oneiric/enigmail/oneiric-updates

« back to all changes in this revision

Viewing changes to build/unix/build-toolchain/r159628-r163231-r171807.patch

  • Committer: Package Import Robot
  • Author(s): Chris Coulson
  • Date: 2012-04-30 01:08:44 UTC
  • mfrom: (0.12.10)
  • Revision ID: package-import@ubuntu.com-20120430010844-i4a0z0d73kgrah49
Tags: 2:1.4.1-0ubuntu0.11.10.2
* New upstream release v1.4.1
  - LP: #987305
  - Fix LP: #968122 - localization messed up

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
diff -ru gcc-4.5.2/libstdc++-v3/include/bits/stl_pair.h gcc-4.5.2-new/libstdc++-v3/include/bits/stl_pair.h
 
2
--- gcc-4.5.2/libstdc++-v3/include/bits/stl_pair.h      2010-06-10 06:26:14.000000000 -0400
 
3
+++ gcc-4.5.2-new/libstdc++-v3/include/bits/stl_pair.h  2011-11-29 10:25:51.203597393 -0500
 
4
@@ -88,6 +88,8 @@
 
5
       : first(__a), second(__b) { }
 
6
 
 
7
 #ifdef __GXX_EXPERIMENTAL_CXX0X__
 
8
+      pair(const pair&) = default;
 
9
+
 
10
       // DR 811.
 
11
       template<class _U1, class = typename
 
12
               std::enable_if<std::is_convertible<_U1, _T1>::value>::type>
 
13
@@ -131,6 +133,15 @@
 
14
 
 
15
       template<class _U1, class _U2>
 
16
         pair&
 
17
+        operator=(const pair<_U1, _U2>& __p)
 
18
+       {
 
19
+         first = __p.first;
 
20
+         second = __p.second;
 
21
+         return *this;
 
22
+       }
 
23
+
 
24
+      template<class _U1, class _U2>
 
25
+        pair&
 
26
         operator=(pair<_U1, _U2>&& __p)
 
27
        {
 
28
          first = std::move(__p.first);
 
29
diff -ru gcc-4.5.2/libstdc++-v3/include/bits/stl_queue.h gcc-4.5.2-new/libstdc++-v3/include/bits/stl_queue.h
 
30
--- gcc-4.5.2/libstdc++-v3/include/bits/stl_queue.h     2010-02-04 13:20:34.000000000 -0500
 
31
+++ gcc-4.5.2-new/libstdc++-v3/include/bits/stl_queue.h 2011-11-29 10:26:22.511695475 -0500
 
32
@@ -1,6 +1,6 @@
 
33
 // Queue implementation -*- C++ -*-
 
34
 
 
35
-// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
 
36
+// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
 
37
 // Free Software Foundation, Inc.
 
38
 //
 
39
 // This file is part of the GNU ISO C++ Library.  This library is free
 
40
@@ -137,16 +137,6 @@
 
41
       explicit
 
42
       queue(_Sequence&& __c = _Sequence())
 
43
       : c(std::move(__c)) { }
 
44
-
 
45
-      queue(queue&& __q)
 
46
-      : c(std::move(__q.c)) { }
 
47
-
 
48
-      queue&
 
49
-      operator=(queue&& __q)
 
50
-      {
 
51
-       c = std::move(__q.c);
 
52
-       return *this;
 
53
-      }
 
54
 #endif
 
55
 
 
56
       /**
 
57
@@ -451,17 +441,6 @@
 
58
          c.insert(c.end(), __first, __last);
 
59
          std::make_heap(c.begin(), c.end(), comp);
 
60
        }
 
61
-
 
62
-      priority_queue(priority_queue&& __pq)
 
63
-      : c(std::move(__pq.c)), comp(std::move(__pq.comp)) { }
 
64
-
 
65
-      priority_queue&
 
66
-      operator=(priority_queue&& __pq)
 
67
-      {
 
68
-       c = std::move(__pq.c);
 
69
-       comp = std::move(__pq.comp);
 
70
-       return *this;
 
71
-      }
 
72
 #endif
 
73
 
 
74
       /**
 
75
diff -ru gcc-4.5.2/libstdc++-v3/libsupc++/exception_ptr.h gcc-4.5.2-new/libstdc++-v3/libsupc++/exception_ptr.h
 
76
--- gcc-4.5.2/libstdc++-v3/libsupc++/exception_ptr.h    2009-11-09 17:09:30.000000000 -0500
 
77
+++ gcc-4.5.2-new/libstdc++-v3/libsupc++/exception_ptr.h        2011-11-29 10:26:10.878659023 -0500
 
78
@@ -129,7 +129,7 @@
 
79
       operator==(const exception_ptr&, const exception_ptr&) throw() 
 
80
       __attribute__ ((__pure__));
 
81
 
 
82
-      const type_info*
 
83
+      const class type_info*
 
84
       __cxa_exception_type() const throw() __attribute__ ((__pure__));
 
85
     };
 
86
 
 
87
diff -ru gcc-4.5.2/libstdc++-v3/libsupc++/nested_exception.h gcc-4.5.2-new/libstdc++-v3/libsupc++/nested_exception.h
 
88
--- gcc-4.5.2/libstdc++-v3/libsupc++/nested_exception.h 2010-02-18 12:20:16.000000000 -0500
 
89
+++ gcc-4.5.2-new/libstdc++-v3/libsupc++/nested_exception.h     2011-11-29 10:26:10.879659026 -0500
 
90
@@ -119,7 +119,7 @@
 
91
   // with a type that has an accessible nested_exception base.
 
92
   template<typename _Ex>
 
93
     inline void
 
94
-    __throw_with_nested(_Ex&& __ex, const nested_exception* = 0)
 
95
+    __throw_with_nested(_Ex&& __ex, const nested_exception*)
 
96
     { throw __ex; }
 
97
 
 
98
   template<typename _Ex>