[Demudi-commits] r1577 - csound/trunk/debian/patches

fsateler-guest at alioth.debian.org fsateler-guest at alioth.debian.org
Tue Sep 4 04:25:06 UTC 2007


Author: fsateler-guest
Date: 2007-09-04 04:25:05 +0000 (Tue, 04 Sep 2007)
New Revision: 1577

Added:
   csound/trunk/debian/patches/03lua-interface-build.dpatch
Modified:
   csound/trunk/debian/patches/00list
Log:
Pass -lua flag to swig when generating the lua interface, or else we get tcl instead

Modified: csound/trunk/debian/patches/00list
===================================================================
--- csound/trunk/debian/patches/00list	2007-09-04 03:54:10 UTC (rev 1576)
+++ csound/trunk/debian/patches/00list	2007-09-04 04:25:05 UTC (rev 1577)
@@ -1,3 +1,4 @@
 00lua-link
 01no-java-recompile
 02instdir
+03lua-interface-build

Added: csound/trunk/debian/patches/03lua-interface-build.dpatch
===================================================================
--- csound/trunk/debian/patches/03lua-interface-build.dpatch	                        (rev 0)
+++ csound/trunk/debian/patches/03lua-interface-build.dpatch	2007-09-04 04:25:05 UTC (rev 1577)
@@ -0,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 04lua-interface-build.dpatch by  <fsateler at gmail.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Pass -lua to the SWIG flags when generating lua interfaces.
+## DP: Otherwise SWIG generates TCL output.
+
+ at DPATCH@
+diff -urNad csound-5.06.0.dfsg~/SConstruct csound-5.06.0.dfsg/SConstruct
+--- csound-5.06.0.dfsg~/SConstruct	2007-09-03 23:44:00.210813112 -0400
++++ csound-5.06.0.dfsg/SConstruct	2007-09-03 23:44:47.713520074 -0400
+@@ -1065,7 +1065,7 @@
+         print 'CONFIGURATION DECISION: Building Csound Lua interface library.'
+         csoundLuaInterface = csoundWrapperEnvironment.SharedObject(
+             'interfaces/lua_interface.i',
+-            SWIGFLAGS = [swigflags, '-llua5.1', '-outdir', '.'])
++            SWIGFLAGS = [swigflags, '-lua', '-llua5.1', '-outdir', '.'])
+         if getPlatform() != 'darwin':
+             csoundInterfacesSources.insert(0, csoundLuaInterface)
+             if getPlatform() == 'win32':


Property changes on: csound/trunk/debian/patches/03lua-interface-build.dpatch
___________________________________________________________________
Name: svn:executable
   + *




More information about the Demudi-commits mailing list