Package: lilypond / 2.19.83-1~exp1

0101-read_relocation_dir-in-lilypond_datadir-too.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
Description: Read relocation dir under lilypond_datadir too
 This allows loading /usr/share/lilypond/2.18.2/etc/relocate/guile.reloc
 to set our own private GUILE_LOAD_PATH at startup.
Author: Anthony Fok <foka@debian.org>
Origin: vendor
Bug-Debian: https://bugs.debian.org/746005
Forwarded: not-needed
Last-Update: 2017-01-24
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/lily/relocate.cc
+++ b/lily/relocate.cc
@@ -150,8 +150,10 @@
   debug_output (_f ("Relocation: framework_prefix=%s", prefix));
 
   sane_putenv ("INSTALLER_PREFIX", prefix, true);
+  sane_putenv ("LILYPOND_DATADIR", lilypond_datadir, true);
 
   read_relocation_dir (prefix + "/etc/relocate/");
+  read_relocation_dir (lilypond_datadir + "/etc/relocate/");
 
   string bindir = prefix + "/bin";