summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-puzzle/brainparty/files/brainparty-0.61-gcc49.patch')
-rw-r--r--games-puzzle/brainparty/files/brainparty-0.61-gcc49.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/games-puzzle/brainparty/files/brainparty-0.61-gcc49.patch b/games-puzzle/brainparty/files/brainparty-0.61-gcc49.patch
new file mode 100644
index 000000000000..7147cd460be6
--- /dev/null
+++ b/games-puzzle/brainparty/files/brainparty-0.61-gcc49.patch
@@ -0,0 +1,20 @@
+--- a/BPList.h
++++ a/BPList.h
+@@ -138,7 +138,7 @@
+ ~BPPList();
+ void Add(T item);
+ bool Contains(T item);
+- void Clear(bool safe_delete);
++ void Clear(bool safe_delete = true);
+ int IndexOf(T item);
+ void Insert(int pos, T item);
+ void Remove(T item);
+@@ -171,7 +171,7 @@
+ }
+
+ template <class T>
+-void BPPList<T>::Clear(bool safe_delete = true) {
++void BPPList<T>::Clear(bool safe_delete) {
+ if (safe_delete) {
+ for (int i = data.size() - 1; i >= 0; --i) {
+ T item = data[i];