Hello community, here is the log from the commit of package alpine for openSUSE:Factory checked in at Tue Oct 11 18:20:46 CEST 2011. -------- --- openSUSE:Factory/alpine/alpine.changes 2011-10-11 16:41:29.000000000 +0200 +++ /mounts/work_src_done/STABLE/alpine/alpine.changes 2011-10-11 17:34:22.000000000 +0200 @@ -1,0 +2,9 @@ +Tue Oct 11 13:10:14 UTC 2011 - max@suse.com + +- Fix and extend operation-may-be-undefined-warning.diff + (bnc#558841) +- Overhaul RPM summary and description. +- Month names containing non-ASCII characters were rendered + incorrectly in non-UTF8 locales (bnc#597744). + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- alpine-month_name-utf8.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ alpine.spec ++++++ --- /var/tmp/diff_new_pack.oSRYR5/_old 2011-10-11 18:20:43.000000000 +0200 +++ /var/tmp/diff_new_pack.oSRYR5/_new 2011-10-11 18:20:43.000000000 +0200 @@ -33,7 +33,7 @@ %define use_mudflap 0 %define build_vanilla 0 # -Summary: Alpine mail user agent (formerly pine) +Summary: Mail User Agent BuildRequires: imap-devel krb5-devel libgssapi ncurses-devel BuildRequires: openldap2-devel openssl-devel pam-devel update-desktop-files BuildRequires: libtool @@ -65,6 +65,7 @@ Patch4: fix-implicit.patch Patch5: alpine-gcc44.diff Patch6: alpine-2.00-as_needed.patch +Patch7: alpine-month_name-utf8.patch Patch10: pico-fix-spurious-undef-warnings.diff Patch20: pine-expression-warnings.diff Patch40: pico-stripwhitespace.diff @@ -89,24 +90,13 @@ Patch613: alpine-no-add-needed.patch %description -Though originally designed for inexperienced email users, Alpine -supports many advanced features, and an ever-growing number of -configuration and personal-preference options. - -Alpine (formerly Pine) features improved support for UTF-8 and the code -is licensed under the Apache License. - -Despite many improvements "under the hood" (the bugs which were -introduced by them were ironed out during more than a full year of -public beta testing), the user interface stays the same, so pine users -can switch painlessly to alpine and notice no change at all. - -It uses the same configuration files as pine, so it's a clean update. - -The biggest user-visible change are the new animations which are shown -when operations take a long time. - - +Alpine is a display-oriented email client that is suitable for both +the inexperienced email user as well as for the most demanding of +power users. Alpine is based on the Pine® Message System, which was +also developed at the University of Washington. Alpine can be learned +by exploration and the use of context-sensitive help. The user +experience is highly customizable through the use of the Alpine Setup +command. %package -n pico License: Apache Software License .. @@ -169,10 +159,11 @@ # %patch1 %patch2 -p1 -%patch3 -p1 +%patch3 %patch4 -p0 %patch5 -p0 %patch6 -p0 +%patch7 %patch10 -p1 %patch20 -p1 %patch40 -p1 ++++++ alpine-month_name-utf8.patch ++++++ --- pith/string.c +++ pith/string.c @@ -769,6 +769,7 @@ return("xxx"); else{ static char buf[20]; + char *utf8buf; struct tm tm; memset(&tm, 0, sizeof(tm)); @@ -810,6 +811,12 @@ buf[0] = ' '; } + utf8buf = convert_to_utf8(buf, NULL, 0); + if (utf8buf != NULL) { + strncpy(buf, utf8buf, sizeof(buf)); + buf[sizeof(buf)-1] = '\0'; + fs_give((void **)&utf8buf); + } return(buf); } @@ -841,12 +848,19 @@ return(""); else{ static char buf[20]; + char *utf8buf; struct tm tm; memset(&tm, 0, sizeof(tm)); tm.tm_year = 107; tm.tm_mon = month_num-1; our_strftime(buf, sizeof(buf), "%B", &tm); + utf8buf = convert_to_utf8(buf, NULL, 0); + if (utf8buf != NULL) { + strncpy(buf, utf8buf, sizeof(buf)); + buf[sizeof(buf)-1] = '\0'; + fs_give((void **)&utf8buf); + } return(buf); } } ++++++ operation-may-be-undefined-warning.diff ++++++ --- /var/tmp/diff_new_pack.oSRYR5/_old 2011-10-11 18:20:43.000000000 +0200 +++ /var/tmp/diff_new_pack.oSRYR5/_new 2011-10-11 18:20:43.000000000 +0200 @@ -1,6 +1,17 @@ ---- alpine-0.999/imap/src/c-client/mail.c -+++ alpine-0.999/imap/src/c-client/mail.c -@@ -2795,8 +2795,10 @@ +--- alpine/folder.c ++++ alpine/folder.c +@@ -6013,7 +6013,7 @@ + continue; + + case 14 : /* toggle comparison */ +- *cmp = ++(*cmp) % 3; ++ *cmp = ((*cmp) + 1) % 3; + continue; + + case -1 : /* cancel */ +--- imap/src/c-client/mail.c ++++ imap/src/c-client/mail.c +@@ -2931,8 +2931,14 @@ /* parse time */ d = strtoul (s+1,(char **) &s,10); if (*s != ':') return NIL; @@ -8,8 +19,12 @@ - y = (*s == ':') ? strtoul (++s,(char **) &s,10) : 0; + s++; + m = strtoul (s,(char **) &s,10); -+ s++; -+ y = (*s == ':') ? strtoul (s,(char **) &s,10) : 0; ++ if (*s == ':') { ++ s++; ++ y = strtoul(s, (char **)&s, 10); ++ } else { ++ y = 0; ++ } /* validity check time */ if ((d > 23) || (m > 59) || (y > 60)) return NIL; /* set values in elt */ continue with "q"... Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org