[Pkg-cli-libs-commits] [SCM] ironruby branch, master, updated. debian/0.9.0+dfsg-1-33-g466e0eb
Mirco Bauer
meebey at meebey.net
Tue Aug 4 14:37:32 UTC 2009
The following commit has been merged in the master branch:
commit 466e0eb93c020ad6c095148c4dc24b25fe85bd16
Author: Mirco Bauer <meebey at meebey.net>
Date: Tue Aug 4 16:36:05 2009 +0200
Applied patch to not change the foreground color, as that gives white on white with gnome-terminal. (thanks to Seo Sanghyeon for the patch)
diff --git a/debian/patches/fix_foreground_color.patch b/debian/patches/fix_foreground_color.patch
new file mode 100644
index 0000000..1493b42
--- /dev/null
+++ b/debian/patches/fix_foreground_color.patch
@@ -0,0 +1,19 @@
+--- git.orig/Merlin/Main/Runtime/Microsoft.Scripting/Hosting/Shell/BasicConsole.cs
++++ git/Merlin/Main/Runtime/Microsoft.Scripting/Hosting/Shell/BasicConsole.cs
+@@ -105,16 +105,8 @@
+ }
+
+ protected void WriteColor(TextWriter output, string str, ConsoleColor c) {
+-#if !SILVERLIGHT // Console.ForegroundColor
+- ConsoleColor origColor = Console.ForegroundColor;
+- Console.ForegroundColor = c;
+-#endif
+ output.Write(str);
+ output.Flush();
+-
+-#if !SILVERLIGHT // Console.ForegroundColor
+- Console.ForegroundColor = origColor;
+-#endif
+ }
+
+ #region IConsole Members
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b7f43ed
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix_foreground_color.patch
--
ironruby
More information about the Pkg-cli-libs-commits
mailing list