Package: cssed
Version: 0.4.0-2
Severity: important
Tags: patch
Justification: fails to build from source
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu karmic ubuntu-patch
In Ubuntu, we've applied the attached patch to achieve the following:
* Fix FTBFS due to invalid const char * conversion (LP: #428852).
We thought you might be interested in doing the same.
Please note that it's already fixed in upstream CVS.
-- System Information:
Debian Release: 5.0
APT prefers jaunty-updates
APT policy: (500, 'jaunty-updates'), (500, 'jaunty-security'), (500,
'jaunty-proposed'), (500, 'jaunty-backports'), (500, 'jaunty')
Architecture: i386 (i686)
Kernel: Linux 2.6.28-15-generic (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- cssed-0.4.0.orig/scintilla/src/LexCaml.cxx
+++ cssed-0.4.0/scintilla/src/LexCaml.cxx
@@ -273,7 +273,7 @@
case SCE_CAML_OPERATOR: {
// [try to] interpret as [additional] operator char
- char* o = 0;
+ const char* o = 0;
if (iscaml(ch) || isspace(ch) /* ident or whitespace */
|| ((o = strchr(")]};,\'\"`#", ch)) != 0)/* "termination" chars */
|| !strchr("!$%&*+-./:<=>?...@^|~", ch)/* "operator" chars */) {