[Demudi-commits] r1584 - csound/trunk/debian/patches
fsateler-guest at alioth.debian.org
fsateler-guest at alioth.debian.org
Fri Sep 7 17:54:46 UTC 2007
Author: fsateler-guest
Date: 2007-09-07 17:54:46 +0000 (Fri, 07 Sep 2007)
New Revision: 1584
Added:
csound/trunk/debian/patches/04cseditor-shared-link.dpatch
Modified:
csound/trunk/debian/patches/00list
Log:
Patch SConstruct to link cseditor dinamically to fltk.
Modified: csound/trunk/debian/patches/00list
===================================================================
--- csound/trunk/debian/patches/00list 2007-09-07 17:53:48 UTC (rev 1583)
+++ csound/trunk/debian/patches/00list 2007-09-07 17:54:46 UTC (rev 1584)
@@ -2,3 +2,4 @@
01no-java-recompile
02instdir
03lua-interface-build
+04cseditor-shared-link
Added: csound/trunk/debian/patches/04cseditor-shared-link.dpatch
===================================================================
--- csound/trunk/debian/patches/04cseditor-shared-link.dpatch (rev 0)
+++ csound/trunk/debian/patches/04cseditor-shared-link.dpatch 2007-09-07 17:54:46 UTC (rev 1584)
@@ -0,0 +1,21 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 04cseditor-shared-link.dpatch by <fsateler at gmail.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Link cseditor against shared libfltk
+
+ at DPATCH@
+diff -urNad csound-5.06.0.dfsg~/SConstruct csound-5.06.0.dfsg/SConstruct
+--- csound-5.06.0.dfsg~/SConstruct 2007-09-06 23:25:31.430289724 -0400
++++ csound-5.06.0.dfsg/SConstruct 2007-09-06 23:26:01.431999419 -0400
+@@ -1872,7 +1872,9 @@
+ else:
+ if getPlatform() == 'linux' or getPlatform() == 'darwin':
+ csEdit = commonEnvironment.Copy()
+- csEditor = csEdit.Command('cseditor', 'frontends/cseditor/cseditor.cxx', "fltk-config --compile frontends/cseditor/cseditor.cxx")
++ csEditFltkConfig = 'fltk-config --cxxflags --ldflags'
++ csEdit.ParseConfig(csEditFltkConfig)
++ csEditor = csEdit.Program( 'cseditor', ['frontends/cseditor/cseditor.cxx'] )
+ executables.append(csEditor)
+ else:
+ csEditor = vstEnvironment.Program('cseditor', ['frontends/cseditor/cseditor.cxx'])
Property changes on: csound/trunk/debian/patches/04cseditor-shared-link.dpatch
___________________________________________________________________
Name: svn:executable
+ *
More information about the Demudi-commits
mailing list