Check-in [8ed457fd51]
Overview
Comment:Fixed rewriting relative paths to headers and added various patches
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 8ed457fd51435294ea76f8b3678237e979fafa14
User & Date: rkeene on 2014-05-17 04:39:52.961
Original Comment: Fixed rewriting relative paths to headers
Other Links: manifest | tags
Context
2014-05-17
05:00
Updated to compile on ARM -- requires libgcc symbols, however check-in: f0540f631f user: rkeene tags: trunk
04:39
Fixed rewriting relative paths to headers and added various patches check-in: 8ed457fd51 user: rkeene tags: trunk
2014-05-12
03:19
Updated to fallback to SHA1 if SHA256 is unavailable check-in: 3c8c30b6bf user: rkeene tags: trunk
Changes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/^# [0-9][0-9]* /{
	file = $3;

	gsub(/^"/, "", file);
	gsub(/"$/, "", file);

	while(gsub(/\/[^\/]*\/\.\.\//, "/", file)) {}

	destfile = file;
	if (!gsub(/^.*\/gcc\/.*\/include\//, "gcc/", destfile)) {
		if (!gsub(/^.*\/include\//, "", destfile)) {
			if (!gsub(/^.*\/include-fixed\//, "fix/", destfile)) {
				next
			}






|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
/^# [0-9][0-9]* /{
	file = $3;

	gsub(/^"/, "", file);
	gsub(/"$/, "", file);

	while(sub(/\/\/*[^\/]*\/\.\.\/\/*/, "/", file)) {}

	destfile = file;
	if (!gsub(/^.*\/gcc\/.*\/include\//, "gcc/", destfile)) {
		if (!gsub(/^.*\/include\//, "", destfile)) {
			if (!gsub(/^.*\/include-fixed\//, "fix/", destfile)) {
				next
			}