rpms/net-tools/devel net-tools-1.60-ec_hw_null.patch, NONE, 1.1 net-tools.spec, 1.89, 1.90

Radek Vokál (rvokal) fedora-extras-commits at redhat.com
Mon Feb 25 08:09:08 UTC 2008


Author: rvokal

Update of /cvs/extras/rpms/net-tools/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4612

Modified Files:
	net-tools.spec 
Added Files:
	net-tools-1.60-ec_hw_null.patch 
Log Message:
- fix for GCC 4.3

net-tools-1.60-ec_hw_null.patch:

--- NEW FILE net-tools-1.60-ec_hw_null.patch ---
diff -up net-tools-1.60/lib/ec_hw.c.old net-tools-1.60/lib/ec_hw.c
--- net-tools-1.60/lib/ec_hw.c.old	1999-11-20 22:02:53.000000000 +0100
+++ net-tools-1.60/lib/ec_hw.c	2008-02-25 09:04:00.000000000 +0100
@@ -18,6 +18,7 @@
 
 #include <net/if_arp.h>
 #include "net-support.h"
+#define NULL ((void *) 0)
 
 struct hwtype ec_hwtype =
 {


Index: net-tools.spec
===================================================================
RCS file: /cvs/extras/rpms/net-tools/devel/net-tools.spec,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -r1.89 -r1.90
--- net-tools.spec	19 Feb 2008 22:59:20 -0000	1.89
+++ net-tools.spec	25 Feb 2008 08:08:33 -0000	1.90
@@ -3,7 +3,7 @@
 Summary: Basic networking tools
 Name: net-tools
 Version: 1.60
-Release: 85%{?dist}
+Release: 86%{?dist}
 License: GPL+
 Group: System Environment/Base
 URL: http://www.tazenda.demon.co.uk/phil/net-tools/
@@ -74,6 +74,7 @@
 Patch61: net-tools-1.60-remove_node.patch
 Patch62: net-tools-1.60-netstat-interfaces-crash.patch
 Patch63: net-tools-1.60-netplugd_init.patch
+Patch64: net-tools-1.60-ec_hw_null.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires(post): /sbin/chkconfig
@@ -148,6 +149,7 @@
 %patch61 -p1
 %patch62 -p1 -b .iface-crash
 %patch63 -p1
+%patch64 -p1
 
 cp %SOURCE2 ./config.h
 cp %SOURCE3 ./config.make
@@ -263,6 +265,9 @@
 %{_sysconfdir}/rc.d/init.d/netplugd
 
 %changelog
+* Mon Feb 25 2008 Radek Vokal <rvokal at redhat.com> - 1.60-86
+- fix for GCC 4.3
+
 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 1.60-85
 - Autorebuild for GCC 4.3
 




More information about the fedora-extras-commits mailing list