Package: julia / 0.4.7-6

unversioned-system-load-path.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Drop version number from system load path
 This is unnecessary since this path is managed by dpkg/apt. Moreover, it would
 make transitions to higher versions needlessly complicated.
Author: S├ębastien Villemot <sebastien@debian.org>
Forwarded: no
Last-Update: 2013-11-03
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/base/client.jl
+++ b/base/client.jl
@@ -298,7 +298,7 @@
         prepend!(LOAD_PATH, split(ENV["JULIA_LOAD_PATH"], @windows? ';' : ':'))
     end
     push!(LOAD_PATH,abspath(JULIA_HOME,"..","local","share","julia","site",vers))
-    push!(LOAD_PATH,abspath(JULIA_HOME,"..","share","julia","site",vers))
+    push!(LOAD_PATH,abspath(JULIA_HOME,"..","share","julia","site"))
     push!(LOAD_CACHE_PATH,abspath(Pkg.Dir._pkgroot(),"lib",vers))
     push!(LOAD_CACHE_PATH,abspath(JULIA_HOME,"..","usr","lib","julia")) #TODO: fixme
 end