From 9a53b7893cb2515f8df0ad9b4b4ca8d4ac2b2419 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Mon, 6 May 2019 07:59:51 +0000 Subject: vars/build.vars:native_packages_cmdline: adds w3m v0.5.3+git20190105. patches/w3m/{generated,makefile}.patch, vars/w3m.vars: via Redfoxmoon. --- patches/w3m/generated.patch | 951 ++++++++++++++++++++++++++++++++++++++++++++ patches/w3m/makefile.patch | 28 ++ 2 files changed, 979 insertions(+) create mode 100644 patches/w3m/generated.patch create mode 100644 patches/w3m/makefile.patch (limited to 'patches/w3m') diff --git a/patches/w3m/generated.patch b/patches/w3m/generated.patch new file mode 100644 index 00000000..2347eed0 --- /dev/null +++ b/patches/w3m/generated.patch @@ -0,0 +1,951 @@ +diff -Nru w3m-0.5.3-git20190105.orig/entity.h w3m-0.5.3-git20190105/entity.h +--- w3m-0.5.3-git20190105.orig/entity.h 1970-01-01 01:00:00.000000000 +0100 ++++ w3m-0.5.3-git20190105/entity.h 2019-05-05 14:18:07.197879088 +0200 +@@ -0,0 +1,366 @@ ++/* $Id$ */ ++#include "hash.h" ++static HashItem_si MyHashItem[] = { ++ /* 0 */ {"otimes", 0x2297, &MyHashItem[1]}, ++ /* 1 */ {"laquo", 0xAB, NULL}, ++ /* 2 */ {"cap", 0x2229, &MyHashItem[3]}, ++ /* 3 */ {"dArr", 0x21D3, &MyHashItem[4]}, ++ /* 4 */ {"euml", 0xEB, NULL}, ++ /* 5 */ {"sum", 0x2211, &MyHashItem[6]}, ++ /* 6 */ {"Ocirc", 0xD4, NULL}, ++ /* 7 */ {"dagger", 0x2020, &MyHashItem[8]}, ++ /* 8 */ {"Scaron", 0x0160, &MyHashItem[9]}, ++ /* 9 */ {"Omicron", 0x039F, &MyHashItem[10]}, ++ /* 10 */ {"brvbar", 0xA6, NULL}, ++ /* 11 */ {"Eta", 0x0397, &MyHashItem[12]}, ++ /* 12 */ {"iacute", 0xED, &MyHashItem[13]}, ++ /* 13 */ {"aelig", 0xE6, &MyHashItem[14]}, ++ /* 14 */ {"Ugrave", 0xD9, &MyHashItem[15]}, ++ /* 15 */ {"deg", 0xB0, NULL}, ++ /* 16 */ {"Yuml", 0x0178, &MyHashItem[17]}, ++ /* 17 */ {"sup", 0x2283, &MyHashItem[18]}, ++ /* 18 */ {"middot", 0xB7, NULL}, ++ /* 19 */ {"ge", 0x2265, &MyHashItem[20]}, ++ /* 20 */ {"alefsym", 0x2135, &MyHashItem[21]}, ++ /* 21 */ {"sigma", 0x03C3, &MyHashItem[22]}, ++ /* 22 */ {"aring", 0xE5, &MyHashItem[23]}, ++ /* 23 */ {"Icirc", 0xCE, NULL}, ++ /* 24 */ {"and", 0x2227, &MyHashItem[25]}, ++ /* 25 */ {"weierp", 0x2118, &MyHashItem[26]}, ++ /* 26 */ {"frac12", 0xBD, NULL}, ++ /* 27 */ {"radic", 0x221A, &MyHashItem[28]}, ++ /* 28 */ {"chi", 0x03C7, &MyHashItem[29]}, ++ /* 29 */ {"zeta", 0x03B6, &MyHashItem[30]}, ++ /* 30 */ {"Theta", 0x0398, &MyHashItem[31]}, ++ /* 31 */ {"Atilde", 0xC3, &MyHashItem[32]}, ++ /* 32 */ {"para", 0xB6, NULL}, ++ /* 33 */ {"frac14", 0xBC, &MyHashItem[34]}, ++ /* 34 */ {"cedil", 0xB8, &MyHashItem[35]}, ++ /* 35 */ {"quot", 0x22, NULL}, ++ /* 36 */ {"ang", 0x2220, &MyHashItem[37]}, ++ /* 37 */ {"ucirc", 0xFB, NULL}, ++ /* 38 */ {"supe", 0x2287, &MyHashItem[39]}, ++ /* 39 */ {"iota", 0x03B9, &MyHashItem[40]}, ++ /* 40 */ {"Ograve", 0xD2, NULL}, ++ /* 41 */ {"rArr", 0x21D2, &MyHashItem[42]}, ++ /* 42 */ {"Auml", 0xC4, &MyHashItem[43]}, ++ /* 43 */ {"frac34", 0xBE, &MyHashItem[44]}, ++ /* 44 */ {"nbsp", 0xA0, NULL}, ++ /* 45 */ {"euro", 0x20AC, &MyHashItem[46]}, ++ /* 46 */ {"ocirc", 0xF4, NULL}, ++ /* 47 */ {"equiv", 0x2261, &MyHashItem[48]}, ++ /* 48 */ {"upsilon", 0x03C5, &MyHashItem[49]}, ++ /* 49 */ {"sigmaf", 0x03C2, &MyHashItem[50]}, ++ /* 50 */ {"ETH", 0xD0, NULL}, ++ /* 51 */ {"le", 0x2264, &MyHashItem[52]}, ++ /* 52 */ {"beta", 0x03B2, &MyHashItem[53]}, ++ /* 53 */ {"yacute", 0xFD, &MyHashItem[54]}, ++ /* 54 */ {"egrave", 0xE8, NULL}, ++ /* 55 */ {"lowast", 0x2217, &MyHashItem[56]}, ++ /* 56 */ {"real", 0x211C, &MyHashItem[57]}, ++ /* 57 */ {"amp", 0x26, NULL}, ++ /* 58 */ {"icirc", 0xEE, &MyHashItem[59]}, ++ /* 59 */ {"micro", 0xB5, NULL}, ++ /* 60 */ {"isin", 0x2208, &MyHashItem[61]}, ++ /* 61 */ {"curren", 0xA4, NULL}, ++ /* 62 */ {"rdquo", 0x201D, &MyHashItem[63]}, ++ /* 63 */ {"sbquo", 0x201A, &MyHashItem[64]}, ++ /* 64 */ {"ne", 0x2260, &MyHashItem[65]}, ++ /* 65 */ {"theta", 0x03B8, &MyHashItem[66]}, ++ /* 66 */ {"Igrave", 0xCC, NULL}, ++ /* 67 */ {"gt", 0x3E, NULL}, ++ /* 68 */ {"hearts", 0x2665, &MyHashItem[69]}, ++ /* 69 */ {"rang", 0x232A, NULL}, ++ /* 70 */ {"rfloor", 0x230B, NULL}, ++ /* 71 */ {"ldquo", 0x201C, &MyHashItem[72]}, ++ /* 72 */ {"ni", 0x220B, &MyHashItem[73]}, ++ /* 73 */ {"Ntilde", 0xD1, &MyHashItem[74]}, ++ /* 74 */ {"Aacute", 0xC1, NULL}, ++ /* 75 */ {"crarr", 0x21B5, &MyHashItem[76]}, ++ /* 76 */ {"Ouml", 0xD6, &MyHashItem[77]}, ++ /* 77 */ {"GT", 0x3E, NULL}, ++ /* 78 */ {"clubs", 0x2663, NULL}, ++ /* 79 */ {"scaron", 0x0161, &MyHashItem[80]}, ++ /* 80 */ {"part", 0x2202, NULL}, ++ /* 81 */ {"tilde", 0x02DC, &MyHashItem[82]}, ++ /* 82 */ {"oelig", 0x0153, &MyHashItem[83]}, ++ /* 83 */ {"pi", 0x03C0, &MyHashItem[84]}, ++ /* 84 */ {"ugrave", 0xF9, NULL}, ++ /* 85 */ {"darr", 0x2193, &MyHashItem[86]}, ++ /* 86 */ {"uuml", 0xFC, &MyHashItem[87]}, ++ /* 87 */ {"QUOT", 0x22, NULL}, ++ /* 88 */ {"Prime", 0x2033, NULL}, ++ /* 89 */ {"zwj", 0x200D, &MyHashItem[90]}, ++ /* 90 */ {"lfloor", 0x230A, &MyHashItem[91]}, ++ /* 91 */ {"notin", 0x2209, &MyHashItem[92]}, ++ /* 92 */ {"cent", 0xA2, &MyHashItem[93]}, ++ /* 93 */ {"lt", 0x3C, NULL}, ++ /* 94 */ {"eta", 0x03B7, &MyHashItem[95]}, ++ /* 95 */ {"Phi", 0x03A6, &MyHashItem[96]}, ++ /* 96 */ {"atilde", 0xE3, NULL}, ++ /* 97 */ {"hArr", 0x21D4, &MyHashItem[98]}, ++ /* 98 */ {"iuml", 0xEF, &MyHashItem[99]}, ++ /* 99 */ {"NBSP", 0xA0, NULL}, ++ /* 100 */ {"mu", 0x03BC, NULL}, ++ /* 101 */ {"or", 0x2228, &MyHashItem[102]}, ++ /* 102 */ {"plusmn", 0xB1, &MyHashItem[103]}, ++ /* 103 */ {"LT", 0x3C, NULL}, ++ /* 104 */ {"nu", 0x03BD, &MyHashItem[105]}, ++ /* 105 */ {"ograve", 0xF2, &MyHashItem[106]}, ++ /* 106 */ {"AElig", 0xC6, NULL}, ++ /* 107 */ {"rceil", 0x2309, &MyHashItem[108]}, ++ /* 108 */ {"uArr", 0x21D1, &MyHashItem[109]}, ++ /* 109 */ {"sect", 0xA7, NULL}, ++ /* 110 */ {"circ", 0x02C6, NULL}, ++ /* 111 */ {"perp", 0x22A5, &MyHashItem[112]}, ++ /* 112 */ {"eth", 0xF0, NULL}, ++ /* 113 */ {"rsquo", 0x2019, &MyHashItem[114]}, ++ /* 114 */ {"nabla", 0x2207, NULL}, ++ /* 115 */ {"lceil", 0x2308, &MyHashItem[116]}, ++ /* 116 */ {"cup", 0x222A, &MyHashItem[117]}, ++ /* 117 */ {"exist", 0x2203, &MyHashItem[118]}, ++ /* 118 */ {"rarr", 0x2192, &MyHashItem[119]}, ++ /* 119 */ {"upsih", 0x03D2, NULL}, ++ /* 120 */ {"prime", 0x2032, &MyHashItem[121]}, ++ /* 121 */ {"Omega", 0x03A9, &MyHashItem[122]}, ++ /* 122 */ {"Ecirc", 0xCA, NULL}, ++ /* 123 */ {"Epsilon", 0x0395, NULL}, ++ /* 124 */ {"lsquo", 0x2018, &MyHashItem[125]}, ++ /* 125 */ {"xi", 0x03BE, &MyHashItem[126]}, ++ /* 126 */ {"Lambda", 0x039B, &MyHashItem[127]}, ++ /* 127 */ {"Kappa", 0x039A, &MyHashItem[128]}, ++ /* 128 */ {"divide", 0xF7, &MyHashItem[129]}, ++ /* 129 */ {"igrave", 0xEC, &MyHashItem[130]}, ++ /* 130 */ {"acute", 0xB4, NULL}, ++ /* 131 */ {"Euml", 0xCB, &MyHashItem[132]}, ++ /* 132 */ {"ordf", 0xAA, NULL}, ++ /* 133 */ {"image", 0x2111, &MyHashItem[134]}, ++ /* 134 */ {"Tau", 0x03A4, &MyHashItem[135]}, ++ /* 135 */ {"Rho", 0x03A1, NULL}, ++ /* 136 */ {"ntilde", 0xF1, &MyHashItem[137]}, ++ /* 137 */ {"aacute", 0xE1, &MyHashItem[138]}, ++ /* 138 */ {"times", 0xD7, NULL}, ++ /* 139 */ {"omicron", 0x03BF, NULL}, ++ /* 140 */ {"oplus", 0x2295, &MyHashItem[141]}, ++ /* 141 */ {"Zeta", 0x0396, &MyHashItem[142]}, ++ /* 142 */ {"Eacute", 0xC9, &MyHashItem[143]}, ++ /* 143 */ {"ordm", 0xBA, NULL}, ++ /* 144 */ {"Oslash", 0xD8, &MyHashItem[145]}, ++ /* 145 */ {"Ccedil", 0xC7, &MyHashItem[146]}, ++ /* 146 */ {"iquest", 0xBF, NULL}, ++ /* 147 */ {"omega", 0x03C9, &MyHashItem[148]}, ++ /* 148 */ {"Psi", 0x03A8, &MyHashItem[149]}, ++ /* 149 */ {"ecirc", 0xEA, NULL}, ++ /* 150 */ {"int", 0x222B, NULL}, ++ /* 151 */ {"trade", 0x2122, &MyHashItem[152]}, ++ /* 152 */ {"kappa", 0x03BA, &MyHashItem[153]}, ++ /* 153 */ {"Iota", 0x0399, &MyHashItem[154]}, ++ /* 154 */ {"Delta", 0x0394, &MyHashItem[155]}, ++ /* 155 */ {"Alpha", 0x0391, &MyHashItem[156]}, ++ /* 156 */ {"Otilde", 0xD5, NULL}, ++ /* 157 */ {"sdot", 0x22C5, NULL}, ++ /* 158 */ {"cong", 0x2245, NULL}, ++ /* 159 */ {"rsaquo", 0x203A, &MyHashItem[160]}, ++ /* 160 */ {"OElig", 0x0152, &MyHashItem[161]}, ++ /* 161 */ {"diams", 0x2666, &MyHashItem[162]}, ++ /* 162 */ {"phi", 0x03C6, &MyHashItem[163]}, ++ /* 163 */ {"Beta", 0x0392, &MyHashItem[164]}, ++ /* 164 */ {"szlig", 0xDF, &MyHashItem[165]}, ++ /* 165 */ {"sup1", 0xB9, &MyHashItem[166]}, ++ /* 166 */ {"reg", 0xAE, NULL}, ++ /* 167 */ {"harr", 0x2194, &MyHashItem[168]}, ++ /* 168 */ {"hellip", 0x2026, &MyHashItem[169]}, ++ /* 169 */ {"yuml", 0xFF, &MyHashItem[170]}, ++ /* 170 */ {"sup2", 0xB2, NULL}, ++ /* 171 */ {"Gamma", 0x0393, &MyHashItem[172]}, ++ /* 172 */ {"sup3", 0xB3, NULL}, ++ /* 173 */ {"forall", 0x2200, NULL}, ++ /* 174 */ {"bdquo", 0x201E, &MyHashItem[175]}, ++ /* 175 */ {"spades", 0x2660, &MyHashItem[176]}, ++ /* 176 */ {"Pi", 0x03A0, &MyHashItem[177]}, ++ /* 177 */ {"Uacute", 0xDA, &MyHashItem[178]}, ++ /* 178 */ {"Agrave", 0xC0, NULL}, ++ /* 179 */ {"permil", 0x2030, &MyHashItem[180]}, ++ /* 180 */ {"mdash", 0x2014, &MyHashItem[181]}, ++ /* 181 */ {"lArr", 0x21D0, &MyHashItem[182]}, ++ /* 182 */ {"uarr", 0x2191, NULL}, ++ /* 183 */ {"Upsilon", 0x03A5, &MyHashItem[184]}, ++ /* 184 */ {"pound", 0xA3, NULL}, ++ /* 185 */ {"lsaquo", 0x2039, &MyHashItem[186]}, ++ /* 186 */ {"lrm", 0x200E, &MyHashItem[187]}, ++ /* 187 */ {"lambda", 0x03BB, &MyHashItem[188]}, ++ /* 188 */ {"delta", 0x03B4, &MyHashItem[189]}, ++ /* 189 */ {"alpha", 0x03B1, NULL}, ++ /* 190 */ {"frasl", 0x2044, &MyHashItem[191]}, ++ /* 191 */ {"thorn", 0xFE, &MyHashItem[192]}, ++ /* 192 */ {"auml", 0xE4, NULL}, ++ /* 193 */ {"Mu", 0x039C, NULL}, ++ /* 194 */ {"nsub", 0x2284, &MyHashItem[195]}, ++ /* 195 */ {"macr", 0xAF, NULL}, ++ /* 196 */ {"minus", 0x2212, &MyHashItem[197]}, ++ /* 197 */ {"Nu", 0x039D, &MyHashItem[198]}, ++ /* 198 */ {"Oacute", 0xD3, NULL}, ++ /* 199 */ {"prod", 0x220F, &MyHashItem[200]}, ++ /* 200 */ {"Uuml", 0xDC, &MyHashItem[201]}, ++ /* 201 */ {"iexcl", 0xA1, NULL}, ++ /* 202 */ {"lang", 0x2329, &MyHashItem[203]}, ++ /* 203 */ {"tau", 0x03C4, &MyHashItem[204]}, ++ /* 204 */ {"rho", 0x03C1, &MyHashItem[205]}, ++ /* 205 */ {"gamma", 0x03B3, NULL}, ++ /* 206 */ {"loz", 0x25CA, &MyHashItem[207]}, ++ /* 207 */ {"bull", 0x2022, &MyHashItem[208]}, ++ /* 208 */ {"piv", 0x03D6, NULL}, ++ /* 209 */ {"eacute", 0xE9, NULL}, ++ /* 210 */ {"zwnj", 0x200C, &MyHashItem[211]}, ++ /* 211 */ {"oslash", 0xF8, &MyHashItem[212]}, ++ /* 212 */ {"ccedil", 0xE7, &MyHashItem[213]}, ++ /* 213 */ {"THORN", 0xDE, &MyHashItem[214]}, ++ /* 214 */ {"Iuml", 0xCF, &MyHashItem[215]}, ++ /* 215 */ {"not", 0xAC, NULL}, ++ /* 216 */ {"sim", 0x223C, &MyHashItem[217]}, ++ /* 217 */ {"thetasym", 0x03D1, &MyHashItem[218]}, ++ /* 218 */ {"Acirc", 0xC2, NULL}, ++ /* 219 */ {"Dagger", 0x2021, &MyHashItem[220]}, ++ /* 220 */ {"fnof", 0x0192, NULL}, ++ /* 221 */ {"rlm", 0x200F, &MyHashItem[222]}, ++ /* 222 */ {"oline", 0x203E, &MyHashItem[223]}, ++ /* 223 */ {"Chi", 0x03A7, &MyHashItem[224]}, ++ /* 224 */ {"Xi", 0x039E, &MyHashItem[225]}, ++ /* 225 */ {"otilde", 0xF5, &MyHashItem[226]}, ++ /* 226 */ {"Iacute", 0xCD, &MyHashItem[227]}, ++ /* 227 */ {"copy", 0xA9, NULL}, ++ /* 228 */ {"ndash", 0x2013, &MyHashItem[229]}, ++ /* 229 */ {"ouml", 0xF6, NULL}, ++ /* 230 */ {"psi", 0x03C8, NULL}, ++ /* 231 */ {"sube", 0x2286, NULL}, ++ /* 232 */ {"emsp", 0x2003, &MyHashItem[233]}, ++ /* 233 */ {"asymp", 0x2248, &MyHashItem[234]}, ++ /* 234 */ {"prop", 0x221D, NULL}, ++ /* 235 */ {"infin", 0x221E, NULL}, ++ /* 236 */ {"empty", 0x2205, &MyHashItem[237]}, ++ /* 237 */ {"uacute", 0xFA, &MyHashItem[238]}, ++ /* 238 */ {"agrave", 0xE0, &MyHashItem[239]}, ++ /* 239 */ {"shy", 0xAD, NULL}, ++ /* 240 */ {"ensp", 0x2002, NULL}, ++ /* 241 */ {"acirc", 0xE2, NULL}, ++ /* 242 */ {"sub", 0x2282, &MyHashItem[243]}, ++ /* 243 */ {"epsilon", 0x03B5, NULL}, ++ /* 244 */ {"Yacute", 0xDD, &MyHashItem[245]}, ++ /* 245 */ {"Egrave", 0xC8, NULL}, ++ /* 246 */ {"there4", 0x2234, &MyHashItem[247]}, ++ /* 247 */ {"larr", 0x2190, &MyHashItem[248]}, ++ /* 248 */ {"uml", 0xA8, &MyHashItem[249]}, ++ /* 249 */ {"AMP", 0x26, NULL}, ++ /* 250 */ {"Sigma", 0x03A3, &MyHashItem[251]}, ++ /* 251 */ {"Aring", 0xC5, NULL}, ++ /* 252 */ {"yen", 0xA5, NULL}, ++ /* 253 */ {"oacute", 0xF3, &MyHashItem[254]}, ++ /* 254 */ {"raquo", 0xBB, NULL}, ++ /* 255 */ {"thinsp", 0x2009, NULL}, ++ /* 256 */ {"Ucirc", 0xDB, NULL}, ++}; ++ ++static HashItem_si *MyHashItemTbl[] = { ++ NULL, ++ &MyHashItem[0], ++ &MyHashItem[2], ++ &MyHashItem[5], ++ &MyHashItem[7], ++ &MyHashItem[11], ++ &MyHashItem[16], ++ &MyHashItem[19], ++ &MyHashItem[24], ++ &MyHashItem[27], ++ &MyHashItem[33], ++ &MyHashItem[36], ++ NULL, ++ &MyHashItem[38], ++ &MyHashItem[41], ++ &MyHashItem[45], ++ &MyHashItem[47], ++ &MyHashItem[51], ++ &MyHashItem[55], ++ &MyHashItem[58], ++ &MyHashItem[60], ++ &MyHashItem[62], ++ &MyHashItem[67], ++ &MyHashItem[68], ++ &MyHashItem[70], ++ &MyHashItem[71], ++ &MyHashItem[75], ++ &MyHashItem[78], ++ &MyHashItem[79], ++ &MyHashItem[81], ++ &MyHashItem[85], ++ &MyHashItem[88], ++ &MyHashItem[89], ++ &MyHashItem[94], ++ &MyHashItem[97], ++ &MyHashItem[100], ++ &MyHashItem[101], ++ &MyHashItem[104], ++ &MyHashItem[107], ++ &MyHashItem[110], ++ &MyHashItem[111], ++ &MyHashItem[113], ++ &MyHashItem[115], ++ &MyHashItem[120], ++ &MyHashItem[123], ++ &MyHashItem[124], ++ &MyHashItem[131], ++ &MyHashItem[133], ++ NULL, ++ &MyHashItem[136], ++ NULL, ++ NULL, ++ &MyHashItem[139], ++ &MyHashItem[140], ++ &MyHashItem[144], ++ &MyHashItem[147], ++ &MyHashItem[150], ++ &MyHashItem[151], ++ &MyHashItem[157], ++ &MyHashItem[158], ++ NULL, ++ &MyHashItem[159], ++ &MyHashItem[167], ++ &MyHashItem[171], ++ &MyHashItem[173], ++ &MyHashItem[174], ++ &MyHashItem[179], ++ NULL, ++ &MyHashItem[183], ++ &MyHashItem[185], ++ &MyHashItem[190], ++ &MyHashItem[193], ++ &MyHashItem[194], ++ &MyHashItem[196], ++ &MyHashItem[199], ++ &MyHashItem[202], ++ &MyHashItem[206], ++ &MyHashItem[209], ++ &MyHashItem[210], ++ &MyHashItem[216], ++ &MyHashItem[219], ++ &MyHashItem[221], ++ &MyHashItem[228], ++ &MyHashItem[230], ++ NULL, ++ &MyHashItem[231], ++ &MyHashItem[232], ++ NULL, ++ &MyHashItem[235], ++ &MyHashItem[236], ++ &MyHashItem[240], ++ &MyHashItem[241], ++ &MyHashItem[242], ++ &MyHashItem[244], ++ &MyHashItem[246], ++ &MyHashItem[250], ++ &MyHashItem[252], ++ &MyHashItem[253], ++ &MyHashItem[255], ++ &MyHashItem[256], ++}; ++ ++Hash_si entity = { 100, MyHashItemTbl }; +diff -Nru w3m-0.5.3-git20190105.orig/functable.c w3m-0.5.3-git20190105/functable.c +--- w3m-0.5.3-git20190105.orig/functable.c 1970-01-01 01:00:00.000000000 +0100 ++++ w3m-0.5.3-git20190105/functable.c 2019-05-05 14:18:04.617879072 +0200 +@@ -0,0 +1,264 @@ ++#include "hash.h" ++#include ++#include "funcname1.h" ++static HashItem_si MyHashItem[] = { ++ /* 0 */ {"SUSPEND", FUNCNAME_susp, &MyHashItem[1]}, ++ /* 1 */ {"SET_OPTION", FUNCNAME_setOpt, &MyHashItem[2]}, ++ /* 2 */ {"END", FUNCNAME_goLineL, NULL}, ++ /* 3 */ {"VIEW", FUNCNAME_vwSrc, NULL}, ++ /* 4 */ {"PREV_VISITED", FUNCNAME_prevVA, &MyHashItem[5]}, ++ /* 5 */ {"EXTERN", FUNCNAME_extbrz, NULL}, ++ /* 6 */ {"UNDO", FUNCNAME_undoPos, NULL}, ++ /* 7 */ {"SHELL", FUNCNAME_execsh, &MyHashItem[8]}, ++ /* 8 */ {"RIGHT", FUNCNAME_col1R, &MyHashItem[9]}, ++ /* 9 */ {"PREV_WORD", FUNCNAME_movLW, &MyHashItem[10]}, ++ /* 10 */ {"LEFT", FUNCNAME_col1L, &MyHashItem[11]}, ++ /* 11 */ {"INTERRUPT", FUNCNAME_susp, NULL}, ++ /* 12 */ {"TAB_GOTO_RELATIVE", FUNCNAME_tabrURL, NULL}, ++ /* 13 */ {"NEXT_UP", FUNCNAME_nextU, NULL}, ++ /* 14 */ {"CLOSE_TAB_MOUSE", FUNCNAME_closeTMs, NULL}, ++ /* 15 */ {"DOWN", FUNCNAME_ldown1, NULL}, ++ /* 16 */ {"HISTORY", FUNCNAME_ldHist, NULL}, ++ /* 17 */ {"SEARCH", FUNCNAME_srchfor, &MyHashItem[18]}, ++ /* 18 */ {"NEXT_VISITED", FUNCNAME_nextVA, &MyHashItem[19]}, ++ /* 19 */ {"NEXT_LEFT_UP", FUNCNAME_nextLU, &MyHashItem[20]}, ++ /* 20 */ {"MOVE_UP", FUNCNAME_movU, &MyHashItem[21]}, ++ /* 21 */ {"DOWNLOAD", FUNCNAME_svSrc, NULL}, ++ /* 22 */ {"VIEW_IMAGE", FUNCNAME_followI, &MyHashItem[23]}, ++ /* 23 */ {"MARK", FUNCNAME__mark, &MyHashItem[24]}, ++ /* 24 */ {"INFO", FUNCNAME_pginfo, NULL}, ++ /* 25 */ {"VERSION", FUNCNAME_dispVer, &MyHashItem[26]}, ++ /* 26 */ {"BEGIN", FUNCNAME_goLineF, NULL}, ++ /* 27 */ {"REDRAW", FUNCNAME_rdrwSc, NULL}, ++ /* 28 */ {"QUIT", FUNCNAME_qquitfm, &MyHashItem[29]}, ++ /* 29 */ {"DOWNLOAD_LIST", FUNCNAME_ldDL, NULL}, ++ /* 30 */ {"REG_MARK", FUNCNAME_reMark, NULL}, ++ /* 31 */ {"MOVE_RIGHT", FUNCNAME_movR, NULL}, ++ /* 32 */ {"MARK_MID", FUNCNAME_chkNMID, &MyHashItem[33]}, ++ /* 33 */ {"LOAD", FUNCNAME_ldfile, NULL}, ++ /* 34 */ {"EXEC_SHELL", FUNCNAME_execsh, NULL}, ++ /* 35 */ {"VIEW_BOOKMARK", FUNCNAME_ldBmark, &MyHashItem[36]}, ++ /* 36 */ {"TAB_MOUSE", FUNCNAME_tabMs, &MyHashItem[37]}, ++ /* 37 */ {"STOP_IMAGE", FUNCNAME_stopI, NULL}, ++ /* 38 */ {"SHIFT_RIGHT", FUNCNAME_shiftr, &MyHashItem[39]}, ++ /* 39 */ {"SEARCH_NEXT", FUNCNAME_srchnxt, NULL}, ++ /* 40 */ {"PEEK", FUNCNAME_curURL, NULL}, ++ /* 41 */ {"DICT_WORD_AT", FUNCNAME_dictwordat, NULL}, ++ /* 42 */ {"SOURCE", FUNCNAME_vwSrc, &MyHashItem[43]}, ++ /* 43 */ {"SGRMOUSE", FUNCNAME_sgrmouse, &MyHashItem[44]}, ++ /* 44 */ {"SAVE_LINK", FUNCNAME_svA, &MyHashItem[45]}, ++ /* 45 */ {"GOTO", FUNCNAME_goURL, &MyHashItem[46]}, ++ /* 46 */ {"ACCESSKEY", FUNCNAME_accessKey, NULL}, ++ /* 47 */ {"ABORT", FUNCNAME_quitfm, NULL}, ++ /* 48 */ {"MENU", FUNCNAME_mainMn, NULL}, ++ /* 49 */ {"PCMAP", FUNCNAME_pcmap, &MyHashItem[50]}, ++ /* 50 */ {"EXIT", FUNCNAME_quitfm, NULL}, ++ /* 51 */ {"PREV_HALF_PAGE", FUNCNAME_hpgBack, &MyHashItem[52]}, ++ /* 52 */ {"LINE_INFO", FUNCNAME_curlno, &MyHashItem[53]}, ++ /* 53 */ {"ADD_BOOKMARK", FUNCNAME_adBmark, NULL}, ++ /* 54 */ {"WHEREIS", FUNCNAME_srchfor, &MyHashItem[55]}, ++ /* 55 */ {"SELECT_MENU", FUNCNAME_selMn, &MyHashItem[56]}, ++ /* 56 */ {"GOTO_LINE", FUNCNAME_goLine, NULL}, ++ /* 57 */ {"MOUSE", FUNCNAME_mouse, NULL}, ++ /* 58 */ {"PIPE_BUF", FUNCNAME_pipeBuf, &MyHashItem[59]}, ++ /* 59 */ {"LINK_BEGIN", FUNCNAME_topA, NULL}, ++ /* 60 */ {"PEEK_IMG", FUNCNAME_peekIMG, NULL}, ++ /* 61 */ {"CHARSET", FUNCNAME_docCSet, NULL}, ++ /* 62 */ {"GOTO_LINK", FUNCNAME_followA, &MyHashItem[63]}, ++ /* 63 */ {"EXTERN_LINK", FUNCNAME_linkbrz, NULL}, ++ /* 64 */ {"MARK_WORD", FUNCNAME_chkWORD, NULL}, ++ /* 65 */ {"MOVE_LIST_MENU", FUNCNAME_movlistMn, &MyHashItem[66]}, ++ /* 66 */ {"LINK_MENU", FUNCNAME_linkMn, NULL}, ++ /* 67 */ {"REDO", FUNCNAME_redoPos, &MyHashItem[68]}, ++ /* 68 */ {"BOOKMARK", FUNCNAME_ldBmark, NULL}, ++ /* 69 */ {"@@@", FUNCNAME_nulcmd, &MyHashItem[70]}, ++ /* 70 */ {"NEXT_RIGHT_DOWN", FUNCNAME_nextRD, &MyHashItem[71]}, ++ /* 71 */ {"NEXT_LEFT", FUNCNAME_nextL, &MyHashItem[72]}, ++ /* 72 */ {"COMMAND", FUNCNAME_execCmd, NULL}, ++ /* 73 */ {"RESHAPE", FUNCNAME_reshape, &MyHashItem[74]}, ++ /* 74 */ {"ALARM", FUNCNAME_setAlarm, NULL}, ++ /* 75 */ {"UP", FUNCNAME_lup1, &MyHashItem[76]}, ++ /* 76 */ {"SETENV", FUNCNAME_setEnv, &MyHashItem[77]}, ++ /* 77 */ {"RELOAD", FUNCNAME_reload, &MyHashItem[78]}, ++ /* 78 */ {"LIST", FUNCNAME_linkLst, NULL}, ++ /* 79 */ {"NEXT_PAGE", FUNCNAME_pgFore, &MyHashItem[80]}, ++ /* 80 */ {"MOVE_MOUSE", FUNCNAME_movMs, &MyHashItem[81]}, ++ /* 81 */ {"DISPLAY_IMAGE", FUNCNAME_dispI, NULL}, ++ /* 82 */ {"TAB_LEFT", FUNCNAME_tabL, &MyHashItem[83]}, ++ /* 83 */ {"PIPE_SHELL", FUNCNAME_pipesh, &MyHashItem[84]}, ++ /* 84 */ {"NEXT_TAB", FUNCNAME_nextT, &MyHashItem[85]}, ++ /* 85 */ {"NEXT_DOWN", FUNCNAME_nextD, NULL}, ++ /* 86 */ {"MAIN_MENU", FUNCNAME_mainMn, &MyHashItem[87]}, ++ /* 87 */ {"LIST_MENU", FUNCNAME_listMn, NULL}, ++ /* 88 */ {"REINIT", FUNCNAME_reinit, &MyHashItem[89]}, ++ /* 89 */ {"EDIT", FUNCNAME_editBf, NULL}, ++ /* 90 */ {"SAVE_IMAGE", FUNCNAME_svI, &MyHashItem[91]}, ++ /* 91 */ {"NEXT_MARK", FUNCNAME_nextMk, &MyHashItem[92]}, ++ /* 92 */ {"COOKIE", FUNCNAME_cooLst, NULL}, ++ /* 93 */ {"LINK_END", FUNCNAME_lastA, &MyHashItem[94]}, ++ /* 94 */ {"LINE_BEGIN", FUNCNAME_linbeg, &MyHashItem[95]}, ++ /* 95 */ {"DELETE_PREVBUF", FUNCNAME_deletePrevBuf, NULL}, ++ /* 96 */ {"WRAP_TOGGLE", FUNCNAME_wrapToggle, NULL}, ++ /* 97 */ {"DEFAULT_CHARSET", FUNCNAME_defCSet, NULL}, ++ /* 98 */ {"NOTHING", FUNCNAME_nulcmd, &MyHashItem[99]}, ++ /* 99 */ {"FRAME", FUNCNAME_rFrame, NULL}, ++ /* 100 */ {"SEARCH_PREV", FUNCNAME_srchprv, &MyHashItem[101]}, ++ /* 101 */ {"NEXT", FUNCNAME_nextBf, &MyHashItem[102]}, ++ /* 102 */ {"LINE_END", FUNCNAME_linend, NULL}, ++ /* 103 */ {"SELECT", FUNCNAME_selBuf, NULL}, ++ /* 104 */ {"PREV_TAB", FUNCNAME_prevT, &MyHashItem[105]}, ++ /* 105 */ {"MOVE_LEFT", FUNCNAME_movL, NULL}, ++ /* 106 */ {"SEARCH_BACK", FUNCNAME_srchbak, &MyHashItem[107]}, ++ /* 107 */ {"SAVE", FUNCNAME_svSrc, NULL}, ++ /* 108 */ {"NEXT_HALF_PAGE", FUNCNAME_hpgFore, NULL}, ++ /* 109 */ {"SHIFT_LEFT", FUNCNAME_shiftl, &MyHashItem[110]}, ++ /* 110 */ {"READ_SHELL", FUNCNAME_readsh, &MyHashItem[111]}, ++ /* 111 */ {"PRINT", FUNCNAME_svBuf, &MyHashItem[112]}, ++ /* 112 */ {"MOVE_DOWN", FUNCNAME_movD, &MyHashItem[113]}, ++ /* 113 */ {"EDIT_SCREEN", FUNCNAME_editScr, NULL}, ++ /* 114 */ {"ISEARCH_BACK", FUNCNAME_isrchbak, NULL}, ++ /* 115 */ {"NEXT_LINK", FUNCNAME_nextA, NULL}, ++ /* 116 */ {"MSGS", FUNCNAME_msgs, NULL}, ++ /* 117 */ {"MULTIMAP", FUNCNAME_multimap, &MyHashItem[118]}, ++ /* 118 */ {"CENTER_H", FUNCNAME_ctrCsrH, NULL}, ++ /* 119 */ {"TAB_LINK", FUNCNAME_tabA, &MyHashItem[120]}, ++ /* 120 */ {"TAB_GOTO", FUNCNAME_tabURL, &MyHashItem[121]}, ++ /* 121 */ {"PREV_PAGE", FUNCNAME_pgBack, NULL}, ++ /* 122 */ {"SAVE_SCREEN", FUNCNAME_svBuf, NULL}, ++ /* 123 */ {"TAB_MENU", FUNCNAME_tabMn, &MyHashItem[124]}, ++ /* 124 */ {"SEARCH_FORE", FUNCNAME_srchfor, &MyHashItem[125]}, ++ /* 125 */ {"MOVE_UP1", FUNCNAME_movU1, &MyHashItem[126]}, ++ /* 126 */ {"MOVE_LEFT1", FUNCNAME_movL1, NULL}, ++ /* 127 */ {"PREV_MARK", FUNCNAME_prevMk, &MyHashItem[128]}, ++ /* 128 */ {"PEEK_LINK", FUNCNAME_peekURL, NULL}, ++ /* 129 */ {"MARK_URL", FUNCNAME_chkURL, NULL}, ++ /* 130 */ {"GOTO_RELATIVE", FUNCNAME_gorURL, NULL}, ++ /* 131 */ {"SUBMIT", FUNCNAME_submitForm, NULL}, ++ /* 132 */ {"NEXT_WORD", FUNCNAME_movRW, &MyHashItem[133]}, ++ /* 133 */ {"NEW_TAB", FUNCNAME_newT, &MyHashItem[134]}, ++ /* 134 */ {"HELP", FUNCNAME_ldhelp, NULL}, ++ /* 135 */ {"MOVE_DOWN1", FUNCNAME_movD1, NULL}, ++ /* 136 */ {"ISEARCH", FUNCNAME_isrchfor, NULL}, ++ /* 137 */ {"NEXT_RIGHT", FUNCNAME_nextR, &MyHashItem[138]}, ++ /* 138 */ {"CLOSE_TAB", FUNCNAME_closeT, &MyHashItem[139]}, ++ /* 139 */ {"CENTER_V", FUNCNAME_ctrCsrV, NULL}, ++ /* 140 */ {"MOVE_RIGHT1", FUNCNAME_movR1, NULL}, ++ /* 141 */ {"ESCMAP", FUNCNAME_escmap, &MyHashItem[142]}, ++ /* 142 */ {"ESCBMAP", FUNCNAME_escbmap, NULL}, ++ /* 143 */ {"MENU_MOUSE", FUNCNAME_menuMs, NULL}, ++ /* 144 */ {"PREV", FUNCNAME_prevBf, &MyHashItem[145]}, ++ /* 145 */ {"NULL", FUNCNAME_nulcmd, &MyHashItem[146]}, ++ /* 146 */ {"LINK_N", FUNCNAME_nthA, &MyHashItem[147]}, ++ /* 147 */ {"DICT_WORD", FUNCNAME_dictword, NULL}, ++ /* 148 */ {"PREV_LINK", FUNCNAME_prevA, NULL}, ++ /* 149 */ {"TAB_RIGHT", FUNCNAME_tabR, NULL}, ++ /* 150 */ {"MOUSE_TOGGLE", FUNCNAME_msToggle, &MyHashItem[151]}, ++ /* 151 */ {"BACK", FUNCNAME_backBf, NULL}, ++ /* 152 */ {"OPTIONS", FUNCNAME_ldOpt, &MyHashItem[153]}, ++ /* 153 */ {"DEFINE_KEY", FUNCNAME_defKey, NULL}, ++}; ++ ++static HashItem_si *MyHashItemTbl[] = { ++ &MyHashItem[0], ++ NULL, ++ NULL, ++ NULL, ++ NULL, ++ &MyHashItem[3], ++ &MyHashItem[4], ++ &MyHashItem[6], ++ &MyHashItem[7], ++ &MyHashItem[12], ++ &MyHashItem[13], ++ &MyHashItem[14], ++ &MyHashItem[15], ++ &MyHashItem[16], ++ &MyHashItem[17], ++ &MyHashItem[22], ++ &MyHashItem[25], ++ &MyHashItem[27], ++ &MyHashItem[28], ++ &MyHashItem[30], ++ &MyHashItem[31], ++ NULL, ++ &MyHashItem[32], ++ NULL, ++ &MyHashItem[34], ++ NULL, ++ NULL, ++ &MyHashItem[35], ++ &MyHashItem[38], ++ &MyHashItem[40], ++ &MyHashItem[41], ++ &MyHashItem[42], ++ &MyHashItem[47], ++ &MyHashItem[48], ++ &MyHashItem[49], ++ &MyHashItem[51], ++ NULL, ++ &MyHashItem[54], ++ NULL, ++ &MyHashItem[57], ++ &MyHashItem[58], ++ &MyHashItem[60], ++ &MyHashItem[61], ++ &MyHashItem[62], ++ &MyHashItem[64], ++ &MyHashItem[65], ++ NULL, ++ &MyHashItem[67], ++ &MyHashItem[69], ++ &MyHashItem[73], ++ &MyHashItem[75], ++ &MyHashItem[79], ++ &MyHashItem[82], ++ &MyHashItem[86], ++ &MyHashItem[88], ++ &MyHashItem[90], ++ &MyHashItem[93], ++ &MyHashItem[96], ++ &MyHashItem[97], ++ &MyHashItem[98], ++ &MyHashItem[100], ++ NULL, ++ &MyHashItem[103], ++ NULL, ++ &MyHashItem[104], ++ &MyHashItem[106], ++ NULL, ++ &MyHashItem[108], ++ &MyHashItem[109], ++ &MyHashItem[114], ++ NULL, ++ &MyHashItem[115], ++ NULL, ++ &MyHashItem[116], ++ &MyHashItem[117], ++ &MyHashItem[119], ++ &MyHashItem[122], ++ &MyHashItem[123], ++ NULL, ++ &MyHashItem[127], ++ &MyHashItem[129], ++ &MyHashItem[130], ++ &MyHashItem[131], ++ NULL, ++ &MyHashItem[132], ++ &MyHashItem[135], ++ &MyHashItem[136], ++ NULL, ++ &MyHashItem[137], ++ &MyHashItem[140], ++ &MyHashItem[141], ++ &MyHashItem[143], ++ &MyHashItem[144], ++ NULL, ++ NULL, ++ &MyHashItem[148], ++ &MyHashItem[149], ++ &MyHashItem[150], ++ NULL, ++ &MyHashItem[152], ++}; ++ ++Hash_si functable = { 100, MyHashItemTbl }; +diff -Nru w3m-0.5.3-git20190105.orig/tagtable.c w3m-0.5.3-git20190105/tagtable.c +--- w3m-0.5.3-git20190105.orig/tagtable.c 1970-01-01 01:00:00.000000000 +0100 ++++ w3m-0.5.3-git20190105/tagtable.c 2019-05-05 14:18:06.733879085 +0200 +@@ -0,0 +1,309 @@ ++#include "hash.h" ++#include ++#include "html.h" ++static HashItem_si MyHashItem[] = { ++ /* 0 */ {"option_int", HTML_OPTION_INT, &MyHashItem[1]}, ++ /* 1 */ {"/form_int", HTML_N_FORM_INT, &MyHashItem[2]}, ++ /* 2 */ {"/kbd", HTML_NOP, &MyHashItem[3]}, ++ /* 3 */ {"dd", HTML_DD, &MyHashItem[4]}, ++ /* 4 */ {"/dir", HTML_N_UL, NULL}, ++ /* 5 */ {"/body", HTML_N_BODY, &MyHashItem[6]}, ++ /* 6 */ {"noframes", HTML_NOFRAMES, NULL}, ++ /* 7 */ {"bdo", HTML_BDO, &MyHashItem[8]}, ++ /* 8 */ {"base", HTML_BASE, NULL}, ++ /* 9 */ {"/div", HTML_N_DIV, NULL}, ++ /* 10 */ {"big", HTML_BIG, &MyHashItem[11]}, ++ /* 11 */ {"tbody", HTML_TBODY, &MyHashItem[12]}, ++ /* 12 */ {"meta", HTML_META, &MyHashItem[13]}, ++ /* 13 */ {"i", HTML_I, NULL}, ++ /* 14 */ {"label", HTML_LABEL, &MyHashItem[15]}, ++ /* 15 */ {"/_symbol", HTML_N_SYMBOL, &MyHashItem[16]}, ++ /* 16 */ {"sup", HTML_SUP, &MyHashItem[17]}, ++ /* 17 */ {"/p", HTML_N_P, NULL}, ++ /* 18 */ {"/q", HTML_N_Q, NULL}, ++ /* 19 */ {"input_alt", HTML_INPUT_ALT, &MyHashItem[20]}, ++ /* 20 */ {"dl", HTML_DL, NULL}, ++ /* 21 */ {"/tbody", HTML_N_TBODY, &MyHashItem[22]}, ++ /* 22 */ {"/s", HTML_N_S, NULL}, ++ /* 23 */ {"/label", HTML_N_LABEL, &MyHashItem[24]}, ++ /* 24 */ {"del", HTML_DEL, &MyHashItem[25]}, ++ /* 25 */ {"xmp", HTML_XMP, &MyHashItem[26]}, ++ /* 26 */ {"br", HTML_BR, NULL}, ++ /* 27 */ {"iframe", HTML_IFRAME, &MyHashItem[28]}, ++ /* 28 */ {"link", HTML_LINK, &MyHashItem[29]}, ++ /* 29 */ {"/u", HTML_N_U, &MyHashItem[30]}, ++ /* 30 */ {"em", HTML_EM, NULL}, ++ /* 31 */ {"title_alt", HTML_TITLE_ALT, &MyHashItem[32]}, ++ /* 32 */ {"caption", HTML_CAPTION, &MyHashItem[33]}, ++ /* 33 */ {"plaintext", HTML_PLAINTEXT, &MyHashItem[34]}, ++ /* 34 */ {"p", HTML_P, NULL}, ++ /* 35 */ {"q", HTML_Q, &MyHashItem[36]}, ++ /* 36 */ {"blockquote", HTML_BLQ, &MyHashItem[37]}, ++ /* 37 */ {"menu", HTML_UL, NULL}, ++ /* 38 */ {"fieldset", HTML_FIELDSET, &MyHashItem[39]}, ++ /* 39 */ {"/colgroup", HTML_N_COLGROUP, &MyHashItem[40]}, ++ /* 40 */ {"dfn", HTML_NOP, NULL}, ++ /* 41 */ {"s", HTML_S, &MyHashItem[42]}, ++ /* 42 */ {"strong", HTML_STRONG, NULL}, ++ /* 43 */ {"dt", HTML_DT, NULL}, ++ /* 44 */ {"u", HTML_U, NULL}, ++ /* 45 */ {"/map", HTML_N_MAP, &MyHashItem[46]}, ++ /* 46 */ {"/frameset", HTML_N_FRAMESET, &MyHashItem[47]}, ++ /* 47 */ {"/ol", HTML_N_OL, NULL}, ++ /* 48 */ {"noscript", HTML_NOSCRIPT, &MyHashItem[49]}, ++ /* 49 */ {"legend", HTML_LEGEND, &MyHashItem[50]}, ++ /* 50 */ {"/td", HTML_N_TD, NULL}, ++ /* 51 */ {"li", HTML_LI, NULL}, ++ /* 52 */ {"html", HTML_BODY, &MyHashItem[53]}, ++ /* 53 */ {"hr", HTML_HR, NULL}, ++ /* 54 */ {"/strong", HTML_N_STRONG, NULL}, ++ /* 55 */ {"small", HTML_SMALL, &MyHashItem[56]}, ++ /* 56 */ {"/th", HTML_N_TH, &MyHashItem[57]}, ++ /* 57 */ {"option", HTML_OPTION, &MyHashItem[58]}, ++ /* 58 */ {"/span", HTML_N_SPAN, &MyHashItem[59]}, ++ /* 59 */ {"kbd", HTML_NOP, &MyHashItem[60]}, ++ /* 60 */ {"dir", HTML_UL, NULL}, ++ /* 61 */ {"col", HTML_COL, NULL}, ++ /* 62 */ {"param", HTML_PARAM, NULL}, ++ /* 63 */ {"/small", HTML_N_SMALL, &MyHashItem[64]}, ++ /* 64 */ {"/legend", HTML_N_LEGEND, &MyHashItem[65]}, ++ /* 65 */ {"/caption", HTML_N_CAPTION, &MyHashItem[66]}, ++ /* 66 */ {"div", HTML_DIV, NULL}, ++ /* 67 */ {"/abbr", HTML_N_ABBR, &MyHashItem[68]}, ++ /* 68 */ {"head", HTML_HEAD, &MyHashItem[69]}, ++ /* 69 */ {"ol", HTML_OL, &MyHashItem[70]}, ++ /* 70 */ {"/ul", HTML_N_UL, NULL}, ++ /* 71 */ {"/ins", HTML_N_INS, &MyHashItem[72]}, ++ /* 72 */ {"area", HTML_AREA, NULL}, ++ /* 73 */ {"pre_plain", HTML_PRE_PLAIN, &MyHashItem[74]}, ++ /* 74 */ {"button", HTML_BUTTON, &MyHashItem[75]}, ++ /* 75 */ {"td", HTML_TD, &MyHashItem[76]}, ++ /* 76 */ {"/option", HTML_N_OPTION, NULL}, ++ /* 77 */ {"/noframes", HTML_N_NOFRAMES, NULL}, ++ /* 78 */ {"/tr", HTML_N_TR, &MyHashItem[79]}, ++ /* 79 */ {"nobr", HTML_NOBR, NULL}, ++ /* 80 */ {"img_alt", HTML_IMG_ALT, &MyHashItem[81]}, ++ /* 81 */ {"table_alt", HTML_TABLE_ALT, &MyHashItem[82]}, ++ /* 82 */ {"th", HTML_TH, &MyHashItem[83]}, ++ /* 83 */ {"script", HTML_SCRIPT, &MyHashItem[84]}, ++ /* 84 */ {"/tt", HTML_NOP, NULL}, ++ /* 85 */ {"code", HTML_NOP, NULL}, ++ /* 86 */ {"optgroup", HTML_OPTGROUP, &MyHashItem[87]}, ++ /* 87 */ {"samp", HTML_NOP, NULL}, ++ /* 88 */ {"textarea", HTML_TEXTAREA, NULL}, ++ /* 89 */ {"textarea_int", HTML_TEXTAREA_INT, &MyHashItem[90]}, ++ /* 90 */ {"/button", HTML_N_BUTTON, NULL}, ++ /* 91 */ {"table", HTML_TABLE, &MyHashItem[92]}, ++ /* 92 */ {"img", HTML_IMG, &MyHashItem[93]}, ++ /* 93 */ {"/blockquote", HTML_N_BLQ, NULL}, ++ /* 94 */ {"applet", HTML_APPLET, &MyHashItem[95]}, ++ /* 95 */ {"map", HTML_MAP, &MyHashItem[96]}, ++ /* 96 */ {"ul", HTML_UL, NULL}, ++ /* 97 */ {"basefont", HTML_BASEFONT, &MyHashItem[98]}, ++ /* 98 */ {"/script", HTML_N_SCRIPT, &MyHashItem[99]}, ++ /* 99 */ {"center", HTML_CENTER, NULL}, ++ /* 100 */ {"/table", HTML_N_TABLE, &MyHashItem[101]}, ++ /* 101 */ {"cite", HTML_NOP, &MyHashItem[102]}, ++ /* 102 */ {"/h1", HTML_N_H, NULL}, ++ /* 103 */ {"/fieldset", HTML_N_FIELDSET, &MyHashItem[104]}, ++ /* 104 */ {"tr", HTML_TR, &MyHashItem[105]}, ++ /* 105 */ {"/h2", HTML_N_H, NULL}, ++ /* 106 */ {"image", HTML_IMG, &MyHashItem[107]}, ++ /* 107 */ {"/h3", HTML_N_H, NULL}, ++ /* 108 */ {"pre_int", HTML_PRE_INT, &MyHashItem[109]}, ++ /* 109 */ {"/font", HTML_N_FONT, &MyHashItem[110]}, ++ /* 110 */ {"tt", HTML_NOP, &MyHashItem[111]}, ++ /* 111 */ {"/h4", HTML_N_H, NULL}, ++ /* 112 */ {"body", HTML_BODY, &MyHashItem[113]}, ++ /* 113 */ {"/form", HTML_N_FORM, &MyHashItem[114]}, ++ /* 114 */ {"/h5", HTML_N_H, NULL}, ++ /* 115 */ {"/h6", HTML_N_H, NULL}, ++ /* 116 */ {"frame", HTML_FRAME, NULL}, ++ /* 117 */ {"/textarea_int", HTML_N_TEXTAREA_INT, &MyHashItem[118]}, ++ /* 118 */ {"/noscript", HTML_N_NOSCRIPT, &MyHashItem[119]}, ++ /* 119 */ {"/img_alt", HTML_N_IMG_ALT, &MyHashItem[120]}, ++ /* 120 */ {"/center", HTML_N_CENTER, NULL}, ++ /* 121 */ {"/pre", HTML_N_PRE, NULL}, ++ /* 122 */ {"tfoot", HTML_TFOOT, NULL}, ++ /* 123 */ {"ins", HTML_INS, NULL}, ++ /* 124 */ {"/var", HTML_NOP, NULL}, ++ /* 125 */ {"h1", HTML_H, NULL}, ++ /* 126 */ {"/tfoot", HTML_N_TFOOT, &MyHashItem[127]}, ++ /* 127 */ {"input", HTML_INPUT, &MyHashItem[128]}, ++ /* 128 */ {"h2", HTML_H, NULL}, ++ /* 129 */ {"h3", HTML_H, NULL}, ++ /* 130 */ {"h4", HTML_H, NULL}, ++ /* 131 */ {"h5", HTML_H, NULL}, ++ /* 132 */ {"internal", HTML_INTERNAL, &MyHashItem[133]}, ++ /* 133 */ {"h6", HTML_H, NULL}, ++ /* 134 */ {"div_int", HTML_DIV_INT, &MyHashItem[135]}, ++ /* 135 */ {"select_int", HTML_SELECT_INT, &MyHashItem[136]}, ++ /* 136 */ {"/pre_int", HTML_N_PRE_INT, NULL}, ++ /* 137 */ {"/menu", HTML_N_UL, NULL}, ++ /* 138 */ {"form_int", HTML_FORM_INT, &MyHashItem[139]}, ++ /* 139 */ {"/sub", HTML_N_SUB, NULL}, ++ /* 140 */ {"style", HTML_STYLE, &MyHashItem[141]}, ++ /* 141 */ {"address", HTML_BR, NULL}, ++ /* 142 */ {"/optgroup", HTML_N_OPTGROUP, NULL}, ++ /* 143 */ {"/textarea", HTML_N_TEXTAREA, NULL}, ++ /* 144 */ {"/input_alt", HTML_N_INPUT_ALT, &MyHashItem[145]}, ++ /* 145 */ {"span", HTML_SPAN, NULL}, ++ /* 146 */ {"doctype", HTML_DOCTYPE, &MyHashItem[147]}, ++ /* 147 */ {"/style", HTML_N_STYLE, NULL}, ++ /* 148 */ {"/html", HTML_N_BODY, NULL}, ++ /* 149 */ {"pre", HTML_PRE, &MyHashItem[150]}, ++ /* 150 */ {"title", HTML_TITLE, NULL}, ++ /* 151 */ {"abbr", HTML_ABBR, &MyHashItem[152]}, ++ /* 152 */ {"select", HTML_SELECT, NULL}, ++ /* 153 */ {"/bdo", HTML_N_BDO, &MyHashItem[154]}, ++ /* 154 */ {"acronym", HTML_ACRONYM, NULL}, ++ /* 155 */ {"/div_int", HTML_N_DIV_INT, &MyHashItem[156]}, ++ /* 156 */ {"var", HTML_NOP, NULL}, ++ /* 157 */ {"/big", HTML_N_BIG, &MyHashItem[158]}, ++ /* 158 */ {"/title", HTML_N_TITLE, NULL}, ++ /* 159 */ {"embed", HTML_EMBED, &MyHashItem[160]}, ++ /* 160 */ {"/sup", HTML_N_SUP, &MyHashItem[161]}, ++ /* 161 */ {"colgroup", HTML_COLGROUP, &MyHashItem[162]}, ++ /* 162 */ {"/head", HTML_N_HEAD, &MyHashItem[163]}, ++ /* 163 */ {"isindex", HTML_ISINDEX, NULL}, ++ /* 164 */ {"strike", HTML_S, &MyHashItem[165]}, ++ /* 165 */ {"listing", HTML_LISTING, NULL}, ++ /* 166 */ {"bgsound", HTML_BGSOUND, NULL}, ++ /* 167 */ {"/address", HTML_BR, NULL}, ++ /* 168 */ {"object", HTML_OBJECT, &MyHashItem[169]}, ++ /* 169 */ {"thead", HTML_THEAD, &MyHashItem[170]}, ++ /* 170 */ {"wbr", HTML_WBR, &MyHashItem[171]}, ++ /* 171 */ {"/del", HTML_N_DEL, &MyHashItem[172]}, ++ /* 172 */ {"/nobr", HTML_N_NOBR, &MyHashItem[173]}, ++ /* 173 */ {"/select", HTML_N_SELECT, &MyHashItem[174]}, ++ /* 174 */ {"frameset", HTML_FRAMESET, &MyHashItem[175]}, ++ /* 175 */ {"/xmp", HTML_N_XMP, NULL}, ++ /* 176 */ {"/code", HTML_NOP, NULL}, ++ /* 177 */ {"_symbol", HTML_SYMBOL, &MyHashItem[178]}, ++ /* 178 */ {"/thead", HTML_N_THEAD, &MyHashItem[179]}, ++ /* 179 */ {"/samp", HTML_NOP, &MyHashItem[180]}, ++ /* 180 */ {"/dfn", HTML_NOP, &MyHashItem[181]}, ++ /* 181 */ {"_id", HTML_NOP, NULL}, ++ /* 182 */ {"/strike", HTML_N_S, &MyHashItem[183]}, ++ /* 183 */ {"/a", HTML_N_A, NULL}, ++ /* 184 */ {"/select_int", HTML_N_SELECT_INT, &MyHashItem[185]}, ++ /* 185 */ {"sub", HTML_SUB, &MyHashItem[186]}, ++ /* 186 */ {"/b", HTML_N_B, NULL}, ++ /* 187 */ {"/internal", HTML_N_INTERNAL, NULL}, ++ /* 188 */ {"/acronym", HTML_N_ACRONYM, NULL}, ++ /* 189 */ {"/pre_plain", HTML_N_PRE_PLAIN, &MyHashItem[190]}, ++ /* 190 */ {"font", HTML_FONT, &MyHashItem[191]}, ++ /* 191 */ {"/dl", HTML_N_DL, NULL}, ++ /* 192 */ {"form", HTML_FORM, &MyHashItem[193]}, ++ /* 193 */ {"/cite", HTML_NOP, &MyHashItem[194]}, ++ /* 194 */ {"a", HTML_A, NULL}, ++ /* 195 */ {"b", HTML_B, NULL}, ++ /* 196 */ {"/listing", HTML_N_LISTING, &MyHashItem[197]}, ++ /* 197 */ {"/em", HTML_N_EM, &MyHashItem[198]}, ++ /* 198 */ {"/i", HTML_N_I, NULL}, ++}; ++ ++static HashItem_si *MyHashItemTbl[] = { ++ &MyHashItem[0], ++ &MyHashItem[5], ++ NULL, ++ &MyHashItem[7], ++ &MyHashItem[9], ++ &MyHashItem[10], ++ &MyHashItem[14], ++ &MyHashItem[18], ++ &MyHashItem[19], ++ &MyHashItem[21], ++ &MyHashItem[23], ++ &MyHashItem[27], ++ &MyHashItem[31], ++ &MyHashItem[35], ++ &MyHashItem[38], ++ &MyHashItem[41], ++ &MyHashItem[43], ++ &MyHashItem[44], ++ &MyHashItem[45], ++ NULL, ++ &MyHashItem[48], ++ &MyHashItem[51], ++ &MyHashItem[52], ++ &MyHashItem[54], ++ &MyHashItem[55], ++ NULL, ++ &MyHashItem[61], ++ &MyHashItem[62], ++ &MyHashItem[63], ++ NULL, ++ &MyHashItem[67], ++ &MyHashItem[71], ++ &MyHashItem[73], ++ &MyHashItem[77], ++ &MyHashItem[78], ++ NULL, ++ &MyHashItem[80], ++ &MyHashItem[85], ++ &MyHashItem[86], ++ &MyHashItem[88], ++ &MyHashItem[89], ++ &MyHashItem[91], ++ &MyHashItem[94], ++ NULL, ++ &MyHashItem[97], ++ &MyHashItem[100], ++ &MyHashItem[103], ++ &MyHashItem[106], ++ &MyHashItem[108], ++ &MyHashItem[112], ++ &MyHashItem[115], ++ &MyHashItem[116], ++ &MyHashItem[117], ++ &MyHashItem[121], ++ &MyHashItem[122], ++ &MyHashItem[123], ++ &MyHashItem[124], ++ &MyHashItem[125], ++ &MyHashItem[126], ++ &MyHashItem[129], ++ &MyHashItem[130], ++ &MyHashItem[131], ++ &MyHashItem[132], ++ NULL, ++ &MyHashItem[134], ++ &MyHashItem[137], ++ NULL, ++ NULL, ++ &MyHashItem[138], ++ &MyHashItem[140], ++ &MyHashItem[142], ++ &MyHashItem[143], ++ &MyHashItem[144], ++ &MyHashItem[146], ++ &MyHashItem[148], ++ NULL, ++ NULL, ++ &MyHashItem[149], ++ &MyHashItem[151], ++ &MyHashItem[153], ++ &MyHashItem[155], ++ &MyHashItem[157], ++ &MyHashItem[159], ++ &MyHashItem[164], ++ &MyHashItem[166], ++ &MyHashItem[167], ++ &MyHashItem[168], ++ NULL, ++ NULL, ++ &MyHashItem[176], ++ &MyHashItem[177], ++ &MyHashItem[182], ++ &MyHashItem[184], ++ NULL, ++ &MyHashItem[187], ++ &MyHashItem[188], ++ &MyHashItem[189], ++ &MyHashItem[192], ++ &MyHashItem[195], ++ &MyHashItem[196], ++}; ++ ++Hash_si tagtable = { 100, MyHashItemTbl }; diff --git a/patches/w3m/makefile.patch b/patches/w3m/makefile.patch new file mode 100644 index 00000000..0f55a60a --- /dev/null +++ b/patches/w3m/makefile.patch @@ -0,0 +1,28 @@ +--- w3m-0.5.3-git20190105.orig/Makefile.in 2019-01-05 09:41:27.000000000 +0100 ++++ w3m-0.5.3-git20190105/Makefile.in 2019-05-05 15:44:26.429910511 +0200 +@@ -137,11 +137,13 @@ + $(OBJS) $(LOBJS): fm.h funcname1.h + + tagtable.c: tagtable.tab mktable$(EXT) html.h +- ./mktable$(EXT) 100 $(srcdir)/tagtable.tab > $@ ++ echo tagtable.tab ++ #./mktable$(EXT) 100 $(srcdir)/tagtable.tab > $@ + + entity.h: entity.tab mktable$(EXT) +- echo '/* $$I''d$$ */' > $@ +- ./mktable$(EXT) 100 $(srcdir)/entity.tab >> $@ ++ echo entity.h ++ #echo '/* $$I''d$$ */' > $@ ++ #./mktable$(EXT) 100 $(srcdir)/entity.tab >> $@ + + indep.o: indep.c fm.h funcname1.h entity.h + func.o: funcname.c functable.c funcname1.h +@@ -174,7 +176,7 @@ + + functable.c: funcname.tab mktable$(EXT) + sort funcname.tab | $(AWK) -f $(top_srcdir)/functable.awk > functable.tab +- ./mktable$(EXT) 100 functable.tab > $@ ++ #./mktable$(EXT) 100 functable.tab > $@ + -rm -f functable.tab + + mktable$(EXT): mktable.o dummy.o Str.o hash.o myctype.o -- cgit v1.2.3