pkgsrc-WIP-changes archive

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

compiler-rt-netbsd: Add NetBSD sugar in linux.cc



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Wed Jun 28 03:37:42 2017 +0200
Changeset:	fa75e3b54dd71c2312b35ecd31a6420924c0b322

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

Log Message:
compiler-rt-netbsd: Add NetBSD sugar in linux.cc

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

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

diffstat:
 compiler-rt-netbsd/distinfo                           |  1 +
 .../patch-lib_interception_interception__linux.cc     | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+)

diffs:
diff --git a/compiler-rt-netbsd/distinfo b/compiler-rt-netbsd/distinfo
index de6fd4f529..1a3b2ab133 100644
--- a/compiler-rt-netbsd/distinfo
+++ b/compiler-rt-netbsd/distinfo
@@ -21,6 +21,7 @@ SHA1 (patch-lib_asan_asan__stack.h) = a3dd10b42713265f6a54a2b86e33420b052f431f
 SHA1 (patch-lib_asan_scripts_asan__symbolize.py) = d6c079e7092b22b5379293dbb8d1e2445e077932
 SHA1 (patch-lib_builtins_gcc__personality__v0.c) = 66c36733afc7043f662328303de2573fd9005bf3
 SHA1 (patch-lib_interception_interception.h) = f18c140feec3c88fec57ac7ba1fbedb03db2bac6
+SHA1 (patch-lib_interception_interception__linux.cc) = 168f375658c09900b12ab73ba22d7166a488afb3
 SHA1 (patch-lib_interception_interception__linux.h) = 2f37344082e935a99fc04203453d387fe78bd6d3
 SHA1 (patch-lib_safestack_safestack.cc) = 6ccd97d3253eb3e284fc8375e651f2527317d88a
 SHA1 (patch-lib_sanitizer__common_CMakeLists.txt) = 45b18179c5d1d9f284ccfe4670a989ac30d05e92
diff --git a/compiler-rt-netbsd/patches/patch-lib_interception_interception__linux.cc b/compiler-rt-netbsd/patches/patch-lib_interception_interception__linux.cc
new file mode 100644
index 0000000000..865b6c4203
--- /dev/null
+++ b/compiler-rt-netbsd/patches/patch-lib_interception_interception__linux.cc
@@ -0,0 +1,19 @@
+$NetBSD$
+
+--- lib/interception/interception_linux.cc.orig	2017-06-03 23:53:56.000000000 +0000
++++ lib/interception/interception_linux.cc
+@@ -12,7 +12,7 @@
+ // Linux-specific interception methods.
+ //===----------------------------------------------------------------------===//
+ 
+-#if defined(__linux__) || defined(__FreeBSD__)
++#if defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__)
+ #include "interception.h"
+ 
+ #include <dlfcn.h>   // for dlsym() and dlvsym()
+@@ -33,4 +33,4 @@ void *GetFuncAddrVer(const char *func_na
+ }  // namespace __interception
+ 
+ 
+-#endif  // __linux__ || __FreeBSD__
++#endif  // __linux__ || __FreeBSD__ || __NetBSD__


Home | Main Index | Thread Index | Old Index