packages: crossmingw64-binutils/crossmingw64-binutils.spec, crossmingw64-bi...

pluto pluto at pld-linux.org
Sun Sep 26 11:17:30 CEST 2010


Author: pluto                        Date: Sun Sep 26 09:17:30 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix 32-bit build, release 2.

---- Files affected:
packages/crossmingw64-binutils:
   crossmingw64-binutils.spec (1.21 -> 1.22) , crossmingw64-binutils-zlib.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/crossmingw64-binutils/crossmingw64-binutils.spec
diff -u packages/crossmingw64-binutils/crossmingw64-binutils.spec:1.21 packages/crossmingw64-binutils/crossmingw64-binutils.spec:1.22
--- packages/crossmingw64-binutils/crossmingw64-binutils.spec:1.21	Sun Sep 26 10:42:56 2010
+++ packages/crossmingw64-binutils/crossmingw64-binutils.spec	Sun Sep 26 11:17:25 2010
@@ -7,17 +7,19 @@
 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)
@@ -45,6 +47,7 @@
 
 %prep
 %setup -q -n binutils-%{version}
+%patch0 -p1
 
 %build
 # ldscripts won't be generated properly if SHELL is not bash...
@@ -103,6 +106,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.22  2010/09/26 09:17:25  pluto
+- fix 32-bit build, release 2.
+
 Revision 1.21  2010/09/26 08:42:56  pluto
 - updated to 2.20.51.0.11.
 

================================================================
Index: packages/crossmingw64-binutils/crossmingw64-binutils-zlib.patch
diff -u /dev/null packages/crossmingw64-binutils/crossmingw64-binutils-zlib.patch:1.1
--- /dev/null	Sun Sep 26 11:17:30 2010
+++ packages/crossmingw64-binutils/crossmingw64-binutils-zlib.patch	Sun Sep 26 11:17:25 2010
@@ -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;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/crossmingw64-binutils/crossmingw64-binutils.spec?r1=1.21&r2=1.22&f=u



More information about the pld-cvs-commit mailing list