pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
compiler-rt-netbsd: Correct clock_t on NetBSD
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Wed Jun 28 02:12:01 2017 +0200
Changeset: 45b8b4436f0ddef4e42b9cbc4938f169ec1e93da
Modified Files:
compiler-rt-netbsd/distinfo
compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__posix.h
Log Message:
compiler-rt-netbsd: Correct clock_t on NetBSD
Sponsored by <The NetBSD Foundation>
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=45b8b4436f0ddef4e42b9cbc4938f169ec1e93da
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
compiler-rt-netbsd/distinfo | 2 +-
...ch-lib_sanitizer__common_sanitizer__platform__limits__posix.h | 9 +++++++++
2 files changed, 10 insertions(+), 1 deletion(-)
diffs:
diff --git a/compiler-rt-netbsd/distinfo b/compiler-rt-netbsd/distinfo
index 8298ef4093..3bbae39cc9 100644
--- a/compiler-rt-netbsd/distinfo
+++ b/compiler-rt-netbsd/distinfo
@@ -34,7 +34,7 @@ SHA1 (patch-lib_sanitizer__common_sanitizer__netbsd.h) = c1c19a402137e21ddc5bb48
SHA1 (patch-lib_sanitizer__common_sanitizer__platform.h) = 47360a8352cc34fddc71c8f71081d7d589a63dad
SHA1 (patch-lib_sanitizer__common_sanitizer__platform__interceptors.h) = cb3ae73d6ea041180116112c2a6b081a13155e60
SHA1 (patch-lib_sanitizer__common_sanitizer__platform__limits__posix.cc) = e051889928bb0c15ada906b2747dbe6664cdd8fc
-SHA1 (patch-lib_sanitizer__common_sanitizer__platform__limits__posix.h) = 685e50c2599edd9abb5393568724bbc97f036085
+SHA1 (patch-lib_sanitizer__common_sanitizer__platform__limits__posix.h) = 4e653bb700199f1c60ab653228e32af4bb8c5ad8
SHA1 (patch-lib_sanitizer__common_sanitizer__procmaps.h) = ec0b5c576463639a3ee66c33ff7e9d94076f40df
SHA1 (patch-lib_sanitizer__common_sanitizer__procmaps__common.cc) = 0c30494654cfc0294804434d40468f6f722a6786
SHA1 (patch-lib_sanitizer__common_sanitizer__procmaps__netbsd.cc) = a7e97fdb92e166f9d1def5a169c1fd079d8bb40a
diff --git a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__posix.h b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__posix.h
index b2da25e2d5..7ef74a4a1b 100644
--- a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__posix.h
+++ b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__posix.h
@@ -296,6 +296,15 @@ $NetBSD$
#elif SANITIZER_ANDROID || defined(__x86_64__)
struct __sanitizer_dirent {
unsigned long long d_ino;
+@@ -523,7 +642,7 @@ namespace __sanitizer {
+ #endif
+
+ // 'clock_t' is 32 bits wide on x64 FreeBSD
+-#if SANITIZER_FREEBSD
++#if SANITIZER_FREEBSD || SANITIZER_NETBSD
+ typedef int __sanitizer_clock_t;
+ #elif defined(__x86_64__) && !defined(_LP64)
+ typedef long long __sanitizer_clock_t;
@@ -531,7 +650,7 @@ namespace __sanitizer {
typedef long __sanitizer_clock_t;
#endif
Home |
Main Index |
Thread Index |
Old Index