Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:verhaegs:branches:home:verhaegs:amixdev
ppc-morphos-gcc
0010-remove-hard-coded-path.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0010-remove-hard-coded-path.patch of Package ppc-morphos-gcc
From 1125172e7051bb41ef7f21a4a5efba4b945a8ae7 Mon Sep 17 00:00:00 2001 From: Marek Szyprowski <marek@amiga.pl> Date: Sun, 31 Oct 2010 15:25:38 +0100 Subject: [PATCH] remove hard coded path gcc/gengtype-lex.c contains hard coded path /d/gcc-4.4.4/gcc-4.4.4, which causes problems with MorphOS native build (with gcc-2.95 from Jun 2010 SDK) --- gcc/gengtype-lex.c | 106 ++++++++++++++++++++++++++-------------------------- 1 files changed, 53 insertions(+), 53 deletions(-) diff --git a/gcc/gengtype-lex.c b/gcc/gengtype-lex.c index c91f963..2bd8d77 100644 --- a/gcc/gengtype-lex.c +++ b/gcc/gengtype-lex.c @@ -936,7 +936,7 @@ int yy_flex_debug = 0; #define YY_MORE_ADJ 0 #define YY_RESTORE_YY_MORE_OFFSET char *yytext; -#line 1 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 1 "../../gcc/gengtype-lex.l" /* -*- indented-text -*- */ /* Process source files and output type information. Copyright (C) 2002, 2003, 2004, 2005, 2007, 2008, 2009 @@ -957,7 +957,7 @@ for more details. You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see <http://www.gnu.org/licenses/>. */ -#line 23 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 23 "../../gcc/gengtype-lex.l" #include "bconfig.h" #include "system.h" @@ -1168,7 +1168,7 @@ YY_DECL register char *yy_cp, *yy_bp; register int yy_act; -#line 58 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 58 "../../gcc/gengtype-lex.l" /* Do this on entry to yylex(): */ *yylval = 0; @@ -1265,7 +1265,7 @@ case 1: (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 69 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 69 "../../gcc/gengtype-lex.l" { BEGIN(in_struct); return TYPEDEF; @@ -1277,7 +1277,7 @@ case 2: (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 73 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 73 "../../gcc/gengtype-lex.l" { BEGIN(in_struct); return STRUCT; @@ -1289,7 +1289,7 @@ case 3: (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 77 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 77 "../../gcc/gengtype-lex.l" { BEGIN(in_struct); return UNION; @@ -1301,7 +1301,7 @@ case 4: (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 81 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 81 "../../gcc/gengtype-lex.l" { BEGIN(in_struct); return EXTERN; @@ -1313,7 +1313,7 @@ case 5: (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 85 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 85 "../../gcc/gengtype-lex.l" { BEGIN(in_struct); return STATIC; @@ -1325,7 +1325,7 @@ case 6: (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 90 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 90 "../../gcc/gengtype-lex.l" { BEGIN(in_struct); return DEFVEC_OP; @@ -1337,7 +1337,7 @@ case 7: (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 94 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 94 "../../gcc/gengtype-lex.l" { BEGIN(in_struct); return DEFVEC_I; @@ -1349,7 +1349,7 @@ case 8: (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 98 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 98 "../../gcc/gengtype-lex.l" { BEGIN(in_struct); return DEFVEC_ALLOC; @@ -1359,19 +1359,19 @@ YY_RULE_SETUP case 9: YY_RULE_SETUP -#line 106 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 106 "../../gcc/gengtype-lex.l" { BEGIN(in_struct_comment); } YY_BREAK case 10: /* rule 10 can match eol */ YY_RULE_SETUP -#line 108 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 108 "../../gcc/gengtype-lex.l" { update_lineno (yytext, yyleng); } YY_BREAK case 11: /* rule 11 can match eol */ YY_RULE_SETUP -#line 109 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 109 "../../gcc/gengtype-lex.l" { lexer_line.line++; } YY_BREAK case 12: @@ -1380,7 +1380,7 @@ case 12: (yy_c_buf_p) = yy_cp = yy_bp + 5; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 111 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 111 "../../gcc/gengtype-lex.l" /* don't care */ YY_BREAK case 13: @@ -1389,7 +1389,7 @@ case 13: (yy_c_buf_p) = yy_cp = yy_bp + 3; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 112 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 112 "../../gcc/gengtype-lex.l" { return GTY_TOKEN; } YY_BREAK case 14: @@ -1398,7 +1398,7 @@ case 14: (yy_c_buf_p) = yy_cp = yy_bp + 3; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 113 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 113 "../../gcc/gengtype-lex.l" { return VEC_TOKEN; } YY_BREAK case 15: @@ -1407,7 +1407,7 @@ case 15: (yy_c_buf_p) = yy_cp = yy_bp + 5; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 114 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 114 "../../gcc/gengtype-lex.l" { return UNION; } YY_BREAK case 16: @@ -1416,7 +1416,7 @@ case 16: (yy_c_buf_p) = yy_cp = yy_bp + 6; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 115 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 115 "../../gcc/gengtype-lex.l" { return STRUCT; } YY_BREAK case 17: @@ -1425,7 +1425,7 @@ case 17: (yy_c_buf_p) = yy_cp = yy_bp + 4; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 116 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 116 "../../gcc/gengtype-lex.l" { return ENUM; } YY_BREAK case 18: @@ -1434,7 +1434,7 @@ case 18: (yy_c_buf_p) = yy_cp = yy_bp + 9; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 117 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 117 "../../gcc/gengtype-lex.l" { return PTR_ALIAS; } YY_BREAK case 19: @@ -1443,12 +1443,12 @@ case 19: (yy_c_buf_p) = yy_cp = yy_bp + 10; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 118 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 118 "../../gcc/gengtype-lex.l" { return NESTED_PTR; } YY_BREAK case 20: YY_RULE_SETUP -#line 119 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 119 "../../gcc/gengtype-lex.l" { return NUM; } YY_BREAK case 21: @@ -1457,7 +1457,7 @@ case 21: (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 120 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 120 "../../gcc/gengtype-lex.l" { *yylval = XDUPVAR (const char, yytext, yyleng, yyleng+1); return PARAM_IS; @@ -1468,11 +1468,11 @@ case 22: *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ -#line 126 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 126 "../../gcc/gengtype-lex.l" case 23: /* rule 23 can match eol */ YY_RULE_SETUP -#line 126 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 126 "../../gcc/gengtype-lex.l" { size_t len; @@ -1490,7 +1490,7 @@ case 24: (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 138 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 138 "../../gcc/gengtype-lex.l" { *yylval = XDUPVAR (const char, yytext, yyleng, yyleng+1); return ID; @@ -1499,7 +1499,7 @@ YY_RULE_SETUP case 25: /* rule 25 can match eol */ YY_RULE_SETUP -#line 143 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 143 "../../gcc/gengtype-lex.l" { *yylval = XDUPVAR (const char, yytext+1, yyleng-2, yyleng-1); return STRING; @@ -1509,7 +1509,7 @@ YY_RULE_SETUP case 26: /* rule 26 can match eol */ YY_RULE_SETUP -#line 148 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 148 "../../gcc/gengtype-lex.l" { *yylval = XDUPVAR (const char, yytext+1, yyleng-2, yyleng-1); return ARRAY; @@ -1518,7 +1518,7 @@ YY_RULE_SETUP case 27: /* rule 27 can match eol */ YY_RULE_SETUP -#line 152 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 152 "../../gcc/gengtype-lex.l" { *yylval = XDUPVAR (const char, yytext+1, yyleng-2, yyleng); return CHAR; @@ -1526,24 +1526,24 @@ YY_RULE_SETUP YY_BREAK case 28: YY_RULE_SETUP -#line 157 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 157 "../../gcc/gengtype-lex.l" { return ELLIPSIS; } YY_BREAK case 29: YY_RULE_SETUP -#line 158 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 158 "../../gcc/gengtype-lex.l" { return yytext[0]; } YY_BREAK /* ignore pp-directives */ case 30: /* rule 30 can match eol */ YY_RULE_SETUP -#line 161 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 161 "../../gcc/gengtype-lex.l" {lexer_line.line++;} YY_BREAK case 31: YY_RULE_SETUP -#line 163 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 163 "../../gcc/gengtype-lex.l" { error_at_line (&lexer_line, "unexpected character `%s'", yytext); } @@ -1551,30 +1551,30 @@ YY_RULE_SETUP case 32: YY_RULE_SETUP -#line 168 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 168 "../../gcc/gengtype-lex.l" { BEGIN(in_comment); } YY_BREAK case 33: /* rule 33 can match eol */ YY_RULE_SETUP -#line 169 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 169 "../../gcc/gengtype-lex.l" { lexer_line.line++; } YY_BREAK case 34: -#line 171 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 171 "../../gcc/gengtype-lex.l" case 35: /* rule 35 can match eol */ -#line 172 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 172 "../../gcc/gengtype-lex.l" case 36: /* rule 36 can match eol */ YY_RULE_SETUP -#line 172 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 172 "../../gcc/gengtype-lex.l" /* do nothing */ YY_BREAK case 37: /* rule 37 can match eol */ YY_RULE_SETUP -#line 173 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 173 "../../gcc/gengtype-lex.l" { update_lineno (yytext, yyleng); } YY_BREAK case 38: @@ -1583,21 +1583,21 @@ case 38: (yy_c_buf_p) = yy_cp = yy_bp + 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 174 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 174 "../../gcc/gengtype-lex.l" /* do nothing */ YY_BREAK case 39: /* rule 39 can match eol */ YY_RULE_SETUP -#line 177 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 177 "../../gcc/gengtype-lex.l" { lexer_line.line++; } YY_BREAK case 40: -#line 179 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 179 "../../gcc/gengtype-lex.l" case 41: YY_RULE_SETUP -#line 179 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 179 "../../gcc/gengtype-lex.l" /* do nothing */ YY_BREAK case 42: @@ -1606,25 +1606,25 @@ case 42: (yy_c_buf_p) = yy_cp = yy_bp + 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 180 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 180 "../../gcc/gengtype-lex.l" /* do nothing */ YY_BREAK case 43: YY_RULE_SETUP -#line 182 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 182 "../../gcc/gengtype-lex.l" { BEGIN(INITIAL); } YY_BREAK case 44: YY_RULE_SETUP -#line 183 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 183 "../../gcc/gengtype-lex.l" { BEGIN(in_struct); } YY_BREAK case 45: -#line 186 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 186 "../../gcc/gengtype-lex.l" case 46: YY_RULE_SETUP -#line 186 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 186 "../../gcc/gengtype-lex.l" { error_at_line (&lexer_line, "unterminated comment or string; unexpected EOF"); @@ -1633,20 +1633,20 @@ YY_RULE_SETUP case 47: /* rule 47 can match eol */ YY_RULE_SETUP -#line 191 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 191 "../../gcc/gengtype-lex.l" /* do nothing */ YY_BREAK case 48: /* rule 48 can match eol */ YY_RULE_SETUP -#line 192 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 192 "../../gcc/gengtype-lex.l" { error_at_line (&lexer_line, "stray GTY marker"); } YY_BREAK case 49: YY_RULE_SETUP -#line 196 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 196 "../../gcc/gengtype-lex.l" YY_FATAL_ERROR( "flex scanner jammed" ); YY_BREAK #line 1653 "gengtype-lex.c" @@ -2613,7 +2613,7 @@ void yyfree (void * ptr ) #define YYTABLES_NAME "yytables" -#line 196 "/d/gcc-4.4.5/gcc-4.4.5/gcc/gengtype-lex.l" +#line 196 "../../gcc/gengtype-lex.l" -- 1.5.6.5
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor