Package: lcdproc
Version: 0.5.2-3
Severity: normal
Tags: patch

Ubuntu has applied a patch from upstream CVS to fix a regression in the MtxOrb 
driver.  The bug causes the wrong characters to be displayed.  See bug: 
https://bugs.launchpad.net/ubuntu/+source/lcdproc/+bug/187605
I'm attaching that patch.

-- System Information:
Debian Release: squeeze/sid
  APT prefers karmic-updates
  APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 'karmic')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-7-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
#! /bin/sh /usr/share/dpatch/dpatch-run
## 02_mtxorb_vfd_regression.dpatch by Mario Limonciello <supe...@ubuntu.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Patch from CVS revno 1.100->1.101 to fix MtxOrb VFD

@DPATCH@
diff -urNad lcdproc-0.5.2~/server/drivers/MtxOrb.c lcdproc-0.5.2/server/drivers/MtxOrb.c
--- lcdproc-0.5.2~/server/drivers/MtxOrb.c	2007-04-14 09:38:15.000000000 -0500
+++ lcdproc-0.5.2/server/drivers/MtxOrb.c	2008-03-09 14:35:20.000000000 -0500
@@ -750,7 +750,7 @@
 			     : p->offbrightness;
 
 	if (IS_VKD_DISPLAY) {
-		unsigned char out[5] = { '\xFE', '\x89', 0 };
+		unsigned char out[5] = { '\xFE', 'Y', 0 };
 
 		/* map range [0, 1000] -> [0, 3] that the hardware understands */
 		out[2] = (unsigned char) ((long) promille * 3 / 1000);

Reply via email to