]> git.pld-linux.org Git - packages/crossmingw64-binutils.git/commitdiff
- fix 32-bit build, release 2. auto/th/crossmingw64-binutils-2_20_51_0_11-2
authorPaweł Sikora <pluto@pld-linux.org>
Sun, 26 Sep 2010 09:17:25 +0000 (09:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    crossmingw64-binutils-zlib.patch -> 1.1
    crossmingw64-binutils.spec -> 1.22

crossmingw64-binutils-zlib.patch [new file with mode: 0644]
crossmingw64-binutils.spec

diff --git a/crossmingw64-binutils-zlib.patch b/crossmingw64-binutils-zlib.patch
new file mode 100644 (file)
index 0000000..74f3e90
--- /dev/null
@@ -0,0 +1,11 @@
+--- 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;
index 91adbd8c7a3ec9554a6fd223362828fab53d0595..08d505c33cb462f740f2a82cafc3355565802e7d 100644 (file)
@@ -6,17 +6,19 @@ Summary(pt_BR.UTF-8): Utilitários para desenvolvimento de binários da GNU - Mi
 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)
@@ -44,6 +46,7 @@ Ten pakiet zawiera binutils generujące skrośnie binaria dla Win64.
 
 %prep
 %setup -q -n binutils-%{version}
+%patch0 -p1
 
 %build
 # ldscripts won't be generated properly if SHELL is not bash...
This page took 0.110191 seconds and 4 git commands to generate.