rpms/avr-gdb/devel binutils-2.16.1-open.patch, NONE, 1.1 avr-gdb.spec, 1.2, 1.3
Hans de Goede (jwrdegoede)
fedora-extras-commits at redhat.com
Wed Aug 22 11:41:07 UTC 2007
Author: jwrdegoede
Update of /cvs/extras/rpms/avr-gdb/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25731
Modified Files:
avr-gdb.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> 6.6-5
- 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-gdb.spec
===================================================================
RCS file: /cvs/extras/rpms/avr-gdb/devel/avr-gdb.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- avr-gdb.spec 5 Aug 2007 18:38:58 -0000 1.2
+++ avr-gdb.spec 22 Aug 2007 11:40:34 -0000 1.3
@@ -2,13 +2,14 @@
Name: %{target}-gdb
Version: 6.6
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: GDB for (remote) debugging %{target} binaries
Group: Development/Tools
License: GPLv2+
URL: http://sources.redhat.com/gdb/
Source0: http://ftp.gnu.org/gnu/gdb/gdb-%{version}.tar.gz
Source1: README.fedora
+Patch0: binutils-2.16.1-open.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)
BuildRequires: ncurses-devel chrpath
@@ -21,6 +22,9 @@
%prep
%setup -q -c
+pushd gdb-%{version}
+%patch0 -p1 -z .open
+popd
cp %{SOURCE1} .
@@ -60,8 +64,9 @@
%changelog
-* Sun Aug 5 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 6.6-5
+* Wed Aug 22 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 6.6-5
- Update License tag for new Licensing Guidelines compliance
+- Fix building with new glibc open checking
* Thu Jun 14 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 6.6-4
- Add BuildRequires: ncurses-devel (bz 243248)
More information about the fedora-extras-commits
mailing list