svn commit: r281663 - in user/ngie/more-tests: contrib/netbsd-tests/lib/libpthread share/mk
Garrett Cooper
ngie at FreeBSD.org
Fri Apr 17 19:23:51 UTC 2015
Author: ngie
Date: Fri Apr 17 19:23:50 2015
New Revision: 281663
URL: https://svnweb.freebsd.org/changeset/base/281663
Log:
Fix the mips tinderbox by #include'ing sys/types.h for register_t
It dumbfounds me how every other architectures' header pollution is greater
than mips..
Modified:
user/ngie/more-tests/contrib/netbsd-tests/lib/libpthread/t_swapcontext.c
user/ngie/more-tests/share/mk/bsd.prog.mk
Directory Properties:
user/ngie/more-tests/ (props changed)
Modified: user/ngie/more-tests/contrib/netbsd-tests/lib/libpthread/t_swapcontext.c
==============================================================================
--- user/ngie/more-tests/contrib/netbsd-tests/lib/libpthread/t_swapcontext.c Fri Apr 17 19:21:11 2015 (r281662)
+++ user/ngie/more-tests/contrib/netbsd-tests/lib/libpthread/t_swapcontext.c Fri Apr 17 19:23:50 2015 (r281663)
@@ -28,6 +28,9 @@
#include <sys/cdefs.h>
__RCSID("$NetBSD");
+#ifdef __FreeBSD__
+#include <sys/types.h>
+#endif
#include <pthread.h>
#include <ucontext.h>
#include <stdio.h>
Modified: user/ngie/more-tests/share/mk/bsd.prog.mk
==============================================================================
--- user/ngie/more-tests/share/mk/bsd.prog.mk Fri Apr 17 19:21:11 2015 (r281662)
+++ user/ngie/more-tests/share/mk/bsd.prog.mk Fri Apr 17 19:23:50 2015 (r281663)
@@ -4,6 +4,12 @@
.include <bsd.init.mk>
.include <bsd.compiler.mk>
+.ifdef PROG
+PROGS:= ${PROG}
+.endif
+
+PROGS:= ${PROGS:O:u}
+
.SUFFIXES: .out .o .c .cc .cpp .cxx .C .m .y .l .ln .s .S .asm
# XXX The use of COPTS in modern makefiles is discouraged.
More information about the svn-src-user
mailing list