summaryrefslogtreecommitdiff
path: root/devel/anjuta-devel/files/patch-scintilla_PlatGTK.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'devel/anjuta-devel/files/patch-scintilla_PlatGTK.cxx')
-rw-r--r--devel/anjuta-devel/files/patch-scintilla_PlatGTK.cxx20
1 files changed, 0 insertions, 20 deletions
diff --git a/devel/anjuta-devel/files/patch-scintilla_PlatGTK.cxx b/devel/anjuta-devel/files/patch-scintilla_PlatGTK.cxx
deleted file mode 100644
index 5621f808d287..000000000000
--- a/devel/anjuta-devel/files/patch-scintilla_PlatGTK.cxx
+++ /dev/null
@@ -1,20 +0,0 @@
---- scintilla/PlatGTK.cxx.orig Mon Sep 29 19:29:19 2003
-+++ scintilla/PlatGTK.cxx Sat Nov 8 05:00:37 2003
-@@ -1034,7 +1034,7 @@
- static char *UTF8FromIconv(iconv_t iconvh, const char *s, int len) {
- if (iconvh != ((iconv_t)(-1))) {
- char *utfForm = new char[len*3+1];
-- char *pin = const_cast<char *>(s);
-+ const char *pin = s;
- size_t inLeft = len;
- char *pout = utfForm;
- size_t outLeft = len*3+1;
-@@ -1051,7 +1051,7 @@
- static size_t MultiByteLenFromIconv(iconv_t iconvh, const char *s, size_t len) {
- for (size_t lenMB=1; (lenMB<4) && (lenMB <= len); lenMB++) {
- char wcForm[2];
-- char *pin = const_cast<char *>(s);
-+ const char *pin = s;
- size_t inLeft = lenMB;
- char *pout = wcForm;
- size_t outLeft = 2;