pkgsrc-WIP-changes archive

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

compiler-rt-netbsd: Reinclude a lost patch



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Fri Jun 1 21:17:01 2018 +0200
Changeset:	a34d775f558c7a9e20b1ea4df9cc5ef33ab36428

Modified Files:
	compiler-rt-netbsd/distinfo
	compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__linux.cc

Log Message:
compiler-rt-netbsd: Reinclude a lost patch

Fixes sysctl(3) call.

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=a34d775f558c7a9e20b1ea4df9cc5ef33ab36428

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 +-
 .../patches/patch-lib_sanitizer__common_sanitizer__linux.cc  | 12 ++++++++++--
 2 files changed, 11 insertions(+), 3 deletions(-)

diffs:
diff --git a/compiler-rt-netbsd/distinfo b/compiler-rt-netbsd/distinfo
index d08301e941..f70eefe277 100644
--- a/compiler-rt-netbsd/distinfo
+++ b/compiler-rt-netbsd/distinfo
@@ -13,7 +13,7 @@ SHA1 (patch-lib_sanitizer__common_sanitizer__common.h) = b31695d963eb324550ad868
 SHA1 (patch-lib_sanitizer__common_sanitizer__common__interceptors.inc) = e1d8ad46afc9bec97b7f0e00d0edf5ee377772b7
 SHA1 (patch-lib_sanitizer__common_sanitizer__fuchsia.cc) = 27aedcac4f63376017bb89777411b66139ddcbd9
 SHA1 (patch-lib_sanitizer__common_sanitizer__internal__defs.h) = 91f645a6652d895e97b0aefbb62d80e680cd2c39
-SHA1 (patch-lib_sanitizer__common_sanitizer__linux.cc) = 123b1b62a953c60b33ea1cfc96e45f25c6e1ec93
+SHA1 (patch-lib_sanitizer__common_sanitizer__linux.cc) = d4a05cefc04ce8f2428466dbfe50cefc94136421
 SHA1 (patch-lib_sanitizer__common_sanitizer__mac.cc) = 928b8798802392ae05fbe1a4ea6570681ad327f3
 SHA1 (patch-lib_sanitizer__common_sanitizer__platform__interceptors.h) = dbe5aee67312a9042299cd3bd14d25fa68860fb2
 SHA1 (patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.cc) = f242e307950755010305b004b4c2e21c528114fb
diff --git a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__linux.cc b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__linux.cc
index 2c10e19186..828c545107 100644
--- a/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__linux.cc
+++ b/compiler-rt-netbsd/patches/patch-lib_sanitizer__common_sanitizer__linux.cc
@@ -1,8 +1,16 @@
 $NetBSD$
 
---- lib/sanitizer_common/sanitizer_linux.cc.orig	2018-06-01 09:47:10.441087020 +0000
+--- lib/sanitizer_common/sanitizer_linux.cc.orig	2018-06-01 09:39:33.000000000 +0000
 +++ lib/sanitizer_common/sanitizer_linux.cc
-@@ -1955,6 +1955,30 @@ void MaybeReexec() {
+@@ -81,6 +81,7 @@
+ 
+ #if SANITIZER_FREEBSD
+ #include <sys/exec.h>
++#define sysctl _sysctl
+ #include <sys/sysctl.h>
+ #include <machine/atomic.h>
+ extern "C" {
+@@ -1954,6 +1955,30 @@ void MaybeReexec() {
    // No need to re-exec on Linux.
  }
  


Home | Main Index | Thread Index | Old Index