mirror of
https://git.yoctoproject.org/poky
synced 2026-04-05 08:02:25 +02:00
python: Update 2.5 -> 2.6 (from OE.dev)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
10
meta/packages/python/python-2.6.1/07-export-grammer.patch
vendored
Normal file
10
meta/packages/python/python-2.6.1/07-export-grammer.patch
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
--- Python-2.6.1.orig/Parser/printgrammar.c 2008-04-13 15:35:56.000000000 -0500
|
||||
+++ Python-2.6.1/Parser/printgrammar.c 2008-12-28 00:01:28.675633800 -0600
|
||||
@@ -16,6 +16,7 @@
|
||||
fprintf(fp, "/* Generated by Parser/pgen */\n\n");
|
||||
fprintf(fp, "#include \"pgenheaders.h\"\n");
|
||||
fprintf(fp, "#include \"grammar.h\"\n");
|
||||
+ fprintf(fp, "PyAPI_DATA(grammar) _PyParser_Grammar;\n");
|
||||
printdfas(g, fp);
|
||||
printlabels(g, fp);
|
||||
fprintf(fp, "grammar _PyParser_Grammar = {\n");
|
||||
Reference in New Issue
Block a user