From 5e5a300470fcc11b0361a9600222f8533f883493 Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Mon, 22 Feb 2021 10:45:18 +0000 Subject: [PATCH] Merged update from upstream sources This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/sysprof.git#7da0513375e219d88b978e74dc3569e2aea703bb --- libsysprof-capture-pic.patch | 24 ++++++++++++++++++++++++ sysprof.spec | 8 +++++++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 libsysprof-capture-pic.patch diff --git a/libsysprof-capture-pic.patch b/libsysprof-capture-pic.patch new file mode 100644 index 0000000..2a19814 --- /dev/null +++ b/libsysprof-capture-pic.patch @@ -0,0 +1,24 @@ +From 77a340e3f6189cc428f2d7856682b205be5d9ec3 Mon Sep 17 00:00:00 2001 +From: Christian Hergert +Date: Fri, 19 Feb 2021 09:37:24 -0800 +Subject: [PATCH] build: use specify pic for static libsysprof-capture + +--- + src/libsysprof-capture/meson.build | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/libsysprof-capture/meson.build b/src/libsysprof-capture/meson.build +index 6343165..e4e302c 100644 +--- a/src/libsysprof-capture/meson.build ++++ b/src/libsysprof-capture/meson.build +@@ -52,6 +52,7 @@ libsysprof_capture = static_library( + install_dir: get_option('libdir'), + install: not meson.is_subproject(), + gnu_symbol_visibility: 'hidden', ++ pic: true, + ) + + libsysprof_capture_include_dirs = include_directories('.') +-- +GitLab + diff --git a/sysprof.spec b/sysprof.spec index a2f89cd..58de443 100644 --- a/sysprof.spec +++ b/sysprof.spec @@ -2,13 +2,16 @@ Name: sysprof Version: 3.39.90 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A system-wide Linux profiler License: GPLv3+ URL: http://www.sysprof.com Source0: https://download.gnome.org/sources/sysprof/3.39/sysprof-%{version}.tar.xz +# Backported from upstream +Patch0: libsysprof-capture-pic.patch + BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: gettext @@ -134,6 +137,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %changelog +* Mon Feb 22 2021 Kalev Lember - 3.39.90-2 +- Specify pic for static libsysprof-capture + * Thu Feb 18 2021 Kalev Lember - 3.39.90-1 - Update to 3.39.90