summaryrefslogtreecommitdiff
path: root/recipes/python/python-2.6.1
diff options
context:
space:
mode:
authorSergey Lapin <slapin@ossfans.org>2009-06-26 22:32:52 +0400
committerSergey Lapin <slapin@ossfans.org>2009-06-26 22:32:52 +0400
commitc91a54aef8a39e7cbb2571574f56f2cf12104ff1 (patch)
treee68102d093c111affd9208b78df9c18aa837c3b8 /recipes/python/python-2.6.1
parent323edc5ef4c3d8572ee0b4fd185ca6e3166d6b45 (diff)
parent84efca2e2ad21d3d7cea68c0327f91aaf773eb67 (diff)
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Conflicts: recipes/musicpd/mpd_0.14.2.bb
Diffstat (limited to 'recipes/python/python-2.6.1')
-rw-r--r--recipes/python/python-2.6.1/07-export-grammer.patch10
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");