pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/gperftools devel/gperftools: add support for Net...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d8e8b0e94f55
branches:  trunk
changeset: 385534:d8e8b0e94f55
user:      he <he%pkgsrc.org@localhost>
date:      Sun Sep 18 19:28:23 2022 +0000

description:
devel/gperftools: add support for NetBSD/powerpc.

diffstat:

 devel/gperftools/distinfo                            |   3 ++-
 devel/gperftools/patches/patch-src_base_basictypes.h |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 82307231c81d -r d8e8b0e94f55 devel/gperftools/distinfo
--- a/devel/gperftools/distinfo Sun Sep 18 19:06:27 2022 +0000
+++ b/devel/gperftools/distinfo Sun Sep 18 19:28:23 2022 +0000
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.17 2022/07/22 08:34:45 adam Exp $
+$NetBSD: distinfo,v 1.18 2022/09/18 19:28:23 he Exp $
 
 BLAKE2s (gperftools-2.10.tar.gz) = 0b1ef9adbf32500a03e3e480da29e1192ebc66a737a5e18b5ad17c33c216bb0b
 SHA512 (gperftools-2.10.tar.gz) = 81f3b913e76641c6e51cdfe741fd0028bf9237e3e0f3937ea692ff420c8d006ee01be220417833e55809514fb88eeb0b695fa0a2cac614e60234b8c019a6e92a
 Size (gperftools-2.10.tar.gz) = 1616679 bytes
 SHA1 (patch-configure) = b6c1c33aa83ae3dbf80a0b6e8e0076378ee0aa08
 SHA1 (patch-src_base_atomicops-internals-arm-v6plus.h) = b3aeddd10d2506192551485570c31c0b3ff02432
+SHA1 (patch-src_base_basictypes.h) = 259488af84dcd7bc2114acdb3943d193b743ddb2
 SHA1 (patch-src_base_sysinfo.cc) = 558034b05ad3d2870a7269762d3b58442824e649
 SHA1 (patch-src_symbolize.cc) = fdbc603dba286b45d092c3447b80a537549bd78d
diff -r 82307231c81d -r d8e8b0e94f55 devel/gperftools/patches/patch-src_base_basictypes.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gperftools/patches/patch-src_base_basictypes.h      Sun Sep 18 19:28:23 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_base_basictypes.h,v 1.1 2022/09/18 19:28:23 he Exp $
+
+Add support for NetBSD/powerpc, recognized via __powerpc__.
+
+--- src/base/basictypes.h.orig 2022-05-31 03:32:13.000000000 +0000
++++ src/base/basictypes.h
+@@ -371,7 +371,7 @@ class AssignAttributeStartEnd {
+ #if defined(HAVE___ATTRIBUTE__)
+ # if (defined(__i386__) || defined(__x86_64__))
+ #   define CACHELINE_ALIGNED __attribute__((aligned(64)))
+-# elif (defined(__PPC__) || defined(__PPC64__))
++# elif (defined(__PPC__) || defined(__PPC64__) || defined(__powerpc__))
+ #   define CACHELINE_ALIGNED __attribute__((aligned(16)))
+ # elif (defined(__arm__))
+ #   define CACHELINE_ALIGNED __attribute__((aligned(64)))



Home | Main Index | Thread Index | Old Index