Hello community, here is the log from the commit of package asc checked in at Mon Nov 10 15:48:09 CET 2008. -------- --- asc/asc.changes 2008-04-24 13:46:55.000000000 +0200 +++ /mounts/work_src_done/STABLE/asc/asc.changes 2008-11-10 15:46:03.000000000 +0100 @@ -1,0 +2,5 @@ +Mon Nov 10 15:45:53 CET 2008 - prusnak@suse.cz + +- fix wrong delete usage (delete.patch) [bnc#442935] + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- asc-2.1.0.0-delete.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ asc.spec ++++++ --- /var/tmp/diff_new_pack.st4663/_old 2008-11-10 15:47:50.000000000 +0100 +++ /var/tmp/diff_new_pack.st4663/_new 2008-11-10 15:47:50.000000000 +0100 @@ -2,9 +2,16 @@ # spec file for package asc (Version 2.1.0.0) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -16,12 +23,13 @@ BuildRequires: boost-devel freetype2-devel libexpat-devel libjpeg-devel pkg-config update-desktop-files zip Summary: Advanced Strategic Command--Turn-Based Strategy Game Version: 2.1.0.0 -Release: 1 +Release: 66 License: GPL v2 or later Group: Amusements/Games/Strategy/Turn Based Source: %{name}-%{version}.tar.bz2 Source1: %{name}.desktop Source2: %{name}-music.tar.gz +Patch0: %{name}-%{version}-delete.patch Url: http://www.asc-hq.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -55,6 +63,7 @@ %prep %setup -q +%patch0 chmod ugo-x doc/manpages/* doc/unitguide/output/*.gif doc/unitguide/output/*.html doc/unitguide/output/*.txt tar -C data/music -xzf %{S:2} @@ -91,6 +100,8 @@ %{_datadir}/games/asc/music/* %changelog +* Mon Nov 10 2008 prusnak@suse.cz +- fix wrong delete usage (delete.patch) [bnc#442935] * Thu Apr 24 2008 prusnak@suse.cz - updated to 2.1.0.0 o Major new features: ++++++ asc-2.1.0.0-delete.patch ++++++ --- source/edmisc.cpp +++ source/edmisc.cpp @@ -4420,10 +4420,10 @@ if( map != NULL ) { delete map; - delete fieldCopied; + delete[] fieldCopied; } - delete directionTranslation; - delete playerTranslation; + delete[] directionTranslation; + delete[] playerTranslation; } void CopyMap::selectArea() @@ -4440,7 +4440,7 @@ if( map != NULL ) { delete map; - delete fieldCopied; + delete[] fieldCopied; } mapStartX = -1; @@ -4473,8 +4473,8 @@ copyStep = 2; operate(); - delete directionTranslation; - delete playerTranslation; + delete[] directionTranslation; + delete[] playerTranslation; directionTranslation = oldDirectoyTranslation; playerTranslation = oldPlayerTranslation; } @@ -4630,7 +4630,7 @@ } } - delete directionTranslation; + delete[] directionTranslation; directionTranslation = oldDirectoyTranslation; return true; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org