diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2009-05-19 15:58:00 +0400 |
---|---|---|
committer | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2009-05-19 15:58:00 +0400 |
commit | bfec41f79e1177aa047eb46e376752cee969287a (patch) | |
tree | 8eec0b7aabdf06c4b4a4eca38d77e188373a2b0b /recipes/python/python-2.6.1/07-export-grammer.patch | |
parent | 1ba4e6beb3482625dfa65c4d12b84c41fa3b1eb1 (diff) | |
parent | a5f902c677e9f919a1170a8355e158499fb0a27e (diff) |
Merge branch 'org.openembedded.dev' of git://git.openembedded.org/openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/python/python-2.6.1/07-export-grammer.patch')
-rw-r--r-- | recipes/python/python-2.6.1/07-export-grammer.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes/python/python-2.6.1/07-export-grammer.patch b/recipes/python/python-2.6.1/07-export-grammer.patch new file mode 100644 index 0000000000..b7ec2bbc65 --- /dev/null +++ b/recipes/python/python-2.6.1/07-export-grammer.patch @@ -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"); |