diff options
author | Shiz <hi@shiz.me> | 2017-05-22 18:40:14 +0200 |
---|---|---|
committer | Shiz <hi@shiz.me> | 2017-05-22 18:40:42 +0200 |
commit | 93ad08e10334b4133743f9042e8b9aff9583b23f (patch) | |
tree | 0e1d693037ed4e28451535c45887947e28027c23 /community/julia/0008-ldconfig-compat.patch | |
parent | 7039b303d95e672b466926ed93c105e2dc7e2db2 (diff) | |
download | aports-93ad08e10334b4133743f9042e8b9aff9583b23f.tar.bz2 aports-93ad08e10334b4133743f9042e8b9aff9583b23f.tar.xz |
community/julia: move from testing
Diffstat (limited to 'community/julia/0008-ldconfig-compat.patch')
-rw-r--r-- | community/julia/0008-ldconfig-compat.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/community/julia/0008-ldconfig-compat.patch b/community/julia/0008-ldconfig-compat.patch new file mode 100644 index 0000000000..1d5fcd988b --- /dev/null +++ b/community/julia/0008-ldconfig-compat.patch @@ -0,0 +1,24 @@ +From: Jakub Jirutka <jakub@jirutka.cz> +Date: Thu, 9 Jun 2016 01:15:00 +0200 +Subject: [PATCH] Use our find-syslibs script instead of /sbin/ldconfig -p + +Julia uses "ldconfig -p" to find system libraries. The problem is that musl's +ldconfig doesn't support the option "-p". Moreover, ldconfig relies on .pc +files that are installed only with -dev subpackages. + +This workaround lies in using custom script that adapts output of scanelf to +the format produced by "ldconfig -p". + +See https://github.com/JuliaLang/julia/issues/6742. + +--- a/src/runtime_ccall.cpp ++++ b/src/runtime_ccall.cpp +@@ -30,7 +30,7 @@ + char *line=NULL; + size_t sz=0; + #if defined(__linux__) +- FILE *ldc = popen("/sbin/ldconfig -p", "r"); ++ FILE *ldc = popen("/usr/share/julia/find-syslibs", "r"); + #else + FILE *ldc = popen("/sbin/ldconfig -r", "r"); + #endif |