File 0002-Provide-overload-methods-to-XSpp-in-sorted-order.patch of Package perl-Wx

From 5b46e838686eaf039942892dbe471c48e8818bc1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
Date: Mon, 27 Feb 2017 20:47:08 +0100
Subject: [PATCH 2/2] Provide overload methods to XSpp in sorted order
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Stefan BrĂ¼ns <stefan.bruens@rwth-aachen.de>
---
 build/Wx/XSP/Overload.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build/Wx/XSP/Overload.pm b/build/Wx/XSP/Overload.pm
index 34f89e9..40e1c77 100644
--- a/build/Wx/XSP/Overload.pm
+++ b/build/Wx/XSP/Overload.pm
@@ -85,7 +85,7 @@ sub post_process {
             $node->add_methods( ExtUtils::XSpp::Node::Raw->new( rows => [ '#include "cpp/overload.h"' ] ) );
         }
 
-        foreach my $method_name ( @ovl_methods ) {
+        foreach my $method_name ( sort @ovl_methods ) {
             _add_overload( $self, $node, $all_methods{$method_name} );
         }
     }
-- 
2.11.1