freebsd-ports/mail/elm+ME/files/patch-iso2022_map.c
Mikhail Teterin 89dea9c29b Update from elm-2.4ME+119 to elm-2.4ME+121h. Install the auxiliary
shared libraries into ${PREFIX}/lib thus making 000.elm.sh unneeded.

Add patches, that allow warning-free compilation.

Add a patch, that removes the delay on every "metamail not needed"
notification.

Change scripts/pre-configure to allow use of nl_langinfo().

Approved by:	maintainer
2005-07-07 21:38:02 +00:00

12 lines
490 B
C

127+128 is 255, which no `char' can exceed. This leads to a compiler
warning...
--- lib/iso2022_map.c Tue Mar 30 11:38:43 2004
+++ lib/iso2022_map.c Wed Jul 6 23:43:14 2005
@@ -926,5 +926,5 @@
if (iso2022_94 == Mx->type ||
iso2022_96 == Mx->type) {
- if (ch < 32 + 128 || ch > 127 + 128) {
+ if (ch < 32 + 128) {
DPRINT(Debug,10,(&Debug,
"map_unicode_to_ISO2022_word_1: char %c (unicode %u) out of range (type iso2022_94 or iso2022_96, PF_BUILTIN_upper)",