pkgsrc-WIP-changes archive

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

compiler-rt-git: Silent part of warnings in tests



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Tue Jul 4 22:47:17 2017 +0200
Changeset:	0ac7a44023a4a272da01327c48db9c0759d5af37

Modified Files:
	compiler-rt-git/Makefile
	compiler-rt-git/distinfo
	compiler-rt-git/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__posix.h
	compiler-rt-git/patches/patch-lib_sanitizer__common_sanitizer__syscall__generic.inc

Log Message:
compiler-rt-git: Silent part of warnings in tests

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=0ac7a44023a4a272da01327c48db9c0759d5af37

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

diffstat:
 compiler-rt-git/Makefile                                              | 1 +
 compiler-rt-git/distinfo                                              | 4 ++--
 .../patch-lib_sanitizer__common_sanitizer__platform__limits__posix.h  | 4 ++--
 .../patch-lib_sanitizer__common_sanitizer__syscall__generic.inc       | 2 +-
 4 files changed, 6 insertions(+), 5 deletions(-)

diffs:
diff --git a/compiler-rt-git/Makefile b/compiler-rt-git/Makefile
index 607ab5ccb0..3034dbc1f9 100644
--- a/compiler-rt-git/Makefile
+++ b/compiler-rt-git/Makefile
@@ -38,6 +38,7 @@ post-extract:
 	${RUN} mkdir -p ${WRKDIR}/build
 
 .include "../../wip/mk/git-package.mk"
+.include "../../devel/googletest/buildlink3.mk"
 DEPENDS+=	llvm-${PKGVERSION_NOREV}{,nb*}:../../wip/llvm-git
 .include "../../wip/llvm-git/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/compiler-rt-git/distinfo b/compiler-rt-git/distinfo
index 59a97a6397..3e3bc2cad0 100644
--- a/compiler-rt-git/distinfo
+++ b/compiler-rt-git/distinfo
@@ -34,10 +34,10 @@ SHA1 (patch-lib_sanitizer__common_sanitizer__netbsd.h) = a4b6a100cbff1d35c4bf40b
 SHA1 (patch-lib_sanitizer__common_sanitizer__platform.h) = ffb31dccce9824c81f3686de47c4b1e79bda3e1e
 SHA1 (patch-lib_sanitizer__common_sanitizer__platform__interceptors.h) = b985ae53dafddfc5b4112eae65cab49176fc1989
 SHA1 (patch-lib_sanitizer__common_sanitizer__platform__limits__posix.cc) = 216496ec38f40a1c1d6905e006039860c4c1d48d
-SHA1 (patch-lib_sanitizer__common_sanitizer__platform__limits__posix.h) = e08fe4e4ec66fa79c803b9c64014b921b37c01df
+SHA1 (patch-lib_sanitizer__common_sanitizer__platform__limits__posix.h) = 3f2b057d66ee112fd2cb3a198630ed51b255b57a
 SHA1 (patch-lib_sanitizer__common_sanitizer__posix.cc) = a561675ba1a7ef3b71d5c0af6521fb6a0f91f205
 SHA1 (patch-lib_sanitizer__common_sanitizer__procmaps.h) = 2bc9a7c32f0a7d18fe4d0d465b9b42547abbd989
 SHA1 (patch-lib_sanitizer__common_sanitizer__procmaps__common.cc) = 5a407e496f92dfd2dd78a3b2582d7c695e2547fb
 SHA1 (patch-lib_sanitizer__common_sanitizer__procmaps__netbsd.cc) = 83f8088cb990ebc5a85e319f1d4990d04196d67a
-SHA1 (patch-lib_sanitizer__common_sanitizer__syscall__generic.inc) = 16756d53b0df8d5fa3fc5a10ca02b0be2664628b
+SHA1 (patch-lib_sanitizer__common_sanitizer__syscall__generic.inc) = b9ab90fafcb14d589e02a2062fe7e978d6b7edbb
 SHA1 (patch-lib_sanitizer__common_sanitizer__unwind__linux__libcdep.cc) = cf7e016fff0f57e7bcae93696ec05e5cff7b7093
diff --git a/compiler-rt-git/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__posix.h b/compiler-rt-git/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__posix.h
index e419c0f4ce..7e939d6a26 100644
--- a/compiler-rt-git/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__posix.h
+++ b/compiler-rt-git/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__posix.h
@@ -489,7 +489,7 @@ $NetBSD$
 +    } _bf;
 +    int _lbfsize;
 +    void *_cookie;
-+    int (*_close)(void *);
++    int (*_close)(void *ptr);
 +    u64 (*_read)(void *, void *, uptr);
 +    u64 (*_seek)(void *, u64, int);
 +    uptr (*_write)(void *, const void *, uptr);
@@ -501,7 +501,7 @@ $NetBSD$
 +    int _ur;
 +    unsigned char _ubuf[3];
 +    unsigned char _nbuf[1];
-+    int (*_flush)(void *);
++    int (*_flush)(void *ptr);
 +    char _lb_unused[sizeof(uptr)];
 +    int _blksize;
 +    u64 _offset;
diff --git a/compiler-rt-git/patches/patch-lib_sanitizer__common_sanitizer__syscall__generic.inc b/compiler-rt-git/patches/patch-lib_sanitizer__common_sanitizer__syscall__generic.inc
index 6d45ab99f5..5a3029f57f 100644
--- a/compiler-rt-git/patches/patch-lib_sanitizer__common_sanitizer__syscall__generic.inc
+++ b/compiler-rt-git/patches/patch-lib_sanitizer__common_sanitizer__syscall__generic.inc
@@ -38,7 +38,7 @@ $NetBSD$
 +# else
 +#  define internal_syscall_ptr  syscall
 +# endif
-+#elif (SANITIZER_FREEBSD || SANITIZER_MAC) && defined(__x86_64__)
++#elif defined(__x86_64__) && (SANITIZER_FREEBSD || SANITIZER_MAC)
  # define internal_syscall __syscall
  # else
  # define internal_syscall syscall


Home | Main Index | Thread Index | Old Index