pkgsrc-WIP-changes archive

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

compiler-rt-netbsd: Kill usage of <sys/user.h>



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Tue Jun 20 02:00:19 2017 +0200
Changeset:	23040e11c88894cab5d24d5260d5a5f2818dfdc4

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

Log Message:
compiler-rt-netbsd: Kill usage of <sys/user.h>

This header is dead 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=23040e11c88894cab5d24d5260d5a5f2818dfdc4

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 +
 .../patches/patch-lib_safestack_safestack.cc               | 14 ++++++++++++++
 2 files changed, 15 insertions(+)

diffs:
diff --git a/compiler-rt-netbsd/distinfo b/compiler-rt-netbsd/distinfo
index 8ca98a6ca8..0d06fda90b 100644
--- a/compiler-rt-netbsd/distinfo
+++ b/compiler-rt-netbsd/distinfo
@@ -19,6 +19,7 @@ SHA1 (patch-lib_asan_scripts_asan__symbolize.py) = d6c079e7092b22b5379293dbb8d1e
 SHA1 (patch-lib_builtins_gcc__personality__v0.c) = 66c36733afc7043f662328303de2573fd9005bf3
 SHA1 (patch-lib_interception_interception.h) = f18c140feec3c88fec57ac7ba1fbedb03db2bac6
 SHA1 (patch-lib_interception_interception__linux.h) = 2f37344082e935a99fc04203453d387fe78bd6d3
+SHA1 (patch-lib_safestack_safestack.cc) = 6ccd97d3253eb3e284fc8375e651f2527317d88a
 SHA1 (patch-lib_sanitizer__common_CMakeLists.txt) = 45b18179c5d1d9f284ccfe4670a989ac30d05e92
 SHA1 (patch-lib_sanitizer__common_sanitizer__common__interceptors.inc) = da22dbf5942941b0f8be6e1075ea6d71f14a9069
 SHA1 (patch-lib_sanitizer__common_sanitizer__libignore.cc) = 4b711c72fb64752eb17cc8e0b810526f33d64023
diff --git a/compiler-rt-netbsd/patches/patch-lib_safestack_safestack.cc b/compiler-rt-netbsd/patches/patch-lib_safestack_safestack.cc
new file mode 100644
index 0000000000..42bc33981f
--- /dev/null
+++ b/compiler-rt-netbsd/patches/patch-lib_safestack_safestack.cc
@@ -0,0 +1,14 @@
+$NetBSD$
+
+--- lib/safestack/safestack.cc.orig	2017-06-03 23:53:56.000000000 +0000
++++ lib/safestack/safestack.cc
+@@ -21,7 +21,9 @@
+ #include <unistd.h>
+ #include <sys/resource.h>
+ #include <sys/types.h>
++#if !defined(__NetBSD__)
+ #include <sys/user.h>
++#endif
+ 
+ #include "interception/interception.h"
+ #include "sanitizer_common/sanitizer_common.h"


Home | Main Index | Thread Index | Old Index