[arch-commits] Commit in arm-none-eabi-newlib/trunk (PKGBUILD)

Anatol Pomozov anatolik at archlinux.org
Tue Oct 17 16:43:03 UTC 2017


    Date: Tuesday, October 17, 2017 @ 16:43:02
  Author: anatolik
Revision: 263160

upgpkg: arm-none-eabi-newlib 2.5.0.20170922-1

Modified:
  arm-none-eabi-newlib/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-10-17 15:37:52 UTC (rev 263159)
+++ PKGBUILD	2017-10-17 16:43:02 UTC (rev 263160)
@@ -3,7 +3,7 @@
 
 _target=arm-none-eabi
 pkgname=$_target-newlib
-pkgver=2.5.0.20170421
+pkgver=2.5.0.20170922
 pkgrel=1
 _upstream_ver=$pkgver
 pkgdesc='A C standard library implementation intended for use on embedded systems (ARM bare metal)'
@@ -12,9 +12,16 @@
 license=(BSD)
 makedepends=($_target-gcc)
 options=(!emptydirs !strip)
-source=(ftp://sourceware.org/pub/newlib/newlib-$_upstream_ver.tar.gz)
-sha1sums=('d9d5627a3f795094f18a1d934584814b00c4471c')
+source=(ftp://sourceware.org/pub/newlib/newlib-$_upstream_ver.tar.gz
+        fix_build.patch::'https://www.sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=111b6813fb967a4bae51dc43d574c0c28d4dea6c'
+)
 
+
+prepare() {
+  cd newlib-$_upstream_ver
+  patch -p1 < ../fix_build.patch
+}
+
 build() {
   rm -rf build-{newlib,nano}
   mkdir build-{newlib,nano}
@@ -62,3 +69,5 @@
   install -d "$pkgdir"/usr/share/licenses/$pkgname/
   install -m644 -t "$pkgdir"/usr/share/licenses/$pkgname/ "$srcdir"/newlib-$_upstream_ver/COPYING*
 }
+md5sums=('499fb1239b44faf2e4a0873f17fe61ff'
+         '3516d1406be5dd979dfb4ca64c417168')



More information about the arch-commits mailing list