Magellan Linux

Annotation of /trunk/qca/patches/qca-2.0.3-gcc47.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1989 - (hide annotations) (download)
Mon Dec 10 13:12:50 2012 UTC (11 years, 6 months ago) by niro
File size: 847 byte(s)
-fixed build with gcc47
1 niro 1989 --- ./src/botantools/botan/botan/secmem.h.orig 2012-01-07 20:09:35.427999593 +0100
2     +++ ./src/botantools/botan/botan/secmem.h 2012-01-07 20:09:52.540001422 +0100
3     @@ -214,11 +214,11 @@
4    
5     SecureVector(u32bit n = 0) { MemoryRegion<T>::init(true, n); }
6     SecureVector(const T in[], u32bit n)
7     - { MemoryRegion<T>::init(true); set(in, n); }
8     + { MemoryRegion<T>::init(true); this->set(in, n); }
9     SecureVector(const MemoryRegion<T>& in)
10     - { MemoryRegion<T>::init(true); set(in); }
11     + { MemoryRegion<T>::init(true); this->set(in); }
12     SecureVector(const MemoryRegion<T>& in1, const MemoryRegion<T>& in2)
13     - { MemoryRegion<T>::init(true); set(in1); append(in2); }
14     + { MemoryRegion<T>::init(true); this->set(in1); append(in2); }
15     };
16    
17     /*************************************************