rpms/avr-binutils/devel binutils-2.16.1-open.patch, NONE, 1.1 avr-binutils.spec, 1.2, 1.3
Hans de Goede (jwrdegoede)
fedora-extras-commits at redhat.com
Wed Aug 22 12:09:00 UTC 2007
Author: jwrdegoede
Update of /cvs/extras/rpms/avr-binutils/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv928
Modified Files:
avr-binutils.spec
Added Files:
binutils-2.16.1-open.patch
Log Message:
* Wed Aug 22 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 2.17-4
- Update License tag for new Licensing Guidelines compliance
- Fix building with new glibc open checking
binutils-2.16.1-open.patch:
--- NEW FILE binutils-2.16.1-open.patch ---
diff -up binutils-2.16.1/bfd/opncls.c~ binutils-2.16.1/bfd/opncls.c
--- binutils-2.16.1/bfd/opncls.c~ 2007-08-12 10:19:04.000000000 +0200
+++ binutils-2.16.1/bfd/opncls.c 2007-08-12 10:19:04.000000000 +0200
@@ -483,7 +483,7 @@ bfd_openr_iovec (const char *filename, c
nbfd->filename = filename;
nbfd->direction = read_direction;
- stream = open (nbfd, open_closure);
+ stream = (open) (nbfd, open_closure);
if (stream == NULL)
{
_bfd_delete_bfd (nbfd);
Index: avr-binutils.spec
===================================================================
RCS file: /cvs/extras/rpms/avr-binutils/devel/avr-binutils.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- avr-binutils.spec 5 Aug 2007 18:37:43 -0000 1.2
+++ avr-binutils.spec 22 Aug 2007 12:08:27 -0000 1.3
@@ -9,6 +9,7 @@
URL: http://www.gnu.org/software/binutils/
Source0: ftp://ftp.gnu.org/pub/gnu/binutils/binutils-%{version}.tar.bz2
Source1: README.fedora
+Patch0: binutils-2.16.1-open.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)
%description
@@ -19,6 +20,9 @@
%prep
%setup -q -c
+pushd binutils-%{version}
+%patch0 -p1 -z .open
+popd
cp %{SOURCE1} .
@@ -58,8 +62,9 @@
%changelog
-* Fri Aug 3 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 2.17-4
+* Wed Aug 22 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 2.17-4
- Update License tag for new Licensing Guidelines compliance
+- Fix building with new glibc open checking
* Sat Apr 7 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 2.17-3
- Use mkdir -p instead of mkdir, to fix rpmbuild --short-circuit (bz 234750)
More information about the scm-commits
mailing list