PatchPerl revision 7c478bd95313f5f23a4c958a745db2134aa03244
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
#
# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "%Z%%M% %I% %E% SMI"
#
# This script takes a file mapping CSV file as input (see Flist.csv for an
# example) and copies all the changed files from a stock perl build directory
# into an ON workspace. If you are patching perl, make sure to run
# 'ConfigPerl; make regen_headers; make; make test' before running this script.
# Note also that if the patches include new files they will NOT be dealt with
# correctly by this script - you should update fhe Flist.csv file and copy the
# files across manually. Also, it will be necessary to manually generate and
# check in the appropriate config.h file for other architectures.
#
use 5.6.1;
use strict;
use warnings;
# Read in the mapping file
print("Scanning for files to be patched, please wait.\n");
;
}
}
# Process the mappings, looking for files to patch.
my @patchfiles;
# If it is to go into the s9 distrib directory
}
# If it is to go into the s9 arch directory
}
}
}
}
print("Patching files:\n");
$pf =~ s!^\./!!;
}