diff options
Diffstat (limited to 'meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-bison.patch')
| -rw-r--r-- | meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-bison.patch | 147 |
1 files changed, 147 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-bison.patch b/meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-bison.patch new file mode 100644 index 0000000000..435491221c --- /dev/null +++ b/meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-bison.patch | |||
| @@ -0,0 +1,147 @@ | |||
| 1 | Upstream-Status: Inappropriate [1] | ||
| 2 | |||
| 3 | [1] Not the author, the patch is from: | ||
| 4 | http://vault.centos.org/5.8/os/SRPMS/rdist-6.1.5-44.src.rpm | ||
| 5 | |||
| 6 | --- rdist-6.1.5/src/gram.y.bison 1998-11-10 05:10:42.000000000 +0100 | ||
| 7 | +++ rdist-6.1.5/src/gram.y 2003-06-04 16:02:19.000000000 +0200 | ||
| 8 | @@ -90,10 +90,10 @@ | ||
| 9 | struct namelist *namel; | ||
| 10 | } | ||
| 11 | |||
| 12 | -%type <optval> OPTION, options | ||
| 13 | -%type <string> NAME, STRING | ||
| 14 | -%type <subcmd> INSTALL, NOTIFY, EXCEPT, PATTERN, SPECIAL, CMDSPECIAL, cmdlist, cmd | ||
| 15 | -%type <namel> namelist, names, opt_namelist nlist | ||
| 16 | +%type <optval> OPTION options | ||
| 17 | +%type <string> NAME STRING | ||
| 18 | +%type <subcmd> INSTALL NOTIFY EXCEPT PATTERN SPECIAL CMDSPECIAL cmdlist cmd | ||
| 19 | +%type <namel> namelist names opt_namelist nlist | ||
| 20 | |||
| 21 | %% | ||
| 22 | |||
| 23 | @@ -101,19 +101,19 @@ | ||
| 24 | | file command | ||
| 25 | ; | ||
| 26 | |||
| 27 | -command: NAME '=' namelist = { | ||
| 28 | +command: NAME '=' namelist { | ||
| 29 | (void) lookup($1, INSERT, $3); | ||
| 30 | } | ||
| 31 | - | namelist ARROW namelist cmdlist = { | ||
| 32 | + | namelist ARROW namelist cmdlist { | ||
| 33 | insert((char *)NULL, $1, $3, $4); | ||
| 34 | } | ||
| 35 | - | NAME COLON namelist ARROW namelist cmdlist = { | ||
| 36 | + | NAME COLON namelist ARROW namelist cmdlist { | ||
| 37 | insert($1, $3, $5, $6); | ||
| 38 | } | ||
| 39 | - | namelist DCOLON NAME cmdlist = { | ||
| 40 | + | namelist DCOLON NAME cmdlist { | ||
| 41 | append((char *)NULL, $1, $3, $4); | ||
| 42 | } | ||
| 43 | - | NAME COLON namelist DCOLON NAME cmdlist = { | ||
| 44 | + | NAME COLON namelist DCOLON NAME cmdlist { | ||
| 45 | append($1, $3, $5, $6); | ||
| 46 | } | ||
| 47 | | error | ||
| 48 | @@ -133,10 +133,10 @@ | ||
| 49 | } | ||
| 50 | ; | ||
| 51 | |||
| 52 | -nlist: NAME = { | ||
| 53 | +nlist: NAME { | ||
| 54 | $$ = makenl($1); | ||
| 55 | } | ||
| 56 | - | '(' names ')' = { | ||
| 57 | + | '(' names ')' { | ||
| 58 | $$ = $2; | ||
| 59 | } | ||
| 60 | ; | ||
| 61 | @@ -144,7 +144,7 @@ | ||
| 62 | names: /* VOID */ { | ||
| 63 | $$ = last_n = NULL; | ||
| 64 | } | ||
| 65 | - | names NAME = { | ||
| 66 | + | names NAME { | ||
| 67 | if (last_n == NULL) | ||
| 68 | $$ = last_n = makenl($2); | ||
| 69 | else { | ||
| 70 | @@ -158,7 +158,7 @@ | ||
| 71 | cmdlist: /* VOID */ { | ||
| 72 | $$ = last_sc = NULL; | ||
| 73 | } | ||
| 74 | - | cmdlist cmd = { | ||
| 75 | + | cmdlist cmd { | ||
| 76 | if (last_sc == NULL) | ||
| 77 | $$ = last_sc = $2; | ||
| 78 | else { | ||
| 79 | @@ -169,7 +169,7 @@ | ||
| 80 | } | ||
| 81 | ; | ||
| 82 | |||
| 83 | -cmd: INSTALL options opt_namelist ';' = { | ||
| 84 | +cmd: INSTALL options opt_namelist ';' { | ||
| 85 | register struct namelist *nl; | ||
| 86 | |||
| 87 | $1->sc_options = $2 | options; | ||
| 88 | @@ -185,17 +185,17 @@ | ||
| 89 | } | ||
| 90 | $$ = $1; | ||
| 91 | } | ||
| 92 | - | NOTIFY namelist ';' = { | ||
| 93 | + | NOTIFY namelist ';' { | ||
| 94 | if ($2 != NULL) | ||
| 95 | $1->sc_args = expand($2, E_VARS); | ||
| 96 | $$ = $1; | ||
| 97 | } | ||
| 98 | - | EXCEPT namelist ';' = { | ||
| 99 | + | EXCEPT namelist ';' { | ||
| 100 | if ($2 != NULL) | ||
| 101 | $1->sc_args = expand($2, E_ALL); | ||
| 102 | $$ = $1; | ||
| 103 | } | ||
| 104 | - | PATTERN namelist ';' = { | ||
| 105 | + | PATTERN namelist ';' { | ||
| 106 | struct namelist *nl; | ||
| 107 | char *cp, *re_comp(); | ||
| 108 | |||
| 109 | @@ -205,13 +205,13 @@ | ||
| 110 | $1->sc_args = expand($2, E_VARS); | ||
| 111 | $$ = $1; | ||
| 112 | } | ||
| 113 | - | SPECIAL opt_namelist STRING ';' = { | ||
| 114 | + | SPECIAL opt_namelist STRING ';' { | ||
| 115 | if ($2 != NULL) | ||
| 116 | $1->sc_args = expand($2, E_ALL); | ||
| 117 | $1->sc_name = $3; | ||
| 118 | $$ = $1; | ||
| 119 | } | ||
| 120 | - | CMDSPECIAL opt_namelist STRING ';' = { | ||
| 121 | + | CMDSPECIAL opt_namelist STRING ';' { | ||
| 122 | if ($2 != NULL) | ||
| 123 | $1->sc_args = expand($2, E_ALL); | ||
| 124 | $1->sc_name = $3; | ||
| 125 | @@ -219,18 +219,18 @@ | ||
| 126 | } | ||
| 127 | ; | ||
| 128 | |||
| 129 | -options: /* VOID */ = { | ||
| 130 | +options: /* VOID */ { | ||
| 131 | $$ = 0; | ||
| 132 | } | ||
| 133 | - | options OPTION = { | ||
| 134 | + | options OPTION { | ||
| 135 | $$ |= $2; | ||
| 136 | } | ||
| 137 | ; | ||
| 138 | |||
| 139 | -opt_namelist: /* VOID */ = { | ||
| 140 | +opt_namelist: /* VOID */ { | ||
| 141 | $$ = NULL; | ||
| 142 | } | ||
| 143 | - | namelist = { | ||
| 144 | + | namelist { | ||
| 145 | $$ = $1; | ||
| 146 | } | ||
| 147 | ; | ||
