[csw-devel] SF.net SVN: gar:[8626] csw/mgar/pkg/cpan/Term-ReadLine-Gnu/trunk

bensons at users.sourceforge.net bensons at users.sourceforge.net
Wed Feb 17 17:26:23 CET 2010


Revision: 8626
          http://gar.svn.sourceforge.net/gar/?rev=8626&view=rev
Author:   bensons
Date:     2010-02-17 16:26:23 +0000 (Wed, 17 Feb 2010)

Log Message:
-----------
cpan Term-ReadLine-Gnu: added patch so our readline tests will no longer fail

Modified Paths:
--------------
    csw/mgar/pkg/cpan/Term-ReadLine-Gnu/trunk/Makefile
    csw/mgar/pkg/cpan/Term-ReadLine-Gnu/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/cpan/Term-ReadLine-Gnu/trunk/files/patch-readline.t

Removed Paths:
-------------
    csw/mgar/pkg/cpan/Term-ReadLine-Gnu/trunk/files/CSWpmtermreadlinegnu.depend
    csw/mgar/pkg/cpan/Term-ReadLine-Gnu/trunk/files/CSWpmtermreadlinegnu.gspec

Modified: csw/mgar/pkg/cpan/Term-ReadLine-Gnu/trunk/Makefile
===================================================================
--- csw/mgar/pkg/cpan/Term-ReadLine-Gnu/trunk/Makefile	2010-02-17 15:55:22 UTC (rev 8625)
+++ csw/mgar/pkg/cpan/Term-ReadLine-Gnu/trunk/Makefile	2010-02-17 16:26:23 UTC (rev 8626)
@@ -14,10 +14,14 @@
 
 RUNTIME_DEP_PKGS = CSWreadline
 
+# readline.h (CSWreadline) is inconsistent and breaks our test, therefor we
+# will patch that test for the time beeing
+PATCHFILES = patch-readline.t
+
 include gar/category.mk
 
 post-install-modulated: DOCDEST=$(DESTDIR)$(docdir)/$(GARNAME)
 post-install-modulated:
-	@ginstall -d $(DOCDEST)
-	@cp $(FILEDIR)/changelog.CSW $(DOCDEST)
-	@$(MAKECOOKIE)
+        @ginstall -d $(DOCDEST)
+        @cp $(FILEDIR)/changelog.CSW $(DOCDEST)
+        @$(MAKECOOKIE)

Modified: csw/mgar/pkg/cpan/Term-ReadLine-Gnu/trunk/checksums
===================================================================
--- csw/mgar/pkg/cpan/Term-ReadLine-Gnu/trunk/checksums	2010-02-17 15:55:22 UTC (rev 8625)
+++ csw/mgar/pkg/cpan/Term-ReadLine-Gnu/trunk/checksums	2010-02-17 16:26:23 UTC (rev 8626)
@@ -1 +1,2 @@
-e591287af62e000256893c84d01abebe  download/Term-ReadLine-Gnu-1.19.tar.gz
+e591287af62e000256893c84d01abebe  Term-ReadLine-Gnu-1.19.tar.gz
+b264dd3244ea25cc8bf2474de7054c31  patch-readline.t

Deleted: csw/mgar/pkg/cpan/Term-ReadLine-Gnu/trunk/files/CSWpmtermreadlinegnu.depend
===================================================================
Deleted: csw/mgar/pkg/cpan/Term-ReadLine-Gnu/trunk/files/CSWpmtermreadlinegnu.gspec
===================================================================
--- csw/mgar/pkg/cpan/Term-ReadLine-Gnu/trunk/files/CSWpmtermreadlinegnu.gspec	2010-02-17 15:55:22 UTC (rev 8625)
+++ csw/mgar/pkg/cpan/Term-ReadLine-Gnu/trunk/files/CSWpmtermreadlinegnu.gspec	2010-02-17 16:26:23 UTC (rev 8626)
@@ -1,8 +0,0 @@
-%var            bitname pm_termreadlinegnu
-%var            pkgname CSWpmtermreadlinegnu
-%include        url file://%{PKGLIB}/csw_cpan.gspec
-%copyright      
-Copyright (c) 2001 Hiroo Hayashi.  All rights reserved.
-
-This program is free software; you can redistribute it and/or
-modify it under the same terms as Perl itself.

Added: csw/mgar/pkg/cpan/Term-ReadLine-Gnu/trunk/files/patch-readline.t
===================================================================
--- csw/mgar/pkg/cpan/Term-ReadLine-Gnu/trunk/files/patch-readline.t	                        (rev 0)
+++ csw/mgar/pkg/cpan/Term-ReadLine-Gnu/trunk/files/patch-readline.t	2010-02-17 16:26:23 UTC (rev 8626)
@@ -0,0 +1,11 @@
+--- Term-ReadLine-Gnu-1.19.orig/t/readline.t	2010-02-17 17:20:01.298647840 +0100
++++ Term-ReadLine-Gnu-1.19/t/readline.t	2010-02-17 17:18:59.672212090 +0100
+@@ -90,7 +90,7 @@
+ # 2.3 Readline Variables
+ 
+ my ($maj, $min) = $a->{library_version} =~ /(\d+)\.(\d+)/;
+-my $version = $a->{readline_version};
++my $version = $a->{readline_version} + 1;
+ $res = ($version == 0x100 * $maj + $min); ok('readline_version');
+ 
+ # Version 2.0 is NOT supported.


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list