- gcc patch, warnings cleaned-up
This commit is contained in:
parent
d01c5ba680
commit
42ed69656b
@ -1,7 +1,7 @@
|
|||||||
Summary: Network monitoring tools including ping.
|
Summary: Network monitoring tools including ping.
|
||||||
Name: iputils
|
Name: iputils
|
||||||
Version: 20020927
|
Version: 20020927
|
||||||
Release: 32
|
Release: 33
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Source0: http://www.tux.org/pub/net/ip-routing/%{name}-ss020927.tar.gz
|
Source0: http://www.tux.org/pub/net/ip-routing/%{name}-ss020927.tar.gz
|
||||||
@ -27,6 +27,7 @@ Patch16: iputils-getaddrinfo.patch
|
|||||||
Patch17: iputils-flood.patch
|
Patch17: iputils-flood.patch
|
||||||
Patch18: iputils-ping-168166.patch
|
Patch18: iputils-ping-168166.patch
|
||||||
Patch19: iputils-ipv6-hoplimit.patch
|
Patch19: iputils-ipv6-hoplimit.patch
|
||||||
|
Patch20: iputils-gcc41.patch
|
||||||
Prefix: %{_prefix}
|
Prefix: %{_prefix}
|
||||||
BuildRoot: %{_tmppath}/%{name}-root
|
BuildRoot: %{_tmppath}/%{name}-root
|
||||||
BuildPreReq: docbook-utils perl-SGMLSpm
|
BuildPreReq: docbook-utils perl-SGMLSpm
|
||||||
@ -61,12 +62,13 @@ the target machine is alive and receiving network traffic.
|
|||||||
%patch17 -p1 -b .flood
|
%patch17 -p1 -b .flood
|
||||||
%patch18 -p1 -b .memset
|
%patch18 -p1 -b .memset
|
||||||
%patch19 -p1 -b .hoplimit
|
%patch19 -p1 -b .hoplimit
|
||||||
|
%patch20 -p1 -b .gcc41
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ifarch s390 s390x
|
%ifarch s390 s390x
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -fPIE"
|
export CFLAGS="$RPM_OPT_FLAGS -fPIE"
|
||||||
%else
|
%else
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -fpie"
|
export CFLAGS="$RPM_OPT_FLAGS -fpie -Werror"
|
||||||
%endif
|
%endif
|
||||||
export LDFLAGS="-pie"
|
export LDFLAGS="-pie"
|
||||||
make
|
make
|
||||||
@ -160,6 +162,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%config(noreplace) %{_sysconfdir}/rc.d/init.d/rdisc
|
%config(noreplace) %{_sysconfdir}/rc.d/init.d/rdisc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 25 2006 Radek Vokál <rvokal@redhat.com> -33
|
||||||
|
- gcc patch, warnings cleaned-up
|
||||||
|
|
||||||
* Tue Dec 13 2005 Radek Vokal <rvokal@redhat.com> 20020927-32
|
* Tue Dec 13 2005 Radek Vokal <rvokal@redhat.com> 20020927-32
|
||||||
- fix HOPLIMIT option for setsockopt() (#175471)
|
- fix HOPLIMIT option for setsockopt() (#175471)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user