1
0
forked from pool/boinc-client
OBS User unknown 2009-01-08 16:55:29 +00:00 committed by Git OBS Bridge
parent 73f22807b9
commit f781d52c1f
3 changed files with 25 additions and 2 deletions

12
bnc_442904.patch Normal file
View File

@ -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;
}

View File

@ -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 Mon Nov 3 17:57:24 UTC 2008 - mauro@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package boinc-client (Version 6.2.18) # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -21,7 +21,7 @@
Name: boinc-client Name: boinc-client
Summary: The Berkeley Open Infrastructure for Network Computing (BOINC) Summary: The Berkeley Open Infrastructure for Network Computing (BOINC)
Version: 6.2.18 Version: 6.2.18
Release: 2 Release: 3
Url: http://boinc.berkeley.edu/ Url: http://boinc.berkeley.edu/
Source0: boinc-%{version}.tar.bz2 Source0: boinc-%{version}.tar.bz2
Source1: boinc-icons.tar.bz2 Source1: boinc-icons.tar.bz2
@ -35,6 +35,7 @@ Patch3: boinc-sysconfig.patch
Patch4: boinc-subdirs.patch Patch4: boinc-subdirs.patch
Patch5: bnc-431510.patch Patch5: bnc-431510.patch
Patch6: bnc_439037.patch Patch6: bnc_439037.patch
Patch7: bnc_442904.patch
License: LGPL v2.1 only License: LGPL v2.1 only
Group: Productivity/Clustering/Computing Group: Productivity/Clustering/Computing
BuildRequires: libcurl-devel >= 7.15.2 python-mysql update-desktop-files BuildRequires: libcurl-devel >= 7.15.2 python-mysql update-desktop-files
@ -153,6 +154,7 @@ mkdir $RPM_BUILD_ROOT
%patch4 %patch4
%patch5 -p1 %patch5 -p1
%patch6 -p1 %patch6 -p1
%patch7 -p1
tar -xvjf %{S:1} tar -xvjf %{S:1}
%build %build
@ -239,6 +241,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/*a %{_libdir}/*a
%changelog %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 * Mon Nov 03 2008 mauro@suse.de
- Add bnc_439037.patch to fix bnc#439037. We now use strcmp - Add bnc_439037.patch to fix bnc#439037. We now use strcmp
instead of the original ==. instead of the original ==.