diff --git a/package/base/iproute2/hotfixes.patch b/package/base/iproute2/hotfixes.patch new file mode 100644 index 000000000..7b56c69ca --- /dev/null +++ b/package/base/iproute2/hotfixes.patch @@ -0,0 +1,73 @@ +--- ./tc/emp_ematch.l.orig 2007-05-16 16:23:48.000000000 +0200 ++++ ./tc/emp_ematch.l 2007-05-16 16:24:21.000000000 +0200 +@@ -63,7 +63,7 @@ + + %} + +-%x str ++%x x_str + + %option 8bit stack warn noyywrap prefix="ematch_" + %% +@@ -78,17 +78,17 @@ + } + strbuf_index = 0; + +- BEGIN(str); ++ BEGIN(x_str); + } + +-\" { ++\" { + BEGIN(INITIAL); + yylval.b = bstr_new(strbuf, strbuf_index); + yylval.b->quoted = 1; + return ATTRIBUTE; + } + +-\\[0-7]{1,3} { /* octal escape sequence */ ++\\[0-7]{1,3} { /* octal escape sequence */ + int res; + + sscanf(yytext + 1, "%o", &res); +@@ -100,12 +100,12 @@ + strbuf_append_char((unsigned char) res); + } + +-\\[0-9]+ { /* catch wrong octal escape seq. */ ++\\[0-9]+ { /* catch wrong octal escape seq. */ + fprintf(stderr, "error: invalid octale escape sequence\n"); + return ERROR; + } + +-\\x[0-9a-fA-F]{1,2} { ++\\x[0-9a-fA-F]{1,2} { + int res; + + sscanf(yytext + 2, "%x", &res); +@@ -118,16 +118,16 @@ + strbuf_append_char((unsigned char) res); + } + +-\\n strbuf_append_char('\n'); +-\\r strbuf_append_char('\r'); +-\\t strbuf_append_char('\t'); +-\\v strbuf_append_char('\v'); +-\\b strbuf_append_char('\b'); +-\\f strbuf_append_char('\f'); +-\\a strbuf_append_char('\a'); ++\\n strbuf_append_char('\n'); ++\\r strbuf_append_char('\r'); ++\\t strbuf_append_char('\t'); ++\\v strbuf_append_char('\v'); ++\\b strbuf_append_char('\b'); ++\\f strbuf_append_char('\f'); ++\\a strbuf_append_char('\a'); + +-\\(.|\n) strbuf_append_char(yytext[1]); +-[^\\\n\"]+ strbuf_append_charp(yytext); ++\\(.|\n) strbuf_append_char(yytext[1]); ++[^\\\n\"]+ strbuf_append_charp(yytext); + + [aA][nN][dD] return AND; + [oO][rR] return OR; diff --git a/package/base/iproute2/iproute2.conf b/package/base/iproute2/iproute2.conf index acde0ed6b..2e420049b 100644 --- a/package/base/iproute2/iproute2.conf +++ b/package/base/iproute2/iproute2.conf @@ -43,3 +43,6 @@ postmake="ipr2_pm" pkginstalled bdb.. && [ $stagelevel -gt 1 ] || \ var_append patchfiles ' ' $confdir/bdb_unavailable.diff +# use real kernel headers for building iproute2 +var_append CC_WRAPPER_APPEND " " "-I/usr/src/linux/include" + diff --git a/package/base/iproute2/iproute2.desc b/package/base/iproute2/iproute2.desc index 32e73b84e..81dda2c35 100644 --- a/package/base/iproute2/iproute2.desc +++ b/package/base/iproute2/iproute2.desc @@ -42,8 +42,8 @@ [L] GPL [S] Stable -[V] 2.6.19-061214 +[V] 2.6.20-070313 [P] X -X---5---9 191.000 -[D] 2776769982 iproute2-2.6.19-061214.tar.gz http://developer.osdl.org/dev/iproute2/download/ +[D] 2176139619 iproute2-2.6.20-070313.tar.gz http://developer.osdl.org/dev/iproute2/download/