This commit is contained in:
parent
bed40a0645
commit
a42ad003f0
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 11 21:22:53 CEST 2009 - coolo@novell.com
|
||||
|
||||
- define we need GNU_SOURCE
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 7 10:05:09 CEST 2009 - ms@suse.de
|
||||
|
||||
|
@ -28,7 +28,7 @@ Provides: iputils:/usr/share/man/man8/traceroute6.1.gz
|
||||
Obsoletes: traceroute net_tool
|
||||
AutoReqProv: on
|
||||
Version: 1.60
|
||||
Release: 727
|
||||
Release: 728
|
||||
Summary: Important Programs for Networking
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Source: net-tools-%{version}.tar.bz2
|
||||
@ -69,6 +69,7 @@ Patch33: net-tools-1.60-ifconfig-SIOCSIFNETMASK.diff
|
||||
Patch34: net-tools-1.60-interface_socket.diff
|
||||
Patch35: net-tools-1.60-interface_mtu.diff
|
||||
Patch36: net-tools-1.60-printval-conversion.patch
|
||||
Patch37: traceroute-glibc210.diff
|
||||
|
||||
%description
|
||||
This package contains essential programs for network administration and
|
||||
@ -105,6 +106,7 @@ cp %{S:3} lib/
|
||||
cd traceroute-*
|
||||
%patch17 -p2
|
||||
%patch28 -p1
|
||||
%patch37 -p1
|
||||
cd ..
|
||||
%patch18 -p1
|
||||
%patch19 -p1
|
||||
@ -176,6 +178,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%lang(pt_BR) %doc %_mandir/pt_BR/man*/*
|
||||
|
||||
%changelog
|
||||
* Thu Jun 11 2009 coolo@novell.com
|
||||
- define we need GNU_SOURCE
|
||||
* Thu May 07 2009 ms@suse.de
|
||||
- fixed data type of third argument in printval function.
|
||||
Also make sure the printf call in this function uses the
|
||||
|
14
traceroute-glibc210.diff
Normal file
14
traceroute-glibc210.diff
Normal file
@ -0,0 +1,14 @@
|
||||
Index: traceroute-1.2/traceroute.c
|
||||
===================================================================
|
||||
--- traceroute-1.2.orig/traceroute.c
|
||||
+++ traceroute-1.2/traceroute.c
|
||||
@@ -13,6 +13,9 @@
|
||||
#include <sys/poll.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/uio.h>
|
||||
+#define _GNU_SOURCE
|
||||
+#define __USE_GNU
|
||||
+
|
||||
#include <netinet/icmp6.h>
|
||||
#include <netinet/ip_icmp.h>
|
||||
#include <netinet/ip.h>
|
Loading…
Reference in New Issue
Block a user