Magellan Linux

Diff of /trunk/extras/rust/rust-1.23.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 30451 by niro, Tue Jan 23 09:23:48 2018 UTC revision 30452 by niro, Tue Jan 23 09:25:36 2018 UTC
# Line 37  sminclude mbuild mtools Line 37  sminclude mbuild mtools
37  SRC_URI=(  SRC_URI=(
38   https://static.rust-lang.org/dist/${SRCFILE}   https://static.rust-lang.org/dist/${SRCFILE}
39   mirror://${PNAME}/${SRCFILE}   mirror://${PNAME}/${SRCFILE}
  mirror://${PNAME}/${PNAME}-${PVER}-thinlto-llvm5-fixes.patch  
40  )  )
41    
42  UP2DATE="updatecmd https://www.rust-lang.org/en-US/other-installers.html | grep 'rustc-.*-src.*' | sed 's:-src::g' | highesttarball gz"  UP2DATE="updatecmd https://www.rust-lang.org/en-US/other-installers.html | grep 'rustc-.*-src.*' | sed 's:-src::g' | highesttarball gz"
# Line 79  src_prepare() Line 78  src_prepare()
78   ln -snf ${SOURCEDIR}/${PNAME}/${RUSTSTD_SRCFILE} ${SRCDIR}/build/cache/${RUSTBIN_DATE}/ || die   ln -snf ${SOURCEDIR}/${PNAME}/${RUSTSTD_SRCFILE} ${SRCDIR}/build/cache/${RUSTBIN_DATE}/ || die
79   ln -snf ${SOURCEDIR}/${PNAME}/${CARGOBIN_SRCFILE} ${SRCDIR}/build/cache/${RUSTBIN_DATE}/ || die   ln -snf ${SOURCEDIR}/${PNAME}/${CARGOBIN_SRCFILE} ${SRCDIR}/build/cache/${RUSTBIN_DATE}/ || die
80   fi   fi
   
  cd ${SRCDIR}  
   
  # apply llvm5 thinLTO fixes  
  # see: https://github.com/rust-lang/rust/pull/45301, https://github.com/rust-lang/rust/pull/45301/files  
  mpatch ${PNAME}-${PVER}-thinlto-llvm5-fixes.patch || die  
81  }  }
82    
83  src_compile()  src_compile()

Legend:
Removed from v.30451  
changed lines
  Added in v.30452