rpms/linux-atm/devel linux-atm-gcc43.patch, NONE, 1.1 linux-atm.spec, 1.25, 1.26

David Woodhouse (dwmw2) fedora-extras-commits at redhat.com
Fri Apr 18 13:17:35 UTC 2008


Author: dwmw2

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

Modified Files:
	linux-atm.spec 
Added Files:
	linux-atm-gcc43.patch 
Log Message:
fix build failure with gcc 4.3

linux-atm-gcc43.patch:

--- NEW FILE linux-atm-gcc43.patch ---
diff -rNu linux-atm-2.5.0/src/led/main.c linux-atm-2.5.0-atomix/src/led/main.c
--- linux-atm-2.5.0/src/led/main.c	2005-10-06 19:27:50.000000000 +0200
+++ linux-atm-2.5.0-atomix/src/led/main.c	2008-04-18 12:14:21.000000000 +0200
@@ -36,6 +36,7 @@
 #include <sys/time.h>
 #include <unistd.h>
 #include <signal.h>
+#include <limits.h>
 #include <ctype.h>
 #include <string.h>
 #include <getopt.h>


Index: linux-atm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/linux-atm/devel/linux-atm.spec,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- linux-atm.spec	19 Feb 2008 02:01:33 -0000	1.25
+++ linux-atm.spec	18 Apr 2008 13:16:56 -0000	1.26
@@ -1,7 +1,7 @@
 Summary: Tools to support ATM networking under Linux
 Name: linux-atm
 Version: 2.5.0
-Release: 6
+Release: 7
 License: BSD, GPLv2+, LGPLv2+
 URL: http://linux-atm.sourceforge.net/
 Group: System Environment/Daemons
@@ -13,6 +13,7 @@
 # Patch from Debian to sanify syslogging
 Patch2: linux-atm-2.5.0-open-macro.patch
 Patch3: linux-atm-2.5.0-disable-ilmidiag.patch
+Patch4: linux-atm-gcc43.patch
 
 %description
 Tools to support ATM networking under Linux.
@@ -38,6 +39,7 @@
 %setup -q
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 %configure
@@ -82,6 +84,9 @@
 %{_libdir}/libatm.so
 
 %changelog
+* Fri Apr 18 2008 David Woodhouse <dwmw2 at infradead.org> - 2.5.0-7
+- Fix GCC 4.3 compilation (#440981)
+
 * Mon Feb 18 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 2.5.0-6
 - Autorebuild for GCC 4.3
 




More information about the scm-commits mailing list