Package: puredata / 0.46.2-1

debian_pd2puredata.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Author: IOhannes m zmölnig <zmoelnig@iem.at>
Description: in order to allow multiple flavours of Pd
 to be installed simultaneously, puredata will install itself as
 "/usr/bin/puredata" and provide an alternative as "pd"
 .
 This patch ensures that the "puredata" namespace is used throughout
 (both installed binary and library-paths)
--- puredata.orig/configure.ac
+++ puredata/configure.ac
@@ -1,5 +1,5 @@
 AC_PREREQ(2.59)
-AC_INIT(pd,0.46.2)
+AC_INIT(puredata,0.46.2)
 AC_CONFIG_SRCDIR(src/m_pd.c)
 AC_CONFIG_AUX_DIR([m4/config])
 AM_INIT_AUTOMAKE
--- puredata.orig/src/s_main.c
+++ puredata/src/s_main.c
@@ -533,7 +533,7 @@
 #else
     strncpy(sbuf, sbuf2, MAXPDSTRING-30);
     sbuf[MAXPDSTRING-30] = 0;
-    strcat(sbuf, "/lib/pd");
+    strcat(sbuf, "/lib/puredata");
     if (stat(sbuf, &statbuf) >= 0)
     {
             /* complicated layout: lib dir is the one we just stat-ed above */