Package: puredata / 0.46.2-1

debian_usrlibpd_path.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Author: IOhannes m zmölnig
Description: search /usr/lib/pd/extra/ for externals
 since we install into /usr/lib/puredata/extra, the ordinary install path for
 externals (/usr/lib/pd/extra) won't get searched automatically; so we need to
 add it manually
--- puredata.orig/src/s_path.c
+++ puredata/src/s_path.c
@@ -259,6 +259,9 @@
 #endif
     /* add built-in "extra" path last so its checked last */
     sys_staticpath = namelist_append(sys_staticpath, p, 0);
+    /* add common path for pd very last, so puredata specific externals get 
+     * higher priority */
+    sys_staticpath = namelist_append(sys_staticpath, "/usr/lib/pd/extra", 0);
 }
 
     /* try to open a file in the directory "dir", named "name""ext",