usr/src/lib/stdcxx4/Solaris/patch.sh
changeset 0 b34509ac961f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/usr/src/lib/stdcxx4/Solaris/patch.sh	Wed Oct 21 17:43:30 2009 +0200
@@ -0,0 +1,74 @@
+#!/bin/bash
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
+# Use is subject to license terms.
+#
+# ident	"@(#)patch.sh	1.1	09/08/08 SMI"
+#
+
+if [ -f Solaris/apply_patches.sh ] ; then
+    chmod 0755 Solaris/apply_patches.sh
+    /bin/bash Solaris/apply_patches.sh
+fi
+
+for file in \
+    _cassert.h \
+    _cctype.h \
+    _cerrno.h \
+    _cfloat.h \
+    _clocale.h \
+    _cmath.h \
+    _csetjmp.h \
+    _csignal.h \
+    _cstdarg.h \
+    _cstddef.h \
+    _cstdio.h \
+    _cstdlib.h \
+    _cstring.h \
+    _ctime.h \
+    _cwchar.h \
+    _cwctype.h \
+    assert.h \
+    ctype.h \
+    errno.h \
+    float.h \
+    limits.h \
+    locale.h \
+    math.h \
+    setjmp.h \
+    signal.h \
+    stdarg.h \
+    stddef.h \
+    stdio.h \
+    stdlib.h \
+    string.h \
+    time.h \
+    wchar.h \
+    wctype.h
+do
+    if [ -f include/ansi/$file ] ; then
+        rm -f include/ansi/$file
+    fi
+done
+
+