-rw-r--r-- | ReadMe_cv.txt | 26 | ||||
-rw-r--r-- | kmicromail/libetpan/tools/charconv.c | 2 | ||||
-rw-r--r-- | oz-character-conversion.control | 8 | ||||
-rw-r--r-- | sr-character-conversion.control | 8 |
4 files changed, 43 insertions, 1 deletions
diff --git a/ReadMe_cv.txt b/ReadMe_cv.txt new file mode 100644 index 0000000..aa94af0 --- a/dev/null +++ b/ReadMe_cv.txt | |||
@@ -0,0 +1,26 @@ | |||
1 | This package includes the character conversion tables of the gnu C++ compiler environment. | ||
2 | The sources can be found in every source distribution of the gnu C++ compiler. | ||
3 | This package is needed by the mail program OM/Pi. | ||
4 | |||
5 | How to install: | ||
6 | |||
7 | The size of the installed data is about 4 MB. | ||
8 | |||
9 | Install the ipk on SD card or in internal memory. | ||
10 | We assume, that all is installed on SD. | ||
11 | You will have now a dir | ||
12 | /mnt/card/QtPalmtop/lib/gconv | ||
13 | |||
14 | |||
15 | to finish installation, we have to create a symlink from | ||
16 | /usr/lib/gconv to the new gconv dir. | ||
17 | To create a symlink do the following: | ||
18 | |||
19 | Open console and type in console: | ||
20 | |||
21 | cd /usr/lib | ||
22 | su | ||
23 | ln -s /mnt/card/QtPalmtop/lib/gconv | ||
24 | |||
25 | Threre is no need to uninstall or reinstall this package, if you update OM/Pi. | ||
26 | |||
diff --git a/kmicromail/libetpan/tools/charconv.c b/kmicromail/libetpan/tools/charconv.c index bf3de51..f7a3c89 100644 --- a/kmicromail/libetpan/tools/charconv.c +++ b/kmicromail/libetpan/tools/charconv.c | |||
@@ -32,34 +32,34 @@ | |||
32 | /* | 32 | /* |
33 | * $Id$ | 33 | * $Id$ |
34 | */ | 34 | */ |
35 | 35 | ||
36 | #include "charconv.h" | 36 | #include "charconv.h" |
37 | 37 | ||
38 | #include "config.h" | 38 | #include "config.h" |
39 | #ifdef HAVE_ICONV | 39 | #ifdef HAVE_ICONV |
40 | #include <iconv.h> | 40 | #include <iconv.h> |
41 | #endif | 41 | #endif |
42 | #include <stdlib.h> | 42 | #include <stdlib.h> |
43 | #include <string.h> | 43 | #include <string.h> |
44 | #include <stdio.h> | 44 | #include <stdio.h> |
45 | #include <errno.h> | 45 | #include <errno.h> |
46 | 46 | ||
47 | #include "mmapstring.h" | 47 | #include "mmapstring.h" |
48 | |||
49 | #ifdef HAVE_ICONV | 48 | #ifdef HAVE_ICONV |
49 | |||
50 | static size_t mail_iconv (iconv_t cd, const char **inbuf, size_t *inbytesleft, | 50 | static size_t mail_iconv (iconv_t cd, const char **inbuf, size_t *inbytesleft, |
51 | char **outbuf, size_t *outbytesleft, | 51 | char **outbuf, size_t *outbytesleft, |
52 | char **inrepls, char *outrepl) | 52 | char **inrepls, char *outrepl) |
53 | { | 53 | { |
54 | /* | 54 | /* |
55 | XXX - force conversion of (* inbuf) to (char *) | 55 | XXX - force conversion of (* inbuf) to (char *) |
56 | because prototype of iconv() is the following : | 56 | because prototype of iconv() is the following : |
57 | 57 | ||
58 | size_t iconv(iconv_t cd, char **restrict inbuf, | 58 | size_t iconv(iconv_t cd, char **restrict inbuf, |
59 | size_t *restrict inbytesleft, char **restrict outbuf, | 59 | size_t *restrict inbytesleft, char **restrict outbuf, |
60 | size_t *restrict outbytesleft); | 60 | size_t *restrict outbytesleft); |
61 | */ | 61 | */ |
62 | 62 | ||
63 | size_t ret = 0, ret1; | 63 | size_t ret = 0, ret1; |
64 | char *ib = (char *) *inbuf; | 64 | char *ib = (char *) *inbuf; |
65 | size_t ibl = *inbytesleft; | 65 | size_t ibl = *inbytesleft; |
diff --git a/oz-character-conversion.control b/oz-character-conversion.control new file mode 100644 index 0000000..373868e --- a/dev/null +++ b/oz-character-conversion.control | |||
@@ -0,0 +1,8 @@ | |||
1 | Files: lib/gconv/* | ||
2 | Priority: optional | ||
3 | Section: qpe/applications | ||
4 | Maintainer: Lutz Rogowski <lutz@pi-sync.net> | ||
5 | Architecture: arm | ||
6 | Version: OZ-gcc3xx | ||
7 | License: GPL | ||
8 | Description: Character conversion tables, needed by OM/Pi. | ||
diff --git a/sr-character-conversion.control b/sr-character-conversion.control new file mode 100644 index 0000000..c5fe32d --- a/dev/null +++ b/sr-character-conversion.control | |||
@@ -0,0 +1,8 @@ | |||
1 | Files: lib/gconv/* | ||
2 | Priority: optional | ||
3 | Section: qpe/applications | ||
4 | Maintainer: Lutz Rogowski <lutz@pi-sync.net> | ||
5 | Architecture: arm | ||
6 | Version: SharpROM | ||
7 | License: GPL | ||
8 | Description: Character conversion tables, needed by OM/Pi. | ||