summaryrefslogtreecommitdiffstats
path: root/system/gnome-commander/gcc47.patch
diff options
context:
space:
mode:
author Matteo Bernardini2012-09-28 21:05:36 +0200
committer Robby Workman2012-09-29 04:26:58 +0200
commit7c9af8a39a75cc6bf516ef0e08767cd958afacdc (patch)
tree6b1acfd05c169fb55015fb504e6ef0787b79f7bd /system/gnome-commander/gcc47.patch
parent2fadf73222ca4c5df26f425bae6ebe203a4cfc69 (diff)
downloadslackbuilds-7c9af8a39a75cc6bf516ef0e08767cd958afacdc.tar.gz
system/gnome-commander: Updated for version 20120801_2f83e80.
Added a patch for the new poppler, and another for gcc-4.7.x Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/gnome-commander/gcc47.patch')
-rw-r--r--system/gnome-commander/gcc47.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/system/gnome-commander/gcc47.patch b/system/gnome-commander/gcc47.patch
new file mode 100644
index 0000000000..5960379c72
--- /dev/null
+++ b/system/gnome-commander/gcc47.patch
@@ -0,0 +1,16 @@
+diff -Naur gnome-commander-20120801_2f83e80.orig/src/gnome-cmd-collection.h gnome-commander-20120801_2f83e80/src/gnome-cmd-collection.h
+--- gnome-commander-20120801_2f83e80.orig/src/gnome-cmd-collection.h 2012-08-01 21:05:40.000000000 +0200
++++ gnome-commander-20120801_2f83e80/src/gnome-cmd-collection.h 2012-09-28 20:41:46.264480154 +0200
+@@ -35,9 +35,9 @@
+ template <typename T>
+ struct Collection<T *>: std::set<T *>
+ {
+- void add(T *t) { insert(t); }
+- void remove(T *t) { erase(t); }
+- bool contain(T *t) const { return find(t)!=Collection::end(); }
++ void add(T *t) { this->insert(t); }
++ void remove(T *t) { this->erase(t); }
++ bool contain(T *t) const { return this->find(t)!=Collection::end(); }
+
+ GList *get_list();
+ };