pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/gperftools



Module Name:    pkgsrc
Committed By:   he
Date:           Sun Sep 18 19:28:23 UTC 2022

Modified Files:
        pkgsrc/devel/gperftools: distinfo
Added Files:
        pkgsrc/devel/gperftools/patches: patch-src_base_basictypes.h

Log Message:
devel/gperftools: add support for NetBSD/powerpc.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/devel/gperftools/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/gperftools/patches/patch-src_base_basictypes.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/gperftools/distinfo
diff -u pkgsrc/devel/gperftools/distinfo:1.17 pkgsrc/devel/gperftools/distinfo:1.18
--- pkgsrc/devel/gperftools/distinfo:1.17       Fri Jul 22 08:34:45 2022
+++ pkgsrc/devel/gperftools/distinfo    Sun Sep 18 19:28:23 2022
@@ -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

Added files:

Index: pkgsrc/devel/gperftools/patches/patch-src_base_basictypes.h
diff -u /dev/null pkgsrc/devel/gperftools/patches/patch-src_base_basictypes.h:1.1
--- /dev/null   Sun Sep 18 19:28:23 2022
+++ pkgsrc/devel/gperftools/patches/patch-src_base_basictypes.h Sun Sep 18 19:28:23 2022
@@ -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