From f781d52c1fd93f0193fd33fb70ea29a25bc3c0711494a04cbd253f947f6488f3 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 8 Jan 2009 16:55:29 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/boinc-client?expand=0&rev=3 --- bnc_442904.patch | 12 ++++++++++++ boinc-client.changes | 6 ++++++ boinc-client.spec | 9 +++++++-- 3 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 bnc_442904.patch diff --git a/bnc_442904.patch b/bnc_442904.patch new file mode 100644 index 0000000..f837a26 --- /dev/null +++ b/bnc_442904.patch @@ -0,0 +1,12 @@ +diff -Naur boinc-6.2.18/win_build/installerv2/redist/Windows/src/boinccas/password.cpp boinc-6.2.18-mp/win_build/installerv2/redist/Windows/src/boinccas/password.cpp +--- boinc-6.2.18/win_build/installerv2/redist/Windows/src/boinccas/password.cpp 2008-08-25 22:28:08.000000000 +0200 ++++ boinc-6.2.18-mp/win_build/installerv2/redist/Windows/src/boinccas/password.cpp 2008-12-23 17:36:53.645629000 +0100 +@@ -105,7 +105,7 @@ + //Clean up memory. + if (pRandomBuf) + { +- delete pRandomBuf; ++ delete [] pRandomBuf; + pRandomBuf = NULL; + } + diff --git a/boinc-client.changes b/boinc-client.changes index 24449bc..53000d8 100644 --- a/boinc-client.changes +++ b/boinc-client.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Dec 23 20:24:44 CET 2008 - mauro@suse.de + +- Added bnc_442904.patch to fix bnc#442904. + + Use the proper delete. + ------------------------------------------------------------------- Mon Nov 3 17:57:24 UTC 2008 - mauro@suse.de diff --git a/boinc-client.spec b/boinc-client.spec index 0953cc8..8c0683a 100644 --- a/boinc-client.spec +++ b/boinc-client.spec @@ -1,7 +1,7 @@ # # spec file for package boinc-client (Version 6.2.18) # -# 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 @@ -21,7 +21,7 @@ Name: boinc-client Summary: The Berkeley Open Infrastructure for Network Computing (BOINC) Version: 6.2.18 -Release: 2 +Release: 3 Url: http://boinc.berkeley.edu/ Source0: boinc-%{version}.tar.bz2 Source1: boinc-icons.tar.bz2 @@ -35,6 +35,7 @@ Patch3: boinc-sysconfig.patch Patch4: boinc-subdirs.patch Patch5: bnc-431510.patch Patch6: bnc_439037.patch +Patch7: bnc_442904.patch License: LGPL v2.1 only Group: Productivity/Clustering/Computing BuildRequires: libcurl-devel >= 7.15.2 python-mysql update-desktop-files @@ -153,6 +154,7 @@ mkdir $RPM_BUILD_ROOT %patch4 %patch5 -p1 %patch6 -p1 +%patch7 -p1 tar -xvjf %{S:1} %build @@ -239,6 +241,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/*a %changelog +* Tue Dec 23 2008 mauro@suse.de +- Added bnc_442904.patch to fix bnc#442904. + + Use the proper delete. * Mon Nov 03 2008 mauro@suse.de - Add bnc_439037.patch to fix bnc#439037. We now use strcmp instead of the original ==.