diff options
Diffstat (limited to '0.84/platform/olpcsound/SOURCES/olpcsound-5.10.1-sugar-csound-python-version.patch')
-rw-r--r-- | 0.84/platform/olpcsound/SOURCES/olpcsound-5.10.1-sugar-csound-python-version.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/0.84/platform/olpcsound/SOURCES/olpcsound-5.10.1-sugar-csound-python-version.patch b/0.84/platform/olpcsound/SOURCES/olpcsound-5.10.1-sugar-csound-python-version.patch new file mode 100644 index 0000000..8ef62ba --- /dev/null +++ b/0.84/platform/olpcsound/SOURCES/olpcsound-5.10.1-sugar-csound-python-version.patch @@ -0,0 +1,11 @@ +--- Csound5.10.1/SConstruct.orig 2009-04-23 22:34:30.000000000 -0400 ++++ Csound5.10.1/SConstruct 2009-04-23 22:35:06.000000000 -0400 +@@ -329,7 +329,7 @@ + commonEnvironment.Prepend(SWIGFLAGS = customSWIGFLAGS) + + if commonEnvironment['buildOLPC'] == '1': +- commonEnvironment['pythonVersion'] = '2.5' ++ commonEnvironment['pythonVersion'] = '%d.%d' % sys.version_info[0:2] + buildOLPC = True; + commonEnvironment.Prepend(CPPFLAGS = ['-DOLPC']) + commonEnvironment.Prepend(CPPFLAGS = ['-DENABLE_OPCODEDIR_WARNINGS=0']) |