~ubuntu-branches/ubuntu/precise/csound/precise

« back to all changes in this revision

Viewing changes to debian/patches/2003-fix-_csnd.diff

  • Committer: Package Import Robot
  • Author(s): Felipe Sateler
  • Date: 2012-04-19 09:26:46 UTC
  • mfrom: (3.2.19 sid)
  • Revision ID: package-import@ubuntu.com-20120419092646-96xbj1n6atuqosk2
Tags: 1:5.17.6~dfsg-1
* New upstream release
 - Do not build the wiimote opcodes (we need wiiuse).
* Add new API function to symbols file
* Disable lua opcodes, they were broken. Requires OpenMP to be enabled.
* Backport fixes from upstream:
  - Link dssi4cs with dl. Backport
  - Fix building of CsoundAC

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Description: Avoid csnd soname in Python library
2
 
 The csnd python module uses the csnd library environment as a base. As
3
 
 such, the csnd soname has to be removed from it. This is not pushed
4
 
 upstream since a cleaner solution should be implemented.
5
 
Author: Felipe Sateler <fsateler@gmail.com>
6
 
Index: csound/SConstruct
7
 
===================================================================
8
 
--- csound.orig/SConstruct      2009-05-24 20:55:20.000000000 +1000
9
 
+++ csound/SConstruct   2009-05-24 20:55:26.000000000 +1000
10
 
@@ -1360,6 +1360,9 @@
11
 
         csoundInterfacesEnvironment.Append(CPPPATH = pythonIncludePath)
12
 
         csndPythonEnvironment = csoundInterfacesEnvironment.Clone()
13
 
         fixCFlagsForSwig(csndPythonEnvironment)
14
 
+        flag = '-Wl,-soname=libcsnd.so.%s' % csoundLibraryVersion
15
 
+        if flag in csndPythonEnvironment['SHLINKFLAGS']:
16
 
+             csndPythonEnvironment['SHLINKFLAGS'].remove(flag)
17
 
         if getPlatform() == 'darwin':
18
 
             if commonEnvironment['dynamicCsoundLibrary'] == '1':
19
 
                 csndPythonEnvironment.Append(LIBS = ['_csnd'])