rpms/avr-gdb/devel gdb-6.6-open.patch, NONE, 1.1 avr-gdb.spec, 1.4, 1.5

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Wed Aug 22 12:31:00 UTC 2007


Author: jwrdegoede

Update of /cvs/extras/rpms/avr-gdb/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3963

Modified Files:
	avr-gdb.spec 
Added Files:
	gdb-6.6-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


gdb-6.6-open.patch:

--- NEW FILE gdb-6.6-open.patch ---
diff -up gdb-6.6/gdb/serial.c~ gdb-6.6/gdb/serial.c
--- gdb-6.6/gdb/serial.c~	2007-08-22 14:06:18.000000000 +0200
+++ gdb-6.6/gdb/serial.c	2007-08-22 14:06:18.000000000 +0200
@@ -212,7 +212,7 @@ serial_open (const char *name)
   scb->bufcnt = 0;
   scb->bufp = scb->buf;
 
-  if (scb->ops->open (scb, open_name))
+  if ((scb->ops->open) (scb, open_name))
     {
       xfree (scb);
       return NULL;


Index: avr-gdb.spec
===================================================================
RCS file: /cvs/extras/rpms/avr-gdb/devel/avr-gdb.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- avr-gdb.spec	22 Aug 2007 11:42:41 -0000	1.4
+++ avr-gdb.spec	22 Aug 2007 12:30:27 -0000	1.5
@@ -10,6 +10,7 @@
 Source0:        http://ftp.gnu.org/gnu/gdb/gdb-%{version}.tar.gz
 Source1:        README.fedora
 Patch0:         binutils-2.16.1-open.patch
+Patch1:         gdb-6.6-open.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)
 BuildRequires:  ncurses-devel chrpath
 
@@ -24,6 +25,7 @@
 %setup -q -c
 pushd gdb-%{version}
 %patch0 -p1 -z .open
+%patch1 -p1 -z .open
 popd
 cp %{SOURCE1} .
 




More information about the fedora-extras-commits mailing list