Package: puredata / 0.55.2+ds-1~bpo12+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
18
19
20
21
22
23
24
25
From: =?utf-8?q?IOhannes_m_zm=C3=B6lnig?= <umlaeute@debian.org>
Date: Tue, 29 Jan 2019 11:31:36 +0100
Subject: 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

Last-Update: 2023-11-02
Origin: Debian
Forwarded: not-needed
---
 src/s_path.c | 1 +
 1 file changed, 1 insertion(+)

--- puredata.orig/src/s_path.c
+++ puredata/src/s_path.c
@@ -253,6 +253,7 @@
 #endif
     /* add built-in "extra" path last so its checked last */
     STUFF->st_staticpath = namelist_append(STUFF->st_staticpath, p, 0);
+    STUFF->st_staticpath = namelist_append(STUFF->st_staticpath, "/usr/lib/pd/extra", 0);
 }
 
     /* try to open a file in the directory "dir", named "name""ext",