~dobey/swh-lv2/packaging-dailies

« back to all changes in this revision

Viewing changes to patches/02-gsm_plugin.patch

  • Committer: Rodney Dawes
  • Date: 2015-12-29 22:15:56 UTC
  • Revision ID: dobey@wayofthemonkey.com-20151229221556-nu39tqi0i0trusmt
Initial daily build packaging.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Description: Use system-wide copies of gsm.h and lv2.h.
 
2
Author: Alessio Treglia <alessio@debian.org>
 
3
Forwarded: not-needed
 
4
---
 
5
 plugins/gsm-swh.lv2/plugin.xml |    2 +-
 
6
 xslt/source.xsl                |    2 +-
 
7
 2 files changed, 2 insertions(+), 2 deletions(-)
 
8
 
 
9
--- swh-lv2.orig/xslt/source.xsl
 
10
+++ swh-lv2/xslt/source.xsl
 
11
@@ -11,7 +11,7 @@
 
12
 <xsl:variable name="PLUGINLABEL"><xsl:call-template name="allCaps"><xsl:with-param name="in" select="$pluginLabel" /></xsl:call-template></xsl:variable>
 
13
 #include &lt;math.h&gt;
 
14
 #include &lt;stdlib.h&gt;
 
15
-#include "lv2.h"
 
16
+#include &lt;lv2.h&gt;
 
17
 
 
18
 typedef struct _<xsl:value-of select="$PluginLabel"/> {
 
19
 <xsl:for-each select="port">  float *<xsl:value-of select="@label"/>;
 
20
--- swh-lv2.orig/plugins/gsm-swh.lv2/plugin.xml
 
21
+++ swh-lv2/plugins/gsm-swh.lv2/plugin.xml
 
22
@@ -9,7 +9,7 @@
 
23
     <code><![CDATA[
 
24
       #include <stdlib.h>
 
25
       #include "ladspa-util.h"
 
26
-      #include "gsm/gsm.h"
 
27
+      #include <gsm/gsm.h>
 
28
       #include "util/biquad.h"
 
29
 
 
30
       #define SCALE 32768.0f