[56788] trunk/dports/x11/gtk2

nox at macports.org nox at macports.org
Wed Sep 2 00:23:04 PDT 2009


Revision: 56788
          http://trac.macports.org/changeset/56788
Author:   nox at macports.org
Date:     2009-09-02 00:22:59 -0700 (Wed, 02 Sep 2009)
Log Message:
-----------
gtk2: Do not use reversed in gtk-builder-convert (closes #20990).

Modified Paths:
--------------
    trunk/dports/x11/gtk2/Portfile
    trunk/dports/x11/gtk2/files/patch-gtk-builder-convert.diff

Modified: trunk/dports/x11/gtk2/Portfile
===================================================================
--- trunk/dports/x11/gtk2/Portfile	2009-09-02 07:03:51 UTC (rev 56787)
+++ trunk/dports/x11/gtk2/Portfile	2009-09-02 07:22:59 UTC (rev 56788)
@@ -7,6 +7,7 @@
 name            gtk2
 version         2.16.6
 set branch      [join [lrange [split ${version} .] 0 1] .]
+revision        1
 categories      x11
 maintainers     nox openmaintainer
 platforms       darwin

Modified: trunk/dports/x11/gtk2/files/patch-gtk-builder-convert.diff
===================================================================
--- trunk/dports/x11/gtk2/files/patch-gtk-builder-convert.diff	2009-09-02 07:03:51 UTC (rev 56787)
+++ trunk/dports/x11/gtk2/files/patch-gtk-builder-convert.diff	2009-09-02 07:22:59 UTC (rev 56788)
@@ -19,7 +19,7 @@
 +                return lst[::-1]
 +            return lst
 +        if reverse:
-+            lst = reversed(lst)
++            lst = lst[::-1]
 +        return [i[-1] for i in lst]
 +
  def get_child_nodes(node):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090902/aae3ed63/attachment-0001.html>


More information about the macports-changes mailing list