gperftools/gperftools-aarch64.patch
Ismail Dönmez d4a2b78306 Accepting request 590932 from home:oertel:branches:devel:libraries:c_c++
- add patch gperftools-aarch64.patch (bsc#1086762)
  (analog upstream commit 02eeed29df112728564a5dde6417fa4622b57a06)
  fix build on aarch64 by removing conflicting mmap definition

OBS-URL: https://build.opensuse.org/request/show/590932
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gperftools?expand=0&rev=42
2018-03-26 10:20:20 +00:00

14 lines
752 B
Diff

--- 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) {