From 1fc28fb0486c14b791377fc21c96c0323cc1e8da Mon Sep 17 00:00:00 2001 From: Florian Boor Date: Mon, 18 May 2009 15:25:02 +0200 Subject: python: Add patch to fix linking --- recipes/python/python-2.6.1/07-export-grammer.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 recipes/python/python-2.6.1/07-export-grammer.patch (limited to 'recipes/python/python-2.6.1') 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"); -- cgit 1.2.3-korg