Browse Source

binutils: Update from 2.27 to 2.28

android-5
Fredrik Fornwall 8 years ago
parent
commit
120f533763
  1. 7
      packages/binutils/build.sh
  2. 12
      packages/binutils/gold_layout_printf_cast.patch
  3. 12
      packages/binutils/gold_printf_cast.patch

7
packages/binutils/build.sh

@ -1,10 +1,9 @@
TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/binutils/
TERMUX_PKG_DESCRIPTION="Collection of binary tools, the main ones being ld, the GNU linker, and as, the GNU assembler"
TERMUX_PKG_VERSION=2.27
TERMUX_PKG_REVISION=1
TERMUX_PKG_VERSION=2.28
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/binutils/binutils-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=26253bf0f360ceeba1d9ab6965c57c6a48a01a8343382130d1ed47c468a3094f
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-werror"
TERMUX_PKG_SHA256=cd717966fc761d840d451dbd58d44e1e5b92949d2073d75b73fccb476d772fcf
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-werror --with-system-zlib"
TERMUX_PKG_EXTRA_MAKE_ARGS="tooldir=$TERMUX_PREFIX"
TERMUX_PKG_RM_AFTER_INSTALL="share/man/man1/windmc.1 share/man/man1/windres.1 bin/ld.bfd"

12
packages/binutils/gold_layout_printf_cast.patch

@ -1,12 +0,0 @@
diff -u -r ../binutils-2.24/gold/layout.cc ./gold/layout.cc
--- ../binutils-2.24/gold/layout.cc 2013-11-04 16:33:39.000000000 +0100
+++ ./gold/layout.cc 2014-02-12 18:03:07.000000000 +0100
@@ -3031,7 +3031,7 @@
gold_error(_("/dev/urandom: read failed: %s"), strerror(errno));
else if (static_cast<size_t>(got) != uuidsz)
gold_error(_("/dev/urandom: expected %zu bytes, got %zd bytes"),
- uuidsz, got);
+ uuidsz, (signed size_t) got);
}
desc.assign(buffer, uuidsz);

12
packages/binutils/gold_printf_cast.patch

@ -1,12 +0,0 @@
diff -u -r ../binutils-2.24/gold/fileread.cc ./gold/fileread.cc
--- ../binutils-2.24/gold/fileread.cc 2013-11-04 16:33:39.000000000 +0100
+++ ./gold/fileread.cc 2014-02-12 18:00:06.000000000 +0100
@@ -686,7 +686,7 @@
if (got != want)
gold_fatal(_("%s: file too short: read only %zd of %zd bytes at %lld"),
this->filename().c_str(),
- got, want, static_cast<long long>(base + first_offset));
+ (signed size_t) got, (signed size_t) want, static_cast<long long>(base + first_offset));
}
// Portable IOV_MAX.
Loading…
Cancel
Save