From c94f0e8669e53e735bd421dc8a12a7ee07ddb605 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 28 Apr 2020 04:51:56 -0400 Subject: [PATCH] import boost-1.66.0-7.el8 --- SOURCES/boost-1.66-annobin-notes.patch | 11 +++++++++++ SPECS/boost.spec | 9 ++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 SOURCES/boost-1.66-annobin-notes.patch diff --git a/SOURCES/boost-1.66-annobin-notes.patch b/SOURCES/boost-1.66-annobin-notes.patch new file mode 100644 index 0000000..da73d6e --- /dev/null +++ b/SOURCES/boost-1.66-annobin-notes.patch @@ -0,0 +1,11 @@ +--- boost_1_66_0/tools/build/src/tools/gcc.jam~ 2019-11-18 14:24:04.111324445 +0000 ++++ boost_1_66_0/tools/build/src/tools/gcc.jam 2019-11-18 14:24:07.314336031 +0000 +@@ -635,7 +635,7 @@ + + actions compile.asm + { +- "$(CONFIG_COMMAND)" $(LANG) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -c -o "$(<)" "$(>)" ++ "$(CONFIG_COMMAND)" $(LANG) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -Wa,--generate-missing-build-notes=yes -c -o "$(<)" "$(>)" + } + + ### diff --git a/SPECS/boost.spec b/SPECS/boost.spec index 431c7e5..399f1cf 100644 --- a/SPECS/boost.spec +++ b/SPECS/boost.spec @@ -27,7 +27,7 @@ Name: boost Summary: The free peer-reviewed portable C++ source libraries Version: 1.66.0 %global version_enc 1_66_0 -Release: 6%{?dist} +Release: 7%{?dist} License: Boost and MIT and Python %global toplev_dirname %{name}_%{version_enc} @@ -131,6 +131,9 @@ Patch85: boost-1.66.0-py3-shebang.patch # https://github.com/boostorg/python/pull/218 Patch87: boost-1.66.0-numpy3.patch +# https://bugzilla.redhat.com/show_bug.cgi?id=1630552 +Patch88: boost-1.66-annobin-notes.patch + %bcond_with tests %bcond_with docs_generated @@ -634,6 +637,7 @@ find ./boost -name '*.hpp' -perm /111 | xargs chmod a-x %patch84 -p1 %patch85 -p1 %patch87 -p1 +%patch88 -p1 %build PYTHON3_ABIFLAGS=$(/usr/bin/python3-config --abiflags) @@ -1293,6 +1297,9 @@ fi %{_mandir}/man1/bjam.1* %changelog +* Tue Nov 19 2019 Jonathan Wakely - 1.66.0-7 +- Add patch to annotate objects built from assembly code (#1630552) + * Tue Oct 09 2018 Jonathan Wakely - 1.66.0-6 - Add explicit Requires to subpackages that depend on other parts of boost