diff -Nru julia-0.2.1+dfsg/debian/changelog julia-0.2.1+dfsg/debian/changelog --- julia-0.2.1+dfsg/debian/changelog 2014-02-15 20:31:51.000000000 +0000 +++ julia-0.2.1+dfsg/debian/changelog 2014-03-16 15:25:28.000000000 +0000 @@ -1,3 +1,11 @@ +julia (0.2.1+dfsg-2) unstable; urgency=medium + + * readline-6.3.patch: new patch, fixes FTBFS against readline 6.3. + (Closes: #741824) + * Restrict supported archs to amd64 and i386, it never compiled elsewhere. + + -- Sébastien Villemot Sun, 16 Mar 2014 16:25:21 +0100 + julia (0.2.1+dfsg-1) unstable; urgency=medium * New upstream release. diff -Nru julia-0.2.1+dfsg/debian/control julia-0.2.1+dfsg/debian/control --- julia-0.2.1+dfsg/debian/control 2014-02-01 09:17:08.000000000 +0000 +++ julia-0.2.1+dfsg/debian/control 2014-02-20 19:59:54.000000000 +0000 @@ -15,7 +15,7 @@ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-julia/julia.git Package: julia -Architecture: any +Architecture: amd64 i386 Pre-Depends: ${misc:Pre-Depends} # NB: several shared libs have to be hardcoded because they are dlopen'd from # Julia scripts, and therefore dpkg-shlibdeps cannot detect them @@ -60,7 +60,7 @@ Package: julia-dbg Section: debug -Architecture: any +Architecture: amd64 i386 Depends: julia (= ${binary:Version}), ${misc:Depends} Description: high-performance programming language for technical computing Julia is a high-level, high-performance dynamic programming language for diff -Nru julia-0.2.1+dfsg/debian/patches/readline-6.3.patch julia-0.2.1+dfsg/debian/patches/readline-6.3.patch --- julia-0.2.1+dfsg/debian/patches/readline-6.3.patch 1970-01-01 00:00:00.000000000 +0000 +++ julia-0.2.1+dfsg/debian/patches/readline-6.3.patch 2014-03-16 15:22:39.000000000 +0000 @@ -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; diff -Nru julia-0.2.1+dfsg/debian/patches/series julia-0.2.1+dfsg/debian/patches/series --- julia-0.2.1+dfsg/debian/patches/series 2013-12-02 17:33:44.000000000 +0000 +++ julia-0.2.1+dfsg/debian/patches/series 2014-03-16 15:18:48.000000000 +0000 @@ -13,3 +13,4 @@ sysconfdir-install.patch testsuite-i386.patch disable-parallel-test.patch +readline-6.3.patch