summaryrefslogtreecommitdiff
path: root/community/gnome-commander/gnome-commander-1.2.8.15-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/gnome-commander/gnome-commander-1.2.8.15-build.patch')
-rw-r--r--community/gnome-commander/gnome-commander-1.2.8.15-build.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/community/gnome-commander/gnome-commander-1.2.8.15-build.patch b/community/gnome-commander/gnome-commander-1.2.8.15-build.patch
new file mode 100644
index 000000000..f78eea9d3
--- /dev/null
+++ b/community/gnome-commander/gnome-commander-1.2.8.15-build.patch
@@ -0,0 +1,25 @@
+--- gnome-commander-1.2.8.15.orig/src/gnome-cmd-pixmap.h 2011-12-06 14:10:28.000000000 -0500
++++ gnome-commander-1.2.8.15/src/gnome-cmd-pixmap.h 2012-11-29 15:57:52.389904563 -0500
+@@ -44,7 +44,7 @@
+ g_return_if_fail (pixmap->pixmap != NULL);
+ g_return_if_fail (pixmap->mask != NULL);
+
+- gdk_pixbuf_unref (pixmap->pixbuf);
++ g_object_unref (pixmap->pixbuf);
+ gdk_pixmap_unref (pixmap->pixmap);
+ gdk_bitmap_unref (pixmap->mask);
+
+
+--- gnome-commander-1.2.8.15.orig/src/dict.h 2011-11-07 18:26:25.000000000 -0500
++++ gnome-commander-1.2.8.15/src/dict.h 2012-11-29 16:22:17.341129719 -0500
+@@ -55,8 +55,8 @@
+ template <typename KEY, typename VAL>
+ inline void DICT<KEY,VAL>::add(const KEY k, const VAL &v)
+ {
+- std::pair<typename KEY_COLL::iterator,bool> k_pos = k_coll.insert(make_pair(k,(const VAL *) NULL));
+- std::pair<typename VAL_COLL::iterator,bool> v_pos = v_coll.insert(make_pair(v,(const KEY *) NULL));
++ std::pair<typename KEY_COLL::iterator,bool> k_pos = k_coll.insert(std::make_pair(k,(const VAL *) NULL));
++ std::pair<typename VAL_COLL::iterator,bool> v_pos = v_coll.insert(std::make_pair(v,(const KEY *) NULL));
+
+ if (k_pos.second)
+ k_pos.first->second = &v_pos.first->first;