pkgsrc-WIP-changes archive

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

compiler-rt-netbsd: Add NetBSD to LIBFUZZER_POSIX



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Wed Aug 30 17:18:55 2017 +0200
Changeset:	71e4b5fdd7b97170f49263cebb9790a63351cb20

Modified Files:
	compiler-rt-netbsd/distinfo
	compiler-rt-netbsd/patches/patch-lib_fuzzer_FuzzerDefs.h

Log Message:
compiler-rt-netbsd: Add NetBSD to LIBFUZZER_POSIX

This fixes unknown symbols.

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=71e4b5fdd7b97170f49263cebb9790a63351cb20

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 +-
 compiler-rt-netbsd/patches/patch-lib_fuzzer_FuzzerDefs.h | 13 +++++++++++--
 2 files changed, 12 insertions(+), 3 deletions(-)

diffs:
diff --git a/compiler-rt-netbsd/distinfo b/compiler-rt-netbsd/distinfo
index e7b4df4503..ad6be1eead 100644
--- a/compiler-rt-netbsd/distinfo
+++ b/compiler-rt-netbsd/distinfo
@@ -13,7 +13,7 @@ SHA1 (llvm-3.6.2.src.tar.xz) = 7a00257eb2bc9431e4c77c3a36b033072c54bc7e
 RMD160 (llvm-3.6.2.src.tar.xz) = 521cbc5fe2925ea3c6e90c7a31f752a04045c972
 Size (llvm-3.6.2.src.tar.xz) = 12802380 bytes
 SHA1 (patch-cmake_config-ix.cmake) = 2255939ffe6948fbc1f0dfa518559efee16e721a
-SHA1 (patch-lib_fuzzer_FuzzerDefs.h) = 03a2e3839c36f696d4faea173005f11685e9e05e
+SHA1 (patch-lib_fuzzer_FuzzerDefs.h) = 681e36a3cb3c6be0a6493c79dde74aa3e1c2e979
 SHA1 (patch-lib_fuzzer_FuzzerExtFunctionsWeak.cpp) = c142b22c7aedb1f1a350423c391bc4c1147f5354
 SHA1 (patch-lib_fuzzer_FuzzerExtraCounters.cpp) = 52fefa927397acd7e83df06df7ec13d78f1c53b0
 SHA1 (patch-lib_fuzzer_FuzzerUtilLinux.cpp) = 30e0ead2deb98ac0a7f67403c47044ef6ec16185
diff --git a/compiler-rt-netbsd/patches/patch-lib_fuzzer_FuzzerDefs.h b/compiler-rt-netbsd/patches/patch-lib_fuzzer_FuzzerDefs.h
index 0e5e5e39c1..b616679d09 100644
--- a/compiler-rt-netbsd/patches/patch-lib_fuzzer_FuzzerDefs.h
+++ b/compiler-rt-netbsd/patches/patch-lib_fuzzer_FuzzerDefs.h
@@ -1,8 +1,8 @@
 $NetBSD$
 
---- lib/fuzzer/FuzzerDefs.h.orig	2017-08-21 23:23:37.000000000 +0000
+--- lib/fuzzer/FuzzerDefs.h.orig	2017-08-28 21:09:44.000000000 +0000
 +++ lib/fuzzer/FuzzerDefs.h
-@@ -23,14 +23,22 @@
+@@ -25,14 +25,22 @@
  #ifdef __linux__
  #define LIBFUZZER_APPLE 0
  #define LIBFUZZER_LINUX 1
@@ -25,3 +25,12 @@ $NetBSD$
  #define LIBFUZZER_WINDOWS 1
  #else
  #error "Support for your platform has not been implemented"
+@@ -42,7 +50,7 @@
+ #  define __has_attribute(x) 0
+ #endif
+ 
+-#define LIBFUZZER_POSIX LIBFUZZER_APPLE || LIBFUZZER_LINUX
++#define LIBFUZZER_POSIX (LIBFUZZER_APPLE || LIBFUZZER_LINUX || LIBFUZZER_NETBSD)
+ 
+ #ifdef __x86_64
+ #  if __has_attribute(target)


Home | Main Index | Thread Index | Old Index