Hello community, here is the log from the commit of package alpine for openSUSE:Factory checked in at Tue Jun 2 13:18:02 CEST 2009. -------- --- alpine/alpine.changes 2008-10-15 09:34:59.000000000 +0200 +++ /mounts/work_src_done/STABLE/alpine/alpine.changes 2009-06-02 12:07:21.000000000 +0200 @@ -1,0 +2,5 @@ +Tue Jun 2 12:06:56 CEST 2009 - coolo@suse.de + +- fix compilation with gcc44 + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- alpine-gcc44.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ alpine.spec ++++++ --- /var/tmp/diff_new_pack.t30397/_old 2009-06-02 13:17:34.000000000 +0200 +++ /var/tmp/diff_new_pack.t30397/_new 2009-06-02 13:17:34.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package alpine (Version 2.00) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -50,7 +50,7 @@ %endif # Version: 2.00 -Release: 3 +Release: 4 License: The Apache Software License Group: Productivity/Networking/Email/Clients AutoReqProv: on @@ -63,6 +63,7 @@ Patch2: make-use-of-strncat-safer.diff Patch3: operation-may-be-undefined-warning.diff Patch4: fix-implicit.patch +Patch5: alpine-gcc44.diff Patch10: pico-fix-spurious-undef-warnings.diff Patch20: pine-expression-warnings.diff Patch40: pico-stripwhitespace.diff @@ -100,7 +101,7 @@ %package -n pico -License: Any permissive +License: The Apache Software License Summary: A small, easy to use editor Group: Productivity/Editors/Other AutoReqProv: on @@ -114,7 +115,7 @@ %package -n pilot -License: Any permissive +License: The Apache Software License Summary: Simple file system browser Group: Productivity/File utilities AutoReqProv: on @@ -157,6 +158,7 @@ %patch2 -p1 %patch3 -p1 %patch4 -p0 +%patch5 -p0 %patch10 -p1 %patch20 -p1 %patch40 -p1 @@ -346,6 +348,8 @@ %endif %changelog +* Tue Jun 02 2009 coolo@suse.de +- fix compilation with gcc44 * Wed Oct 15 2008 max@suse.de - lzma is no longer needed for building. * Thu Oct 09 2008 meissner@suse.de ++++++ alpine-gcc44.diff ++++++ --- ./imap/src/osdep/unix/dummy.c 2009/06/02 09:53:30 1.1 +++ ./imap/src/osdep/unix/dummy.c 2009/06/02 10:04:31 @@ -723,6 +723,17 @@ return NIL; } +static MAILSTREAM *dummy_rewrite_code(MAILSTREAM *ts) +{ + if (ts) + return ts; + + ts = default_proto (NIL); + if (!(*ts->dtb->create)(ts,"INBOX")) + return NIL; + + return ts; +} /* Dummy append message string * Accepts: mail stream @@ -742,8 +753,7 @@ /* append to INBOX? */ if (!compare_cstring (mailbox,"INBOX")) { /* yes, if no empty proto try creating */ - if (!ts && !(*(ts = default_proto (NIL))->dtb->create) (ts,"INBOX")) - ts = NIL; + ts = dummy_rewrite_code(ts); } else if (dummy_file (tmp,mailbox) && ((fd = open (tmp,O_RDONLY,NIL)) < 0)) { if ((e = errno) == ENOENT) /* failed, was it no such file? */ --- pith/send.c 2009/06/02 10:04:13 1.11 +++ pith/send.c 2009/06/02 10:04:31 @@ -1569,6 +1569,7 @@ pf->textbuf = cpystr(value); } } + return 0; } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org