diff options
Diffstat (limited to 'dev-cpp/eigen/files')
-rw-r--r-- | dev-cpp/eigen/files/eigen-2.0.4-gcc-4-1.patch | 33 | ||||
-rw-r--r-- | dev-cpp/eigen/files/eigen-2.0.4-qt-test.patch | 25 |
2 files changed, 0 insertions, 58 deletions
diff --git a/dev-cpp/eigen/files/eigen-2.0.4-gcc-4-1.patch b/dev-cpp/eigen/files/eigen-2.0.4-gcc-4-1.patch deleted file mode 100644 index f19aa1c22b3e..000000000000 --- a/dev-cpp/eigen/files/eigen-2.0.4-gcc-4-1.patch +++ /dev/null @@ -1,33 +0,0 @@ -diff -r 4caa5b8cc482 Eigen/StdVector ---- a/Eigen/StdVector Thu Aug 20 12:27:01 2009 -0400 -+++ b/Eigen/StdVector Fri Aug 21 11:35:55 2009 -0400 -@@ -112,10 +112,8 @@ - else if (__new_size < vector_base::size()) - vector_base::erase(vector_base::begin() + __new_size, vector_base::end()); - } -- #elif defined(_GLIBCXX_VECTOR) && EIGEN_GNUC_AT_LEAST(4,1) -+ #elif defined(_GLIBCXX_VECTOR) && EIGEN_GNUC_AT_LEAST(4,2) - // workaround GCC std::vector implementation -- // Note that before gcc-4.1 we already have: std::vector::resize(size_type,const T&), -- // no no need to workaround ! - void resize(size_type __new_size, const value_type& __x) - { - if (__new_size < vector_base::size()) -@@ -123,7 +121,17 @@ - else - vector_base::insert(vector_base::end(), __new_size - vector_base::size(), __x); - } -+ #elif defined(_GLIBCXX_VECTOR) && EIGEN_GNUC_AT_LEAST(4,1) -+ void resize(size_type __new_size, const value_type& __x) -+ { -+ if (__new_size < vector_base::size()) -+ erase(vector_base::begin() + __new_size, vector_base::end()); -+ else -+ insert(vector_base::end(), __new_size - vector_base::size(), __x); -+ } - #else -+ // Before gcc-4.1 we already have: std::vector::resize(size_type,const T&), -+ // so no need for a workaround ! - using vector_base::resize; - #endif - }; diff --git a/dev-cpp/eigen/files/eigen-2.0.4-qt-test.patch b/dev-cpp/eigen/files/eigen-2.0.4-qt-test.patch deleted file mode 100644 index f54a38e7d74c..000000000000 --- a/dev-cpp/eigen/files/eigen-2.0.4-qt-test.patch +++ /dev/null @@ -1,25 +0,0 @@ -# HG changeset patch -- Bitbucket.org -# Project eigen2 -# URL http://bitbucket.org/cryos/eigen2/overview/ -# User Marcus D. Hanwell <marcus@cryos.org> -# Date 1249148586 14400 -# Node ID 3c11267138fe98757d27308d2133d0182da740f3 -# Parent 3b8120f077865e2a072e10f5be33e1d942b83a06 -Improved quoting of tests when added to the build. - -This fixes an issue where multiple versions of the Qt libraries are -available, if the Qt library variable is not quoted an error was -generated as only the first part 'optimized' was used by the create test -macro. - ---- a/test/CMakeLists.txt -+++ b/test/CMakeLists.txt -@@ -212,7 +212,7 @@ ei_add_test(alignedbox) - ei_add_test(regression) - ei_add_test(stdvector) - if(QT4_FOUND) -- ei_add_test(qtvector " " ${QT_QTCORE_LIBRARY}) -+ ei_add_test(qtvector " " "${QT_QTCORE_LIBRARY}") - endif(QT4_FOUND) - ei_add_test(sparse_vector) - ei_add_test(sparse_basic) |