Hello community, here is the log from the commit of package scim-skk for openSUSE:Factory checked in at Tue Aug 4 23:43:46 CEST 2009. -------- --- scim-skk/scim-skk.changes 2007-11-07 16:10:15.000000000 +0100 +++ scim-skk/scim-skk.changes 2009-08-04 17:01:11.000000000 +0200 @@ -1,0 +2,5 @@ +Tue Aug 4 16:57:21 CEST 2009 - tiwai@suse.de + +- fix bad C++STL erase (bnc#517549) + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- scim-skk-iter-remove-fix.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ scim-skk.spec ++++++ --- /var/tmp/diff_new_pack.H4yEYP/_old 2009-08-04 23:43:23.000000000 +0200 +++ /var/tmp/diff_new_pack.H4yEYP/_new 2009-08-04 23:43:23.000000000 +0200 @@ -21,7 +21,7 @@ Name: scim-skk BuildRequires: anthy-devel gcc-c++ gtk2-devel scim-devel update-desktop-files Version: 0.5.2 -Release: 290 +Release: 291 License: GPL v2 or later Group: System/I18n/Japanese AutoReqProv: on @@ -32,6 +32,7 @@ Patch0: commit-when-focus-out.patch Patch1: libtool-options.patch Patch2: missing-includes.patch +Patch3: scim-skk-iter-remove-fix.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: SKK Input Method Engine for SCIM @@ -51,6 +52,7 @@ %patch0 -p0 %patch1 -p0 %patch2 -p1 +%patch3 -p1 %build libtoolize --force ++++++ scim-skk-iter-remove-fix.diff ++++++ --- src/scim_skk_dictionary.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) --- a/src/scim_skk_dictionary.cpp +++ b/src/scim_skk_dictionary.cpp @@ -543,10 +543,12 @@ UserDict::write (const WideString &key, const CandPair &data) { list<CandPair> &cl = m_dictdata[key]; - for (list<CandPair>::iterator it = cl.begin(); it != cl.end(); it++) { + for (list<CandPair>::iterator it = cl.begin(); it != cl.end(); ) { if (it->first == data.first) { cl.erase(it); - } + } else { + it++; + } } cl.push_front(data); m_writeflag = true; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org