[79891] trunk/dports/gnome/file-roller

jeremyhu at macports.org jeremyhu at macports.org
Tue Jun 28 21:35:30 PDT 2011


Revision: 79891
          http://trac.macports.org/changeset/79891
Author:   jeremyhu at macports.org
Date:     2011-06-28 21:35:30 -0700 (Tue, 28 Jun 2011)
Log Message:
-----------
file-roller: Fix a bad return statement found by clang

Modified Paths:
--------------
    trunk/dports/gnome/file-roller/Portfile

Added Paths:
-----------
    trunk/dports/gnome/file-roller/files/
    trunk/dports/gnome/file-roller/files/fixreturn.patch

Modified: trunk/dports/gnome/file-roller/Portfile
===================================================================
--- trunk/dports/gnome/file-roller/Portfile	2011-06-29 04:24:32 UTC (rev 79890)
+++ trunk/dports/gnome/file-roller/Portfile	2011-06-29 04:35:30 UTC (rev 79891)
@@ -5,7 +5,7 @@
 
 name		file-roller
 version		2.30.2
-revision        3
+revision        4
 set branch      [join [lrange [split ${version} .] 0 1] .]
 description	An archive manager for GNOME
 long_description        File Roller is an archive manager for the GNOME \
@@ -38,6 +38,8 @@
                 --disable-schemas-install \
                 --disable-scrollkeeper
 
+patchfiles fixreturn.patch
+
 post-activate {
 	system "${prefix}/bin/scrollkeeper-update"
         system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"

Added: trunk/dports/gnome/file-roller/files/fixreturn.patch
===================================================================
--- trunk/dports/gnome/file-roller/files/fixreturn.patch	                        (rev 0)
+++ trunk/dports/gnome/file-roller/files/fixreturn.patch	2011-06-29 04:35:30 UTC (rev 79891)
@@ -0,0 +1,11 @@
+--- src/eggtreemultidnd.c.orig	2011-06-28 21:28:53.000000000 -0700
++++ src/eggtreemultidnd.c	2011-06-28 21:29:17.000000000 -0700
+@@ -310,7 +310,7 @@ egg_tree_multi_drag_motion_event (GtkWid
+       selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (widget));
+       gtk_tree_selection_selected_foreach (selection, selection_foreach, &path_list);
+       if (path_list == NULL)
+-	      return;
++	      return FALSE;
+ 
+       path_list = g_list_reverse (path_list);
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110628/d2a8074f/attachment.html>


More information about the macports-changes mailing list