diff options
Diffstat (limited to 'dev-lang/julia/files/julia-0.2.1-readline63.patch')
-rw-r--r-- | dev-lang/julia/files/julia-0.2.1-readline63.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-lang/julia/files/julia-0.2.1-readline63.patch b/dev-lang/julia/files/julia-0.2.1-readline63.patch new file mode 100644 index 000000000000..cc9ede53f392 --- /dev/null +++ b/dev-lang/julia/files/julia-0.2.1-readline63.patch @@ -0,0 +1,17 @@ +Description: Fix FTBFS against readline 6.3 +Origin: backport, https://github.com/JuliaLang/julia/commit/d2552e0f03d1dc23d6bb0c89c39da3d73c7aa4e5 +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741824 +Last-Update: 2014-03-16 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/ui/repl-readline.c ++++ b/ui/repl-readline.c +@@ -831,7 +831,7 @@ void jl_init_repl(int history) + rl_instream = fopen("/dev/null","r"); + prompt_length = 7; // == strlen("julia> ") + init_history(); +- rl_startup_hook = (Function*)init_rl; ++ rl_startup_hook = (rl_hook_func_t*)init_rl; + } + + static char *prompt_string=NULL; |