rpms/linux-atm/devel linux-atm-2.5.0-open-macro.patch, NONE, 1.1 linux-atm.spec, 1.21, 1.22

David Woodhouse (dwmw2) fedora-extras-commits at redhat.com
Wed Aug 22 17:32:53 UTC 2007


Author: dwmw2

Update of /cvs/pkgs/rpms/linux-atm/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27196

Modified Files:
	linux-atm.spec 
Added Files:
	linux-atm-2.5.0-open-macro.patch 
Log Message:
handle open macro

linux-atm-2.5.0-open-macro.patch:

--- NEW FILE linux-atm-2.5.0-open-macro.patch ---
--- linux-atm/src/maint/atmtcp.c~	2007-08-22 14:59:21.000000000 +0100
+++ linux-atm/src/maint/atmtcp.c	2007-08-22 18:27:24.000000000 +0100
@@ -109,7 +109,7 @@ static void control(int in_link,struct a
 	switch (msg->type) {
 	    case ATMTCP_CTRL_OPEN:
 		if (out->ops->open)
-		    changed += out->ops->open(out,in_link,msg);
+		    changed += (out->ops->open)(out,in_link,msg);
 		break;
 	    case ATMTCP_CTRL_CLOSE:
 		if (out->ops->close)


Index: linux-atm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/linux-atm/devel/linux-atm.spec,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- linux-atm.spec	22 Aug 2007 14:46:03 -0000	1.21
+++ linux-atm.spec	22 Aug 2007 17:32:20 -0000	1.22
@@ -16,6 +16,7 @@
 Patch1: linux-atm-2.5.0-stdlib.patch
 Patch2: linux-atm-2.5.0-gcc4.patch
 Patch3: linux-atm-2.5.0-types.patch
+Patch4: linux-atm-2.5.0-open-macro.patch
 
 %description
 Tools to support ATM networking under Linux.
@@ -43,6 +44,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 ./autotools
@@ -90,6 +92,7 @@
 %changelog
 * Wed Aug 22 2007 David Woodhouse <dwmw2 at infradead.org> - 2.5.0-3.20050118cvs
 - Update licence
+- Handle open being a macro
 
 * Wed Aug 22 2007 David Woodhouse <dwmw2 at infradead.org> - 2.5.0-2.20050118cvs
 - Include <linux/types.h> before various other <linux/*.h> headers




More information about the scm-commits mailing list