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
|
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
---
src/s_path.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/s_path.c b/src/s_path.c
index 6cb589d..90f622c 100644
--- a/src/s_path.c
+++ b/src/s_path.c
@@ -261,6 +261,10 @@ void sys_setextrapath(const char *p)
#endif
/* add built-in "extra" path last so its checked last */
STUFF->st_staticpath = namelist_append(STUFF->st_staticpath, p, 0);
+ /* DEBIAN: add common path for all pd-flavours very last, so puredata
+ * specific externals get higher priority */
+ 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",
|