pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/gperftools Fix build on NetBSD/ARM.
details: https://anonhg.NetBSD.org/pkgsrc/rev/dbc4d4c38ff1
branches: trunk
changeset: 649976:dbc4d4c38ff1
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Apr 14 14:40:02 2015 +0000
description:
Fix build on NetBSD/ARM.
diffstat:
devel/gperftools/distinfo | 4 ++-
devel/gperftools/patches/patch-configure | 12 +++++++++
devel/gperftools/patches/patch-src_base_atomicops-internals-arm-v6plus.h | 13 ++++++++++
3 files changed, 28 insertions(+), 1 deletions(-)
diffs (45 lines):
diff -r 9243668fc26e -r dbc4d4c38ff1 devel/gperftools/distinfo
--- a/devel/gperftools/distinfo Tue Apr 14 14:38:05 2015 +0000
+++ b/devel/gperftools/distinfo Tue Apr 14 14:40:02 2015 +0000
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.2 2015/04/03 14:05:38 hiramatsu Exp $
+$NetBSD: distinfo,v 1.3 2015/04/14 14:40:02 joerg Exp $
SHA1 (gperftools-2.4.tar.gz) = 13b904d0d1f220e43e4495f3403ee280c6da26ea
RMD160 (gperftools-2.4.tar.gz) = 19ce825850b8a3bc50db54fa022390878dd753bb
Size (gperftools-2.4.tar.gz) = 1346075 bytes
+SHA1 (patch-configure) = 612e1dda5ecf65451153e9616f69e0c58add086a
+SHA1 (patch-src_base_atomicops-internals-arm-v6plus.h) = b3aeddd10d2506192551485570c31c0b3ff02432
diff -r 9243668fc26e -r dbc4d4c38ff1 devel/gperftools/patches/patch-configure
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gperftools/patches/patch-configure Tue Apr 14 14:40:02 2015 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-configure,v 1.1 2015/04/14 14:40:02 joerg Exp $
+
+--- configure.orig 2015-01-10 20:20:33.000000000 +0000
++++ configure
+@@ -17334,6 +17334,7 @@ $as_echo_n "checking how to access the p
+ pc_fields="$pc_fields uc_mcontext.mc_rip" # FreeBSD (x86_64 [untested])
+ pc_fields="$pc_fields uc_mcontext.__gregs[_REG_EIP]" # NetBSD (i386)
+ pc_fields="$pc_fields uc_mcontext.__gregs[_REG_RIP]" # NetBSD (x86_64)
++ pc_fields="$pc_fields uc_mcontext.__gregs[_REG_PC]" # NetBSD (arm)
+ pc_fields="$pc_fields uc_mcontext->ss.eip" # OS X (i386, <=10.4)
+ pc_fields="$pc_fields uc_mcontext->__ss.__eip" # OS X (i386, >=10.5)
+ pc_fields="$pc_fields uc_mcontext->ss.rip" # OS X (x86_64)
diff -r 9243668fc26e -r dbc4d4c38ff1 devel/gperftools/patches/patch-src_base_atomicops-internals-arm-v6plus.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gperftools/patches/patch-src_base_atomicops-internals-arm-v6plus.h Tue Apr 14 14:40:02 2015 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_base_atomicops-internals-arm-v6plus.h,v 1.1 2015/04/14 14:40:02 joerg Exp $
+
+--- src/base/atomicops-internals-arm-v6plus.h.orig 2014-12-06 22:51:40.000000000 +0000
++++ src/base/atomicops-internals-arm-v6plus.h
+@@ -50,7 +50,7 @@
+ # define BASE_ATOMICOPS_HAS_LDREXD_AND_STREXD
+ #endif
+
+-typedef int32_t Atomic32;
++typedef intptr_t Atomic32;
+
+ namespace base {
+ namespace subtle {
Home |
Main Index |
Thread Index |
Old Index