- fix for GCC 4.3

This commit is contained in:
Radek Vokál 2008-02-25 08:08:33 +00:00
parent beeba92eaf
commit 8046b57e3d
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,11 @@
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 =
{

View File

@ -3,7 +3,7 @@
Summary: Basic networking tools Summary: Basic networking tools
Name: net-tools Name: net-tools
Version: 1.60 Version: 1.60
Release: 85%{?dist} Release: 86%{?dist}
License: GPL+ License: GPL+
Group: System Environment/Base Group: System Environment/Base
URL: http://www.tazenda.demon.co.uk/phil/net-tools/ URL: http://www.tazenda.demon.co.uk/phil/net-tools/
@ -74,6 +74,7 @@ Patch60: net-tools-1.60-sctp-quiet.patch
Patch61: net-tools-1.60-remove_node.patch Patch61: net-tools-1.60-remove_node.patch
Patch62: net-tools-1.60-netstat-interfaces-crash.patch Patch62: net-tools-1.60-netstat-interfaces-crash.patch
Patch63: net-tools-1.60-netplugd_init.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) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires(post): /sbin/chkconfig Requires(post): /sbin/chkconfig
@ -148,6 +149,7 @@ ifconfig, netstat, route, and others.
%patch61 -p1 %patch61 -p1
%patch62 -p1 -b .iface-crash %patch62 -p1 -b .iface-crash
%patch63 -p1 %patch63 -p1
%patch64 -p1
cp %SOURCE2 ./config.h cp %SOURCE2 ./config.h
cp %SOURCE3 ./config.make cp %SOURCE3 ./config.make
@ -263,6 +265,9 @@ exit 0
%{_sysconfdir}/rc.d/init.d/netplugd %{_sysconfdir}/rc.d/init.d/netplugd
%changelog %changelog
* Mon Feb 25 2008 Radek Vokal <rvokal@redhat.com> - 1.60-86
- fix for GCC 4.3
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.60-85 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.60-85
- Autorebuild for GCC 4.3 - Autorebuild for GCC 4.3