--- /dev/null
+--- binutils-2.20.51.0.11/bfd/compress.c.orig 2010-08-11 23:52:42.000000000 +0200
++++ binutils-2.20.51.0.11/bfd/compress.c 2010-09-26 11:08:50.196564435 +0200
+@@ -94,7 +94,7 @@
+ bfd_set_error (bfd_error_invalid_operation);
+ return FALSE;
+ #else
+- bfd_size_type compressed_size;
++ uLong compressed_size;
+ bfd_byte *compressed_buffer;
+
+ compressed_size = compressBound (uncompressed_size) + 12;
Summary(tr.UTF-8): GNU geliştirme araçları - Mingw64 binutils
Name: crossmingw64-binutils
Version: 2.20.51.0.11
-Release: 1
+Release: 2
License: GPL v3+
Group: Development/Tools
Source0: ftp://ftp.kernel.org/pub/linux/devel/binutils/binutils-%{version}.tar.bz2
# Source0-md5: d2306466e669700abbb3d1a64b10d5d2
+Patch0: %{name}-zlib.patch
URL: http://sources.redhat.com/binutils/
BuildRequires: automake
BuildRequires: bash
BuildRequires: bison
BuildRequires: flex
BuildRequires: gettext-devel
+BuildRequires: zlib-devel
# not necessary unless we patch .texi docs; but they are not packaged here anyway
#BuildRequires: texinfo >= 4.2
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%prep
%setup -q -n binutils-%{version}
+%patch0 -p1
%build
# ldscripts won't be generated properly if SHELL is not bash...