diff options
author | Michael Krelin <hacker@klever.net> | 2007-05-30 10:01:45 +0000 |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-05-30 10:01:45 +0000 |
commit | c4d2a1e3fc39b16f04c2703889c3be672720578e (patch) | |
tree | 2180beff31241728683e403495fb33f4b1e88349 | |
parent | 15fcad01c1b74e413dd6633ac6d2365726e12701 (diff) |
opie-reader: fix copying of unicode text blocks, since upstream isn't likely to incorporate this one-liner patch anytime soon.
-rw-r--r-- | packages/opie-reader/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/opie-reader/files/opie-reader-unicode-copy.patch | 11 | ||||
-rw-r--r-- | packages/opie-reader/opie-reader_cvs.bb | 4 |
3 files changed, 14 insertions, 1 deletions
diff --git a/packages/opie-reader/files/.mtn2git_empty b/packages/opie-reader/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/opie-reader/files/.mtn2git_empty diff --git a/packages/opie-reader/files/opie-reader-unicode-copy.patch b/packages/opie-reader/files/opie-reader-unicode-copy.patch new file mode 100644 index 0000000000..d7d1ae24bd --- /dev/null +++ b/packages/opie-reader/files/opie-reader-unicode-copy.patch @@ -0,0 +1,11 @@ +--- opie-reader/QTReaderApp.cpp.orig 2005-05-18 00:48:25.000000000 +0200 ++++ opie-reader/QTReaderApp.cpp 2006-04-08 15:55:43.000000000 +0200 +@@ -2558,7 +2558,7 @@ + reader->jumpto(m_savedpos); + while (reader->explocate() < endpos && (ch = reader->getch()) != UEOF) + { +- text += ch; ++ text += QChar(ch); + } + cb->setText(text); + reader->locate(currentpos); diff --git a/packages/opie-reader/opie-reader_cvs.bb b/packages/opie-reader/opie-reader_cvs.bb index 2f844d8dfd..82b3547ae1 100644 --- a/packages/opie-reader/opie-reader_cvs.bb +++ b/packages/opie-reader/opie-reader_cvs.bb @@ -1,8 +1,10 @@ require ${PN}.inc PV = "${OPIE_CVS_PV}" +PR = r1 SRC_URI = "${HANDHELDS_CVS};module=opie/noncore/apps/opie-reader \ ${HANDHELDS_CVS};module=opie/pics \ - ${HANDHELDS_CVS};module=opie/apps" + ${HANDHELDS_CVS};module=opie/apps \ + file://opie-reader-unicode-copy.patch;patch=1" |