1 |
commit: f2d79c6e0de0558c64593e51115d99623b561ebe |
2 |
Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Jan 29 09:21:04 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 29 20:09:41 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2d79c6e |
7 |
|
8 |
sci-visualization/gle: remove unused patch |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/3709 |
11 |
|
12 |
.../gle/files/gle-4.2.4b-gcc-4.7.patch | 62 ---------------------- |
13 |
1 file changed, 62 deletions(-) |
14 |
|
15 |
diff --git a/sci-visualization/gle/files/gle-4.2.4b-gcc-4.7.patch b/sci-visualization/gle/files/gle-4.2.4b-gcc-4.7.patch |
16 |
deleted file mode 100644 |
17 |
index 1a0c3a4..00000000 |
18 |
--- a/sci-visualization/gle/files/gle-4.2.4b-gcc-4.7.patch |
19 |
+++ /dev/null |
20 |
@@ -1,62 +0,0 @@ |
21 |
- src/gle/gle-interface/gle-base.h | 4 ++-- |
22 |
- src/gle/tokens/RefCount.h | 2 +- |
23 |
- src/gle/tokens/StringKeyHash.h | 4 ++-- |
24 |
- 3 files changed, 5 insertions(+), 5 deletions(-) |
25 |
- |
26 |
-diff --git a/src/gle/gle-interface/gle-base.h b/src/gle/gle-interface/gle-base.h |
27 |
-index 26ce8f3..686c2df 100644 |
28 |
---- a/src/gle/gle-interface/gle-base.h |
29 |
-+++ b/src/gle/gle-interface/gle-base.h |
30 |
-@@ -130,7 +130,7 @@ inline GLERefCountObject* GLE_SET_RC(GLERefCountObject* rc, GLERefCountObject* v |
31 |
- |
32 |
- template <class T> class GLERCVector : public vector< GLERC<T> > { |
33 |
- public: |
34 |
-- inline void add(T* elem) { push_back(GLERC<T>(elem)); } |
35 |
-+ inline void add(T* elem) { this->push_back(GLERC<T>(elem)); } |
36 |
- inline T* get(int i) { return (*this)[i].get(); } |
37 |
- }; |
38 |
- |
39 |
-@@ -147,7 +147,7 @@ public: |
40 |
- } |
41 |
- void deleteAll() { |
42 |
- for (typename vector<T*>::size_type i = 0; i < vector<T*>::size(); i++) { |
43 |
-- T* elem = at(i); |
44 |
-+ T* elem = this->at(i); |
45 |
- if (elem != NULL) delete elem; |
46 |
- } |
47 |
- } |
48 |
-diff --git a/src/gle/tokens/RefCount.h b/src/gle/tokens/RefCount.h |
49 |
-index eef1824..d43540b 100644 |
50 |
---- a/src/gle/tokens/RefCount.h |
51 |
-+++ b/src/gle/tokens/RefCount.h |
52 |
-@@ -125,7 +125,7 @@ public: |
53 |
- template <class T> class MutableRefCountPtr : public RefCountPtr<T> { |
54 |
- public: |
55 |
- inline RefCountPtr<T>& operator =(RefCountPtr<T> src) { |
56 |
-- setPtr(src.get()); return *this; |
57 |
-+ this->setPtr(src.get()); return *this; |
58 |
- }; |
59 |
- }; |
60 |
- |
61 |
-diff --git a/src/gle/tokens/StringKeyHash.h b/src/gle/tokens/StringKeyHash.h |
62 |
-index 7db46c3..0966676 100644 |
63 |
---- a/src/gle/tokens/StringKeyHash.h |
64 |
-+++ b/src/gle/tokens/StringKeyHash.h |
65 |
-@@ -254,7 +254,7 @@ public: |
66 |
- return i->second; |
67 |
- } else { |
68 |
- ElemType nelem(key); |
69 |
-- insert(StringKeyPair<ElemType>(key, nelem)); |
70 |
-+ this->insert(StringKeyPair<ElemType>(key, nelem)); |
71 |
- return nelem; |
72 |
- } |
73 |
- } |
74 |
-@@ -309,7 +309,7 @@ public: |
75 |
- } |
76 |
- |
77 |
- void add_item(int key, ElemType elem) { |
78 |
-- insert(IntKeyPair<ElemType>(key, elem)); |
79 |
-+ this->insert(IntKeyPair<ElemType>(key, elem)); |
80 |
- } |
81 |
- }; |
82 |
- |