[arch-commits] Commit in julia/trunk (PKGBUILD julia-libunwind-version.patch)

Antonio Rojas arojas at archlinux.org
Sun Jun 25 16:36:45 UTC 2017


    Date: Sunday, June 25, 2017 @ 16:36:44
  Author: arojas
Revision: 240926

Update to 0.6.0

Added:
  julia/trunk/julia-libunwind-version.patch
Modified:
  julia/trunk/PKGBUILD

-------------------------------+
 PKGBUILD                      |   18 +++++++++++-------
 julia-libunwind-version.patch |   15 +++++++++++++++
 2 files changed, 26 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-25 15:38:21 UTC (rev 240925)
+++ PKGBUILD	2017-06-25 16:36:44 UTC (rev 240926)
@@ -7,24 +7,28 @@
 
 pkgbase=julia
 pkgname=('julia' 'julia-docs')
-pkgver=0.5.2
-pkgrel=2
+pkgver=0.6.0
+pkgrel=1
 epoch=2
 arch=('x86_64' 'i686')
 pkgdesc='High-level, high-performance, dynamic programming language'
 url='http://julialang.org/'
 license=('MIT')
-makedepends=('gcc-fortran' 'python2' 'blas' 'lapack' 'arpack' 'libunwind' 'fftw' 'llvm39'
+makedepends=('gcc-fortran' 'python2' 'blas' 'lapack' 'arpack' 'libunwind' 'fftw' 'llvm'
              'gmp' 'mpfr' 'zlib' 'suitesparse' 'patchelf' 'cmake' 'pcre2' 'libgit2' 'openssl')
 options=('!emptydirs' 'staticlibs')
-source=("https://github.com/JuliaLang/julia/releases/download/v$pkgver/julia-$pkgver.tar.gz"{,.asc})
-sha256sums=('76d780cca500034bddfe20e4fd19f99bd4ba6f92fc46735967e0f48c114dfa26'
-            'SKIP')
+source=("https://github.com/JuliaLang/julia/releases/download/v$pkgver/julia-$pkgver.tar.gz"{,.asc} julia-libunwind-version.patch)
+sha256sums=('1c62bfce8075acf2b5b02355520a61210690324eceb021030681459d18a3a665'
+            'SKIP'
+            '16009ce454f58463464027cbaf6186ccfab84c37660a52fb1ec3a0f514df64f9')
 validpgpkeys=('3673DF529D9049477F76B37566E3C7DC03D6E495') # Julia (Binary signing key) <buildbot at julialang.org>
 
 prepare() {
   # For /etc/ld.so.conf.d/
   echo '/usr/lib/julia' > julia.conf
+
+  cd $pkgname-$pkgver
+  patch -p1 -i ../julia-libunwind-version.patch
 }
 
 build() {
@@ -70,7 +74,7 @@
 
 package_julia() {
   backup=('etc/ld.so.conf.d/julia.conf' 'etc/julia/juliarc.jl')
-  depends=('arpack' 'fftw' 'libunwind' 'mpfr' 'suitesparse' 'pcre2' 'libgit2' 'llvm39-libs' 'patchelf' 'hicolor-icon-theme')
+  depends=('arpack' 'fftw' 'libunwind' 'mpfr' 'suitesparse' 'pcre2' 'libgit2' 'llvm-libs' 'patchelf' 'hicolor-icon-theme')
   optdepends=('gnuplot: If using the Gaston Package from julia')
   install='sysfix.install'
 

Added: julia-libunwind-version.patch
===================================================================
--- julia-libunwind-version.patch	                        (rev 0)
+++ julia-libunwind-version.patch	2017-06-25 16:36:44 UTC (rev 240926)
@@ -0,0 +1,15 @@
+--- julia-0.6.0/src/julia_internal.h.0	2017-06-25 16:10:29.688382943 +0000
++++ julia-0.6.0/src/julia_internal.h	2017-06-25 16:11:15.328315342 +0000
+@@ -643,11 +643,8 @@
+ typedef unw_context_t bt_context_t;
+ typedef unw_cursor_t bt_cursor_t;
+-#  if (!defined(SYSTEM_LIBUNWIND) || UNW_VERSION_MAJOR > 1 ||   \
+-       (UNW_VERSION_MAJOR == 1 && UNW_VERSION_MINOR > 1))
+ // Enable our memory manager only for libunwind with our patch or
+ // on a newer release
+ #    define JL_UNW_HAS_FORMAT_IP 1
+-#  endif
+ #endif
+ size_t rec_backtrace(uintptr_t *data, size_t maxsize);
+ size_t rec_backtrace_ctx(uintptr_t *data, size_t maxsize, bt_context_t *ctx);
+



More information about the arch-commits mailing list