0
|
1 |
#!/bin/bash
|
|
2 |
#
|
|
3 |
# CDDL HEADER START
|
|
4 |
#
|
|
5 |
# The contents of this file are subject to the terms of the
|
|
6 |
# Common Development and Distribution License (the "License").
|
|
7 |
# You may not use this file except in compliance with the License.
|
|
8 |
#
|
|
9 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
|
|
10 |
# or http://www.opensolaris.org/os/licensing.
|
|
11 |
# See the License for the specific language governing permissions
|
|
12 |
# and limitations under the License.
|
|
13 |
#
|
|
14 |
# When distributing Covered Code, include this CDDL HEADER in each
|
|
15 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
|
|
16 |
# If applicable, add the following below this CDDL HEADER, with the
|
|
17 |
# fields enclosed by brackets "[]" replaced with your own identifying
|
|
18 |
# information: Portions Copyright [yyyy] [name of copyright owner]
|
|
19 |
#
|
|
20 |
# CDDL HEADER END
|
|
21 |
#
|
|
22 |
#
|
|
23 |
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
|
|
24 |
# Use is subject to license terms.
|
|
25 |
#
|
|
26 |
# ident "@(#)patch.sh 1.1 09/08/08 SMI"
|
|
27 |
#
|
|
28 |
|
|
29 |
if [ -f Solaris/apply_patches.sh ] ; then
|
|
30 |
chmod 0755 Solaris/apply_patches.sh
|
|
31 |
/bin/bash Solaris/apply_patches.sh
|
|
32 |
fi
|
|
33 |
|
|
34 |
for file in \
|
|
35 |
_cassert.h \
|
|
36 |
_cctype.h \
|
|
37 |
_cerrno.h \
|
|
38 |
_cfloat.h \
|
|
39 |
_clocale.h \
|
|
40 |
_cmath.h \
|
|
41 |
_csetjmp.h \
|
|
42 |
_csignal.h \
|
|
43 |
_cstdarg.h \
|
|
44 |
_cstddef.h \
|
|
45 |
_cstdio.h \
|
|
46 |
_cstdlib.h \
|
|
47 |
_cstring.h \
|
|
48 |
_ctime.h \
|
|
49 |
_cwchar.h \
|
|
50 |
_cwctype.h \
|
|
51 |
assert.h \
|
|
52 |
ctype.h \
|
|
53 |
errno.h \
|
|
54 |
float.h \
|
|
55 |
limits.h \
|
|
56 |
locale.h \
|
|
57 |
math.h \
|
|
58 |
setjmp.h \
|
|
59 |
signal.h \
|
|
60 |
stdarg.h \
|
|
61 |
stddef.h \
|
|
62 |
stdio.h \
|
|
63 |
stdlib.h \
|
|
64 |
string.h \
|
|
65 |
time.h \
|
|
66 |
wchar.h \
|
|
67 |
wctype.h
|
|
68 |
do
|
|
69 |
if [ -f include/ansi/$file ] ; then
|
|
70 |
rm -f include/ansi/$file
|
|
71 |
fi
|
|
72 |
done
|
|
73 |
|
|
74 |
|