Accepting request 591005 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/591005
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gperftools?expand=0&rev=21
This commit is contained in:
Dominique Leuenberger 2018-03-29 09:50:48 +00:00 committed by Git OBS Bridge
commit 23ab2210d0
3 changed files with 22 additions and 0 deletions

13
gperftools-aarch64.patch Normal file
View File

@ -0,0 +1,13 @@
--- gperftools-2.5/src/base/linux_syscall_support.h 2018/03/25 22:34:33 1.1
+++ gperftools-2.5/src/base/linux_syscall_support.h 2018/03/25 22:34:51
@@ -2560,10 +2560,6 @@
#endif
#if (defined(__aarch64__)) || \
(defined(__mips__) && (_MIPS_ISA == _MIPS_ISA_MIPS64))
- LSS_INLINE _syscall6(void*, mmap, void*, s,
- size_t, l, int, p,
- int, f, int, d,
- __off64_t, o)
LSS_INLINE int LSS_NAME(sigaction)(int signum,
const struct kernel_sigaction *act,
struct kernel_sigaction *oldact) {

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Mar 26 00:35:41 CEST 2018 - ro@suse.de
- add patch gperftools-aarch64.patch (bsc#1086762)
(analog upstream commit 02eeed29df112728564a5dde6417fa4622b57a06)
fix build on aarch64 by removing conflicting mmap definition
-------------------------------------------------------------------
Thu Mar 15 01:43:38 CET 2018 - ro@suse.de

View File

@ -28,6 +28,7 @@ Patch1: %{name}_fix_unassigned_malloc_in_unittest.patch
Patch2: %{name}_gcc46.patch
Patch3: ucontext.patch
Patch4: gperftools-s390.patch
Patch5: gperftools-aarch64.patch
BuildRequires: autoconf >= 2.59
BuildRequires: automake
BuildRequires: gcc-c++
@ -83,6 +84,7 @@ files for developing applications that use the gperftools package.
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%build
autoreconf -fi