void-packages/srcpkgs/faust/patches/faust-voidlinux-lib_and_arch_paths.patch
mag ba9829d3dd New package: faust-2.20.2
Closes: #17568 [via git-merge-pr]
2020-01-06 19:59:44 +01:00

32 lines
1.5 KiB
Diff

--- compiler/libcode.cpp-old 2019-12-22 19:50:13.663677186 +0100
+++ compiler/libcode.cpp 2019-12-22 19:51:42.011680485 +0100
@@ -733,11 +733,11 @@
}
static void printArchDir()
{
- cout << gGlobal->gFaustRootDir << kPSEP << "share" << kPSEP << "faust" << endl;
+ cout << gGlobal->gFaustRootDir << kPSEP << "lib" << kPSEP << "faust" << endl;
}
static void printDspDir()
{
- cout << gGlobal->gFaustRootDir << kPSEP << "share" << kPSEP << "faust" << endl;
+ cout << gGlobal->gFaustRootDir << kPSEP << "lib" << kPSEP << "faust" << endl;
}
static void printPaths()
{
@@ -1101,6 +1101,7 @@
gGlobal->gImportDirList.push_back(exepath::dirup(gGlobal->gFaustExeDir) + "/share/faust");
gGlobal->gImportDirList.push_back("/usr/local/share/faust");
gGlobal->gImportDirList.push_back("/usr/share/faust");
+ gGlobal->gImportDirList.push_back("/usr/lib/faust");
//-------------------------------------------------------------------------------------
// init gArchitectureDirList : a list of path where to search architectures files
@@ -1119,6 +1120,7 @@
gGlobal->gArchitectureDirList.push_back(exepath::dirup(gGlobal->gFaustExeDir) + "/include");
gGlobal->gArchitectureDirList.push_back("/usr/local/share/faust");
gGlobal->gArchitectureDirList.push_back("/usr/share/faust");
+ gGlobal->gArchitectureDirList.push_back("/usr/lib/faust");
gGlobal->gArchitectureDirList.push_back("/usr/local/include");
gGlobal->gArchitectureDirList.push_back("/usr/include");