[SCM] Packaging of padre perl editor branch, master, updated. upstream/0.27.ds1-120-g796a70d

Damyan Ivanov dmn at debian.org
Fri Mar 6 22:41:25 UTC 2009


The following commit has been merged in the master branch:
commit a5e1a40eb58a826d4ca4e7b880936a5d29f0a067
Author: Damyan Ivanov <dmn at debian.org>
Date:   Fri Mar 6 22:50:03 2009 +0200

    refresh lower-wx-requirement-to-2.8.7.patch

diff --git a/debian/patches/lower-wx-requirement-to-2.8.7.patch b/debian/patches/lower-wx-requirement-to-2.8.7.patch
index 0827aa5..465f057 100644
--- a/debian/patches/lower-wx-requirement-to-2.8.7.patch
+++ b/debian/patches/lower-wx-requirement-to-2.8.7.patch
@@ -2,16 +2,27 @@
 # Debian-Specific: maybe
 # Description: Lower wxWidgets requirement from 2.8.8 to 2.8.7.
 #  Buggy or not, that is what is available in Debian.
+--- a/privinc/Module/Install/PRIVATE/Padre.pm
++++ b/privinc/Module/Install/PRIVATE/Padre.pm
+@@ -89,7 +89,7 @@ sub check_wx_version {
+ sub nono {
+ 	my $msg = shift;
+ 	print STDERR "$msg\n";
+-	exit(1);
++	exit(0);
+ }
+ 
+ sub make_exe {
 --- a/inc/Module/Install/PRIVATE/Padre.pm
 +++ b/inc/Module/Install/PRIVATE/Padre.pm
-@@ -59,8 +59,8 @@ sub check_wx_version {
- 	$widgets_human =~ s/^(\d\.\d\d\d)(\d\d\d)$/$1.$2/;
- 	$widgets_human =~ s/0//g;
- 	print "Found wxWidgets $widgets_human\n";
--	unless ( $widgets >= 2.008008 ) {
--		nono("Padre needs at least version 2.8.8 of wxWidgets. You have wxWidgets $widgets_human");
-+	unless ( $widgets >= 2.008007 ) {
-+		nono("Padre needs at least version 2.8.7 of wxWidgets. You have wxWidgets $widgets_human");
- 	}
- 
- 	return;
+@@ -63,8 +63,8 @@ sub check_wx_version {
+ 	$widgets_human =~ s/^(\d\.\d\d\d)(\d\d\d)$/$1.$2/;
+ 	$widgets_human =~ s/0//g;
+ 	print "Found wxWidgets $widgets_human\n";
+-	unless ( $widgets >= 2.008008 ) {
+-		nono("Padre needs at least version 2.8.8 of wxWidgets. You have wxWidgets $widgets_human");
++	unless ( $widgets >= 2.008007 ) {
++		nono("Padre needs at least version 2.8.7 of wxWidgets. You have wxWidgets $widgets_human");
+ 	}
+ 
+ 	# this part still needs the DISPLAY 

-- 
Packaging of padre perl editor



More information about the Pkg-perl-cvs-commits mailing list