[DRE-commits] r2005 - in packages/libcommandline-ruby/trunk/debian: . patches

zoso at alioth.debian.org zoso at alioth.debian.org
Thu Oct 25 22:28:53 UTC 2007


Author: zoso
Date: 2007-10-25 22:28:53 +0000 (Thu, 25 Oct 2007)
New Revision: 2005

Added:
   packages/libcommandline-ruby/trunk/debian/patches/
   packages/libcommandline-ruby/trunk/debian/patches/001-fix_columns_env_variable.patch
Modified:
   packages/libcommandline-ruby/trunk/debian/changelog
   packages/libcommandline-ruby/trunk/debian/rules
Log:
* Add simple patch to fix #447789


Modified: packages/libcommandline-ruby/trunk/debian/changelog
===================================================================
--- packages/libcommandline-ruby/trunk/debian/changelog	2007-10-24 19:17:32 UTC (rev 2004)
+++ packages/libcommandline-ruby/trunk/debian/changelog	2007-10-25 22:28:53 UTC (rev 2005)
@@ -1,8 +1,10 @@
 libcommandline-ruby (0.7.10-8) UNRELEASED; urgency=low
 
-  * NOT RELEASED YET
+  [ Esteban Manchado Velázquez ]
+  * Patched to avoid a problem with the COLUMNS environment variable
+    (Closes: #447789)
 
- -- Paul van Tilburg <paulvt at debian.org>  Tue, 19 Jun 2007 11:10:27 +0100
+ -- Esteban Manchado Velázquez <zoso at debian.org>  Fri, 26 Oct 2007 00:28:09 +0200
 
 libcommandline-ruby (0.7.10-7) unstable; urgency=low
 

Added: packages/libcommandline-ruby/trunk/debian/patches/001-fix_columns_env_variable.patch
===================================================================
--- packages/libcommandline-ruby/trunk/debian/patches/001-fix_columns_env_variable.patch	                        (rev 0)
+++ packages/libcommandline-ruby/trunk/debian/patches/001-fix_columns_env_variable.patch	2007-10-25 22:28:53 UTC (rev 2005)
@@ -0,0 +1,11 @@
+--- lib/commandline/application.rb.orig	2007-10-26 00:20:34.000000000 +0200
++++ lib/commandline/application.rb	2007-10-26 00:10:51.000000000 +0200
+@@ -335,7 +335,7 @@
+     #
+     # Formatting defaults
+     #
+-    console_width = ENV["COLUMNS"]
++    console_width = ENV["COLUMNS"].to_i
+     @columns = 
+       if console_width.nil?
+         DEFAULT_CONSOLE_WIDTH

Modified: packages/libcommandline-ruby/trunk/debian/rules
===================================================================
--- packages/libcommandline-ruby/trunk/debian/rules	2007-10-24 19:17:32 UTC (rev 2004)
+++ packages/libcommandline-ruby/trunk/debian/rules	2007-10-25 22:28:53 UTC (rev 2005)
@@ -1,5 +1,6 @@
 #!/usr/bin/make -f
 
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/ruby-pkg-tools/1/class/ruby-setup-rb.mk
 




More information about the Pkg-ruby-extras-commits mailing list