View | Details | Raw Unified | Return to bug 235995 | Differences between
and this patch

Collapse All | Expand All

(-)devel/google-perftools/Makefile (-1 / +1 lines)
Lines 16-22 Link Here
16
16
17
DOCSDIR=	${PREFIX}/share/doc/gperftools
17
DOCSDIR=	${PREFIX}/share/doc/gperftools
18
18
19
USES=		compiler:c11 gmake libtool
19
USES=		compiler:c11 gmake libtool localbase
20
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
21
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
22
TEST_TARGET=	check
22
TEST_TARGET=	check
(-)devel/google-perftools/files/patch-configure (+8 lines)
Lines 8-10 Link Here
8
    pc_fields="$pc_fields uc_mcontext.mc_rip"           # FreeBSD (x86_64 [untested])
8
    pc_fields="$pc_fields uc_mcontext.mc_rip"           # FreeBSD (x86_64 [untested])
9
    pc_fields="$pc_fields uc_mcontext.__gregs[_REG_EIP]"  # NetBSD (i386)
9
    pc_fields="$pc_fields uc_mcontext.__gregs[_REG_EIP]"  # NetBSD (i386)
10
    pc_fields="$pc_fields uc_mcontext.__gregs[_REG_RIP]"  # NetBSD (x86_64)
10
    pc_fields="$pc_fields uc_mcontext.__gregs[_REG_RIP]"  # NetBSD (x86_64)
11
@@ -18109,6 +18109,7 @@ $as_echo_n "checking how to access the program counter
12
    pc_fields="$pc_fields uc_mcontext.gregs[R15]"     # Linux (arm old [untested])
13
    pc_fields="$pc_fields uc_mcontext.arm_pc"           # Linux (arm arch 5)
14
    pc_fields="$pc_fields uc_mcontext.gp_regs[PT_NIP]"  # Suse SLES 11 (ppc64)
15
+   pc_fields="$pc_fields uc_mcontext.mc_gpregs.gp_elr" # FreeBSD (aarch64)
16
    pc_fields="$pc_fields uc_mcontext.mc_eip"           # FreeBSD (i386)
17
    pc_fields="$pc_fields uc_mcontext.mc_rip"           # FreeBSD (x86_64 [untested])
18
    pc_fields="$pc_fields uc_mcontext.__gregs[_REG_EIP]"  # NetBSD (i386)

Return to bug 235995