CVS commit: src/usr.sbin/rtadvd

2013-05-17 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri May 17 07:53:05 UTC 2013

Modified Files:
src/usr.sbin/rtadvd: rrenum.c

Log Message:
Fix typo. Reported in PR/47823.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/usr.sbin/rtadvd/rrenum.c

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

Modified files:

Index: src/usr.sbin/rtadvd/rrenum.c
diff -u src/usr.sbin/rtadvd/rrenum.c:1.15 src/usr.sbin/rtadvd/rrenum.c:1.16
--- src/usr.sbin/rtadvd/rrenum.c:1.15	Thu Dec 13 15:36:36 2012
+++ src/usr.sbin/rtadvd/rrenum.c	Fri May 17 07:53:05 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: rrenum.c,v 1.15 2012/12/13 15:36:36 roy Exp $	*/
+/*	$NetBSD: rrenum.c,v 1.16 2013/05/17 07:53:05 skrll Exp $	*/
 /*	$KAME: rrenum.c,v 1.14 2004/06/14 05:36:00 itojun Exp $	*/
 
 /*
@@ -310,7 +310,7 @@ do_rr(size_t len, struct icmp6_router_re
 		if (len  sizeof(struct rr_pco_match)) {
 		tooshort:
 			syslog(LOG_ERR, %s pkt too short. left len = %zd. 
-			   gabage at end of pkt?, __func__, len);
+			   garbage at end of pkt?, __func__, len);
 			return 1;
 		}
 		rpmlen = rpm-rpm_len  3;



CVS commit: src/sys/dev/ic

2013-05-17 Thread Marc Balmer
Module Name:src
Committed By:   mbalmer
Date:   Fri May 17 10:48:54 UTC 2013

Modified Files:
src/sys/dev/ic: mb86960.c

Log Message:
gabage - garbage, fix wording.


To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 src/sys/dev/ic/mb86960.c

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

Modified files:

Index: src/sys/dev/ic/mb86960.c
diff -u src/sys/dev/ic/mb86960.c:1.78 src/sys/dev/ic/mb86960.c:1.79
--- src/sys/dev/ic/mb86960.c:1.78	Thu Feb  2 19:43:03 2012
+++ src/sys/dev/ic/mb86960.c	Fri May 17 10:48:54 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: mb86960.c,v 1.78 2012/02/02 19:43:03 tls Exp $	*/
+/*	$NetBSD: mb86960.c,v 1.79 2013/05/17 10:48:54 mbalmer Exp $	*/
 
 /*
  * All Rights Reserved, Copyright (C) Fujitsu Limited 1995
@@ -32,7 +32,7 @@
  */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: mb86960.c,v 1.78 2012/02/02 19:43:03 tls Exp $);
+__KERNEL_RCSID(0, $NetBSD: mb86960.c,v 1.79 2013/05/17 10:48:54 mbalmer Exp $);
 
 /*
  * Device driver for Fujitsu MB86960A/MB86965A based Ethernet cards.
@@ -675,7 +675,7 @@ mb86960_start(struct ifnet *ifp)
 		 * reset the entire interface.  I don't want to do it.)
 		 *
 		 * If txb_count is incorrect, leaving it as is will cause
-		 * sending of gabages after next interrupt.  We have to
+		 * sending of garbage after the next interrupt.  We have to
 		 * avoid it.  Hence, we reset the txb_count here.  If
 		 * txb_free was incorrect, resetting txb_count just loose
 		 * some packets.  We can live with it.



CVS commit: src

2013-05-17 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri May 17 12:55:57 UTC 2013

Modified Files:
src/common/lib/libc/stdlib: _strtol.h _strtoul.h
src/include: locale.h
src/lib/libc/gdtoa: strtod.c strtof.c strtof_vaxf.c strtold_subr.c
src/lib/libc/gen: isctype.c
src/lib/libc/locale: Makefile.inc _wcstod.h _wcstol.h _wcstoul.h
freelocale.c global_locale.c iswctype_mb.c localeconv.c
multibyte_amd1.c multibyte_c90.c nb_lc_template.h newlocale.c
setlocale.c setlocale_local.h wcscoll.c wcsxfrm.c
src/lib/libc/stdio: vasprintf.c vdprintf.c vfscanf.c vfwprintf.c
vfwscanf.c vsnprintf.c vsprintf.c vsscanf.c vswprintf.c vswscanf.c
src/lib/libc/string: strcoll.c strxfrm.c wcscasecmp.c wcsncasecmp.c
src/lib/libc/time: strftime.c strptime.c
Removed Files:
src/lib/libc/locale: c_locale.c current_locale.c

Log Message:
Provide explicit LC_C_LOCALE accessor and drop the various NULL checks.
Provide LC_GLOBAL_LOCALE in a way that works with all locale functions.
Merge constant data used by the initial global locale and the C locale.
Drop function call layer for _current_locale() and directly return the
locale reference, not a pointer to it. Use protected access for global
variables, so that libc references can avoid the GOT overhead.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/common/lib/libc/stdlib/_strtol.h \
src/common/lib/libc/stdlib/_strtoul.h
cvs rdiff -u -r1.21 -r1.22 src/include/locale.h
cvs rdiff -u -r1.13 -r1.14 src/lib/libc/gdtoa/strtod.c
cvs rdiff -u -r1.6 -r1.7 src/lib/libc/gdtoa/strtof.c
cvs rdiff -u -r1.7 -r1.8 src/lib/libc/gdtoa/strtof_vaxf.c
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/gdtoa/strtold_subr.c
cvs rdiff -u -r1.23 -r1.24 src/lib/libc/gen/isctype.c
cvs rdiff -u -r1.62 -r1.63 src/lib/libc/locale/Makefile.inc \
src/lib/libc/locale/setlocale.c
cvs rdiff -u -r1.3 -r1.4 src/lib/libc/locale/_wcstod.h \
src/lib/libc/locale/wcscoll.c
cvs rdiff -u -r1.5 -r1.6 src/lib/libc/locale/_wcstol.h \
src/lib/libc/locale/_wcstoul.h src/lib/libc/locale/nb_lc_template.h
cvs rdiff -u -r1.2 -r0 src/lib/libc/locale/c_locale.c
cvs rdiff -u -r1.4 -r0 src/lib/libc/locale/current_locale.c
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/locale/freelocale.c \
src/lib/libc/locale/newlocale.c
cvs rdiff -u -r1.16 -r1.17 src/lib/libc/locale/global_locale.c
cvs rdiff -u -r1.12 -r1.13 src/lib/libc/locale/iswctype_mb.c
cvs rdiff -u -r1.20 -r1.21 src/lib/libc/locale/localeconv.c
cvs rdiff -u -r1.11 -r1.12 src/lib/libc/locale/multibyte_amd1.c \
src/lib/libc/locale/setlocale_local.h
cvs rdiff -u -r1.9 -r1.10 src/lib/libc/locale/multibyte_c90.c
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/locale/wcsxfrm.c
cvs rdiff -u -r1.15 -r1.16 src/lib/libc/stdio/vasprintf.c
cvs rdiff -u -r1.3 -r1.4 src/lib/libc/stdio/vdprintf.c
cvs rdiff -u -r1.44 -r1.45 src/lib/libc/stdio/vfscanf.c
cvs rdiff -u -r1.31 -r1.32 src/lib/libc/stdio/vfwprintf.c
cvs rdiff -u -r1.9 -r1.10 src/lib/libc/stdio/vfwscanf.c
cvs rdiff -u -r1.26 -r1.27 src/lib/libc/stdio/vsnprintf.c
cvs rdiff -u -r1.18 -r1.19 src/lib/libc/stdio/vsprintf.c
cvs rdiff -u -r1.20 -r1.21 src/lib/libc/stdio/vsscanf.c
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/stdio/vswprintf.c
cvs rdiff -u -r1.11 -r1.12 src/lib/libc/stdio/vswscanf.c
cvs rdiff -u -r1.11 -r1.12 src/lib/libc/string/strcoll.c
cvs rdiff -u -r1.13 -r1.14 src/lib/libc/string/strxfrm.c
cvs rdiff -u -r1.3 -r1.4 src/lib/libc/string/wcscasecmp.c \
src/lib/libc/string/wcsncasecmp.c
cvs rdiff -u -r1.25 -r1.26 src/lib/libc/time/strftime.c
cvs rdiff -u -r1.37 -r1.38 src/lib/libc/time/strptime.c

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

Modified files:

Index: src/common/lib/libc/stdlib/_strtol.h
diff -u src/common/lib/libc/stdlib/_strtol.h:1.6 src/common/lib/libc/stdlib/_strtol.h:1.7
--- src/common/lib/libc/stdlib/_strtol.h:1.6	Fri Apr 26 21:20:48 2013
+++ src/common/lib/libc/stdlib/_strtol.h	Fri May 17 12:55:56 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: _strtol.h,v 1.6 2013/04/26 21:20:48 joerg Exp $ */
+/* $NetBSD: _strtol.h,v 1.7 2013/05/17 12:55:56 joerg Exp $ */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -192,14 +192,12 @@ INT_FUNCNAME(_int_, _FUNCNAME, _l)(const
 __INT
 _FUNCNAME(const char *nptr, char **endptr, int base)
 {
-	return INT_FUNCNAME(_int_, _FUNCNAME, _l)(nptr, endptr, base, *_current_locale());
+	return INT_FUNCNAME(_int_, _FUNCNAME, _l)(nptr, endptr, base, _current_locale());
 }
 
 __INT
 INT_FUNCNAME(, _FUNCNAME, _l)(const char *nptr, char **endptr, int base, locale_t loc)
 {
-	if (loc == NULL)
-		loc = _C_locale;
 	return INT_FUNCNAME(_int_, _FUNCNAME, _l)(nptr, endptr, base, loc);
 }
 #endif
Index: src/common/lib/libc/stdlib/_strtoul.h
diff -u src/common/lib/libc/stdlib/_strtoul.h:1.6 src/common/lib/libc/stdlib/_strtoul.h:1.7
--- src/common/lib/libc/stdlib/_strtoul.h:1.6	Fri Apr 26 21:20:48 2013
+++ 

CVS commit: src/include

2013-05-17 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri May 17 13:00:40 UTC 2013

Modified Files:
src/include: locale.h

Log Message:
Only provide LC_C_LOCALE under _NETBSD_SOURCE.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/include/locale.h

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

Modified files:

Index: src/include/locale.h
diff -u src/include/locale.h:1.22 src/include/locale.h:1.23
--- src/include/locale.h:1.22	Fri May 17 12:55:57 2013
+++ src/include/locale.h	Fri May 17 13:00:40 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: locale.h,v 1.22 2013/05/17 12:55:57 joerg Exp $	*/
+/*	$NetBSD: locale.h,v 1.23 2013/05/17 13:00:40 joerg Exp $	*/
 
 /*
  * Copyright (c) 1991, 1993
@@ -108,12 +108,19 @@ locale_t	newlocale(int, const char *, lo
 
 #ifndef _LIBC
 extern struct _locale	_lc_global_locale;
-extern const struct _locale _lc_C_locale;
 #else
 extern __dso_protected struct _locale	_lc_global_locale;
-extern __dso_protected const struct _locale _lc_C_locale;
 #endif
 #define LC_GLOBAL_LOCALE	(_lc_global_locale)
+#endif
+#endif /* _POSIX_SOURCE = 200809 || _NETBSD_SOURCE */
+
+#if defined(_NETBSD_SOURCE)
+#  ifndef _LIBC
+extern const struct _locale _lc_C_locale;
+#  else
+extern __dso_protected const struct _locale _lc_C_locale;
+#  endif
 #define LC_C_LOCALE		((locale_t)__UNCONST(_lc_C_locale))
 #endif
 __END_DECLS



CVS commit: src/include

2013-05-17 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri May 17 14:11:55 UTC 2013

Modified Files:
src/include: locale.h

Log Message:
Too many endif.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/include/locale.h

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

Modified files:

Index: src/include/locale.h
diff -u src/include/locale.h:1.23 src/include/locale.h:1.24
--- src/include/locale.h:1.23	Fri May 17 13:00:40 2013
+++ src/include/locale.h	Fri May 17 14:11:55 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: locale.h,v 1.23 2013/05/17 13:00:40 joerg Exp $	*/
+/*	$NetBSD: locale.h,v 1.24 2013/05/17 14:11:55 joerg Exp $	*/
 
 /*
  * Copyright (c) 1991, 1993
@@ -112,7 +112,6 @@ extern struct _locale	_lc_global_locale;
 extern __dso_protected struct _locale	_lc_global_locale;
 #endif
 #define LC_GLOBAL_LOCALE	(_lc_global_locale)
-#endif
 #endif /* _POSIX_SOURCE = 200809 || _NETBSD_SOURCE */
 
 #if defined(_NETBSD_SOURCE)



CVS commit: src/tests/usr.bin/grep

2013-05-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 17 15:39:17 UTC 2013

Modified Files:
src/tests/usr.bin/grep: t_grep.sh

Log Message:
PR/47825: Garrett Cooper: Fix hardcoding of NetBSD in t_grep.sh


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/usr.bin/grep/t_grep.sh

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

Modified files:

Index: src/tests/usr.bin/grep/t_grep.sh
diff -u src/tests/usr.bin/grep/t_grep.sh:1.1 src/tests/usr.bin/grep/t_grep.sh:1.2
--- src/tests/usr.bin/grep/t_grep.sh:1.1	Sat Mar 17 12:33:13 2012
+++ src/tests/usr.bin/grep/t_grep.sh	Fri May 17 11:39:17 2013
@@ -1,4 +1,4 @@
-# $NetBSD: t_grep.sh,v 1.1 2012/03/17 16:33:13 jruoho Exp $
+# $NetBSD: t_grep.sh,v 1.2 2013/05/17 15:39:17 christos Exp $
 #
 # Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -43,7 +43,7 @@ binary_head()
 }
 binary_body()
 {
-	atf_check -o file:$(atf_get_srcdir)/d_binary.out grep NetBSD /bin/sh
+	atf_check -o file:$(atf_get_srcdir)/d_binary.out grep $(uname) /bin/sh
 }
 
 atf_test_case recurse



CVS commit: src/tests

2013-05-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 17 15:42:09 UTC 2013

Modified Files:
src/tests: h_macros.h

Log Message:
PR/47826: Garrett Cooper: Add sys/types.h. Really I am tempted to remove
this file instead.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/tests/h_macros.h

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

Modified files:

Index: src/tests/h_macros.h
diff -u src/tests/h_macros.h:1.8 src/tests/h_macros.h:1.9
--- src/tests/h_macros.h:1.8	Wed Mar 14 22:02:22 2012
+++ src/tests/h_macros.h	Fri May 17 11:42:09 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: h_macros.h,v 1.8 2012/03/15 02:02:22 joerg Exp $ */
+/* $NetBSD: h_macros.h,v 1.9 2013/05/17 15:42:09 christos Exp $ */
 
 /*-
  * Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -29,6 +29,7 @@
 #ifndef SRC_TESTS_H_MACROS_H_
 #define SRC_TESTS_H_MACROS_H_
 
+#include sys/types.h
 #include errno.h
 #include stdarg.h
 #include stdio.h



CVS commit: src/share/misc

2013-05-17 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Fri May 17 17:43:05 UTC 2013

Modified Files:
src/share/misc: acronyms acronyms.comp

Log Message:
FTL


To generate a diff of this commit:
cvs rdiff -u -r1.214 -r1.215 src/share/misc/acronyms
cvs rdiff -u -r1.133 -r1.134 src/share/misc/acronyms.comp

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

Modified files:

Index: src/share/misc/acronyms
diff -u src/share/misc/acronyms:1.214 src/share/misc/acronyms:1.215
--- src/share/misc/acronyms:1.214	Wed Jan 23 12:34:45 2013
+++ src/share/misc/acronyms	Fri May 17 17:43:04 2013
@@ -1,4 +1,4 @@
-$NetBSD: acronyms,v 1.214 2013/01/23 12:34:45 wiz Exp $
+$NetBSD: acronyms,v 1.215 2013/05/17 17:43:04 dholland Exp $
 10Q	thank you
 10X	thanks
 1337	elite (leet)
@@ -151,6 +151,7 @@ FTFA	from the fucking article
 FTFM	fuck the fuckin' manual!
 FTFY	fixed that for you
 FTHOI	for the {heck,hell} of it
+FTL	faster than light
 FTL	for the loss
 FTMFW	for the motherfucking win
 FTS	fuck that shit

Index: src/share/misc/acronyms.comp
diff -u src/share/misc/acronyms.comp:1.133 src/share/misc/acronyms.comp:1.134
--- src/share/misc/acronyms.comp:1.133	Tue Apr 16 14:03:33 2013
+++ src/share/misc/acronyms.comp	Fri May 17 17:43:04 2013
@@ -1,4 +1,4 @@
-$NetBSD: acronyms.comp,v 1.133 2013/04/16 14:03:33 ginsbach Exp $
+$NetBSD: acronyms.comp,v 1.134 2013/05/17 17:43:04 dholland Exp $
 3WHS	three-way handshake
 8VSB	8-state vestigial side band modulation
 AA	anti-aliasing
@@ -437,6 +437,7 @@ FSF	Free Software Foundation
 FSK	frequency shift keying
 FSM	finite-state machine
 FTA	fault tree analysis
+FTL	flash translation layer
 FTP	File Transfer Protocol
 FTPS	File Transfer Protocol Secure
 FUS	fast user switching



CVS commit: src/external/bsd/libc++/lib

2013-05-17 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri May 17 22:57:27 UTC 2013

Modified Files:
src/external/bsd/libc++/lib: Makefile

Log Message:
Prefer libcxxrt's typeinfo.cc. Do not use cxa_atexit.c, it is only for
Solaris. Do not use libcxxrt's memory.cc, the same content is already
provided by libc++ in new.cpp and that version agrees with the
overwriting rules for the operators from C++11.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/libc++/lib/Makefile

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

Modified files:

Index: src/external/bsd/libc++/lib/Makefile
diff -u src/external/bsd/libc++/lib/Makefile:1.2 src/external/bsd/libc++/lib/Makefile:1.3
--- src/external/bsd/libc++/lib/Makefile:1.2	Tue Apr 30 00:34:15 2013
+++ src/external/bsd/libc++/lib/Makefile	Fri May 17 22:57:27 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2013/04/30 00:34:15 joerg Exp $
+#	$NetBSD: Makefile,v 1.3 2013/05/17 22:57:27 joerg Exp $
 
 LIB=		c++
 WARNS=		4
@@ -11,12 +11,15 @@ NOLINT=		# defined
 SRCS=	algorithm.cpp bind.cpp chrono.cpp condition_variable.cpp debug.cpp \
 	exception.cpp future.cpp hash.cpp ios.cpp iostream.cpp locale.cpp \
 	memory.cpp mutex.cpp new.cpp random.cpp regex.cpp stdexcept.cpp \
-	string.cpp strstream.cpp system_error.cpp thread.cpp typeinfo.cpp \
+	string.cpp strstream.cpp system_error.cpp thread.cpp \
 	utility.cpp valarray.cpp
+# typeinfo.cc: prefer libcxxrt's version
 
 LIBCXXRT_SRCS+= \
-	auxhelper.cc dynamic_cast.cc exception.cc guard.cc memory.cc \
-	stdexcept.cc terminate.cc typeinfo.cc cxa_atexit.c libelftc_dem_gnu3.c
+	auxhelper.cc dynamic_cast.cc exception.cc guard.cc \
+	stdexcept.cc terminate.cc typeinfo.cc libelftc_dem_gnu3.c
+# cxa_atexit.c: Solaris-only
+# memory.cc: already provided by libc++'s new.cpp
 
 .for src in ${LIBCXXRT_SRCS}
 rt_${src}: ${LIBCXXRT_SRCDIR}/src/${src}



CVS commit: src

2013-05-17 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri May 17 22:59:29 UTC 2013

Modified Files:
src/distrib/sets/lists/comp: mi
src/external/bsd/libc++/include: Makefile

Log Message:
Install cxxabi.h with libc++.


To generate a diff of this commit:
cvs rdiff -u -r1.1820 -r1.1821 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.1 -r1.2 src/external/bsd/libc++/include/Makefile

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

Modified files:

Index: src/distrib/sets/lists/comp/mi
diff -u src/distrib/sets/lists/comp/mi:1.1820 src/distrib/sets/lists/comp/mi:1.1821
--- src/distrib/sets/lists/comp/mi:1.1820	Thu May  2 13:30:10 2013
+++ src/distrib/sets/lists/comp/mi	Fri May 17 22:59:29 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: mi,v 1.1820 2013/05/02 13:30:10 matt Exp $
+#	$NetBSD: mi,v 1.1821 2013/05/17 22:59:29 joerg Exp $
 #
 # Note: don't delete entries from here - mark them as obsolete instead.
 #
@@ -227,6 +227,7 @@
 ./usr/include/c++/cassert			comp-cxx-include	libcxx
 ./usr/include/c++/ccomplex			comp-cxx-include	libcxx
 ./usr/include/c++/cctype			comp-cxx-include	libcxx
+./usr/include/c++/cxxabi.h			comp-cxx-include	libcxx
 ./usr/include/c++/cerrno			comp-cxx-include	libcxx
 ./usr/include/c++/cfenvcomp-cxx-include	libcxx
 ./usr/include/c++/cfloat			comp-cxx-include	libcxx

Index: src/external/bsd/libc++/include/Makefile
diff -u src/external/bsd/libc++/include/Makefile:1.1 src/external/bsd/libc++/include/Makefile:1.2
--- src/external/bsd/libc++/include/Makefile:1.1	Sat Apr 27 23:02:21 2013
+++ src/external/bsd/libc++/include/Makefile	Fri May 17 22:59:29 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.1 2013/04/27 23:02:21 joerg Exp $
+#	$NetBSD: Makefile,v 1.2 2013/05/17 22:59:29 joerg Exp $
 
 .include bsd.init.mk
 
@@ -104,10 +104,18 @@ INCS=	__bit_reference \
 	hash_map \
 	hash_set
 
+INCS+=		cxxabi.h
+
 INCSDIR=	/usr/include/c++
 .for f in __hash hash_map hash_set
 INCSDIR_${f}=	/usr/include/c++/ext
 .endfor
 
+cxxabi.h: ${LIBCXXRT_SRCDIR}/src/cxxabi.h
+	cp ${LIBCXXRT_SRCDIR}/src/cxxabi.h .
+
+DPSRCS+=	cxxabi.h
+CLEANFILES+=	cxxabi.h
+
 .include bsd.inc.mk
 .include bsd.obj.mk



CVS commit: src/external/bsd/libc++

2013-05-17 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri May 17 23:00:22 UTC 2013

Added Files:
src/external/bsd/libc++: prepare-import.sh

Log Message:
Add cleanup scripts for future imports.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/external/bsd/libc++/prepare-import.sh

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

Added files:

Index: src/external/bsd/libc++/prepare-import.sh
diff -u /dev/null src/external/bsd/libc++/prepare-import.sh:1.1
--- /dev/null	Fri May 17 23:00:22 2013
+++ src/external/bsd/libc++/prepare-import.sh	Fri May 17 23:00:22 2013
@@ -0,0 +1,15 @@
+#!/bin/sh
+# $NetBSD: prepare-import.sh,v 1.1 2013/05/17 23:00:22 joerg Exp $
+#
+# Checkout libc++ and libcxxrt in the corresponding subdirectories of
+# dist.  Run this script and check for additional files and
+# directories to prune, only relevant content should be included.
+
+set -e
+
+cd dist/libcxx
+rm -rf .svn cmake Makefile CMakeLists.txt lib src/support www .arcconfig
+rm -rf include/support
+cd ../libcxxrt
+rm -rf .git CMakeLists.txt */CMakeLists.txt src/doxygen_config
+



CVS import: src/external/bsd/libc++/dist/libcxxrt

2013-05-17 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri May 17 23:04:39 UTC 2013

Update of /cvsroot/src/external/bsd/libc++/dist/libcxxrt
In directory ivanova.netbsd.org:/tmp/cvs-serv2841

Log Message:
Import libcxxrt b2396b5945d7a2697c4762c3e52dc6f732b2eebd from
https://github.com/pathscale/libcxxrt/.

Status:

Vendor Tag: PATHSCALE
Release Tags:   libcxxrt-b2396b5945d7a2697c4762c3e52dc6f732b2eebd

N src/external/bsd/libc++/dist/libcxxrt/AUTHORS
N src/external/bsd/libc++/dist/libcxxrt/COPYRIGHT
N src/external/bsd/libc++/dist/libcxxrt/LICENSE
N src/external/bsd/libc++/dist/libcxxrt/README
N src/external/bsd/libc++/dist/libcxxrt/src/abi_namespace.h
N src/external/bsd/libc++/dist/libcxxrt/src/atomic.h
N src/external/bsd/libc++/dist/libcxxrt/src/auxhelper.cc
N src/external/bsd/libc++/dist/libcxxrt/src/cxa_atexit.c
N src/external/bsd/libc++/dist/libcxxrt/src/cxa_finalize.c
N src/external/bsd/libc++/dist/libcxxrt/src/cxxabi.h
N src/external/bsd/libc++/dist/libcxxrt/src/dwarf_eh.h
N src/external/bsd/libc++/dist/libcxxrt/src/dynamic_cast.cc
N src/external/bsd/libc++/dist/libcxxrt/src/exception.cc
N src/external/bsd/libc++/dist/libcxxrt/src/guard.cc
N src/external/bsd/libc++/dist/libcxxrt/src/libelftc_dem_gnu3.c
N src/external/bsd/libc++/dist/libcxxrt/src/memory.cc
N src/external/bsd/libc++/dist/libcxxrt/src/stdexcept.cc
N src/external/bsd/libc++/dist/libcxxrt/src/stdexcept.h
N src/external/bsd/libc++/dist/libcxxrt/src/terminate.cc
N src/external/bsd/libc++/dist/libcxxrt/src/typeinfo.cc
N src/external/bsd/libc++/dist/libcxxrt/src/typeinfo.h
N src/external/bsd/libc++/dist/libcxxrt/src/unwind-arm.h
N src/external/bsd/libc++/dist/libcxxrt/src/unwind-itanium.h
N src/external/bsd/libc++/dist/libcxxrt/src/unwind.h
N src/external/bsd/libc++/dist/libcxxrt/test/run_test.sh
N src/external/bsd/libc++/dist/libcxxrt/test/test.cc
N src/external/bsd/libc++/dist/libcxxrt/test/test.h
N src/external/bsd/libc++/dist/libcxxrt/test/test_exception.cc
N src/external/bsd/libc++/dist/libcxxrt/test/test_guard.cc
N src/external/bsd/libc++/dist/libcxxrt/test/test_typeinfo.cc

No conflicts created by this import