This commit is contained in:
parent
6f72de8c75
commit
5170799d2b
16
boost-fix_valgrind_complaint.patch
Normal file
16
boost-fix_valgrind_complaint.patch
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
From https://svn.boost.org/trac/boost/changeset/46159:
|
||||||
|
|
||||||
|
Valgrind complains if any data passed to a syscall is uninitialized,
|
||||||
|
even though logically the kernel will not use part of it.
|
||||||
|
|
||||||
|
--- boost/test/impl/execution_monitor.ipp
|
||||||
|
+++ boost/test/impl/execution_monitor.ipp
|
||||||
|
@@ -668,7 +668,7 @@
|
||||||
|
::alarm( 0 );
|
||||||
|
|
||||||
|
#ifdef BOOST_TEST_USE_ALT_STACK
|
||||||
|
- stack_t sigstk;
|
||||||
|
+ stack_t sigstk = {};
|
||||||
|
|
||||||
|
sigstk.ss_flags = SS_DISABLE;
|
||||||
|
BOOST_TEST_SYS_ASSERT( ::sigaltstack( &sigstk, 0 ) != -1 );
|
@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 9 17:34:53 CET 2009 - pth@suse.de
|
||||||
|
|
||||||
|
- Apply patch in boost.spec.in
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 8 18:12:29 CET 2009 - pth@suse.de
|
||||||
|
|
||||||
|
- Actually use the patch.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 7 18:50:21 CET 2009 - pth@suse.de
|
||||||
|
|
||||||
|
- Initialize all data passed in the syscall to keep valgrind
|
||||||
|
happy (bnc#461372).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 11 17:08:05 CET 2008 - ro@suse.de
|
Thu Dec 11 17:08:05 CET 2008 - ro@suse.de
|
||||||
|
|
||||||
|
13
boost.spec
13
boost.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package boost (Version 1.36.0)
|
# spec file for package boost (Version 1.36.0)
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -45,7 +45,7 @@ Group: Development/Libraries/C and C++
|
|||||||
Summary: Boost C++ Libraries
|
Summary: Boost C++ Libraries
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Version: 1.36.0
|
Version: 1.36.0
|
||||||
Release: 10
|
Release: 11
|
||||||
Source0: %{name}_1_36_0.tar.bz2
|
Source0: %{name}_1_36_0.tar.bz2
|
||||||
Source1: boost-rpmlintrc
|
Source1: boost-rpmlintrc
|
||||||
Source2: boost_1_33_1_man.tar.bz2
|
Source2: boost_1_33_1_man.tar.bz2
|
||||||
@ -66,6 +66,7 @@ Patch18: boost-sigcld_handling.patch
|
|||||||
Patch19: boost-sane_versioning.patch
|
Patch19: boost-sane_versioning.patch
|
||||||
Patch20: boost-strict_aliasing.patch
|
Patch20: boost-strict_aliasing.patch
|
||||||
Patch21: boost-default_extension.patch
|
Patch21: boost-default_extension.patch
|
||||||
|
Patch22: boost-fix_valgrind_complaint.patch
|
||||||
Recommends: %{all_libs}
|
Recommends: %{all_libs}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -327,6 +328,7 @@ find -type f ! \( -name \*.sh -o -name \*.py -o -name \*.pl \) -exec chmod -x {}
|
|||||||
%patch19
|
%patch19
|
||||||
%patch20
|
%patch20
|
||||||
%patch21
|
%patch21
|
||||||
|
%patch22
|
||||||
chmod +x configure
|
chmod +x configure
|
||||||
#stupid build machinery copies .orig files
|
#stupid build machinery copies .orig files
|
||||||
find . -name \*.orig -exec rm {} +
|
find . -name \*.orig -exec rm {} +
|
||||||
@ -609,6 +611,13 @@ find %{buildroot}%{_docdir}/boost-%{version} -name \*.py -exec chmod -x {} +
|
|||||||
%doc %{_mandir}/man7/*.7.gz
|
%doc %{_mandir}/man7/*.7.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 09 2009 pth@suse.de
|
||||||
|
- Apply patch in boost.spec.in
|
||||||
|
* Thu Jan 08 2009 pth@suse.de
|
||||||
|
- Actually use the patch.
|
||||||
|
* Wed Jan 07 2009 pth@suse.de
|
||||||
|
- Initialize all data passed in the syscall to keep valgrind
|
||||||
|
happy (bnc#461372).
|
||||||
* Thu Dec 11 2008 ro@suse.de
|
* Thu Dec 11 2008 ro@suse.de
|
||||||
- fix baselibs.conf (no requirement for boost-xxbit)
|
- fix baselibs.conf (no requirement for boost-xxbit)
|
||||||
(bnc#457699)
|
(bnc#457699)
|
||||||
|
@ -76,6 +76,7 @@ Patch18: boost-sigcld_handling.patch
|
|||||||
Patch19: boost-sane_versioning.patch
|
Patch19: boost-sane_versioning.patch
|
||||||
Patch20: boost-strict_aliasing.patch
|
Patch20: boost-strict_aliasing.patch
|
||||||
Patch21: boost-default_extension.patch
|
Patch21: boost-default_extension.patch
|
||||||
|
Patch22: boost-fix_valgrind_complaint.patch
|
||||||
Recommends: %{all_libs}
|
Recommends: %{all_libs}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -333,6 +334,7 @@ find -type f ! \( -name \*.sh -o -name \*.py -o -name \*.pl \) -exec chmod -x {}
|
|||||||
%patch19
|
%patch19
|
||||||
%patch20
|
%patch20
|
||||||
%patch21
|
%patch21
|
||||||
|
%patch22
|
||||||
chmod +x configure
|
chmod +x configure
|
||||||
#stupid build machinery copies .orig files
|
#stupid build machinery copies .orig files
|
||||||
find . -name \*.orig -exec rm {} +
|
find . -name \*.orig -exec rm {} +
|
||||||
|
Loading…
x
Reference in New Issue
Block a user