- Resolves: #570703 fix getnameinfo prototype
This commit is contained in:
parent
4aff53bbb8
commit
7e74dcf307
17
man-pages-3.24-getnameinfo.patch
Normal file
17
man-pages-3.24-getnameinfo.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
diff -up man-pages-3.24/man3/getnameinfo.3.pom man-pages-3.24/man3/getnameinfo.3
|
||||||
|
--- man-pages-3.24/man3/getnameinfo.3.pom 2010-02-26 05:46:44.000000000 +0100
|
||||||
|
+++ man-pages-3.24/man3/getnameinfo.3 2010-03-19 13:38:37.000000000 +0100
|
||||||
|
@@ -12,9 +12,10 @@ getnameinfo \- address-to-name translati
|
||||||
|
.B #include <sys/socket.h>
|
||||||
|
.B #include <netdb.h>
|
||||||
|
.sp
|
||||||
|
-.BI "int getnameinfo(const struct sockaddr *" "sa" ", socklen_t " "salen" ,
|
||||||
|
-.BI " char *" "host" ", size_t " "hostlen" ,
|
||||||
|
-.BI " char *" "serv" ", size_t " "servlen" ", int " "flags" );
|
||||||
|
+.BI "int getnameinfo(const struct sockaddr *restrict " "sa" ",
|
||||||
|
+.BI " socklen_t " "salen" ", char *restrict " "host",
|
||||||
|
+.BI " socklen_t " "hostlen" ", char *restrict " "serv" ",
|
||||||
|
+.BI " socklen_t " "servlen" ", int " "flags" );
|
||||||
|
.fi
|
||||||
|
.sp
|
||||||
|
.in -4n
|
@ -4,7 +4,7 @@
|
|||||||
Summary: Man (manual) pages from the Linux Documentation Project
|
Summary: Man (manual) pages from the Linux Documentation Project
|
||||||
Name: man-pages
|
Name: man-pages
|
||||||
Version: 3.24
|
Version: 3.24
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2+ and GPL+ and BSD and MIT and Copyright only and IEEE
|
License: GPLv2+ and GPL+ and BSD and MIT and Copyright only and IEEE
|
||||||
Group: Documentation
|
Group: Documentation
|
||||||
URL: http://www.kernel.org/pub/linux/docs/manpages/
|
URL: http://www.kernel.org/pub/linux/docs/manpages/
|
||||||
@ -33,6 +33,7 @@ Patch59: man-pages-3.23-ld.so.patch
|
|||||||
Patch60: man-pages-3.22-sched_setaffinity.patch
|
Patch60: man-pages-3.22-sched_setaffinity.patch
|
||||||
Patch61: man-pages-3.23-iconv.patch
|
Patch61: man-pages-3.23-iconv.patch
|
||||||
Patch62: man-pages-3.23-printf.patch
|
Patch62: man-pages-3.23-printf.patch
|
||||||
|
Patch63: man-pages-3.24-getnameinfo.patch
|
||||||
|
|
||||||
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
Autoreq: false
|
Autoreq: false
|
||||||
@ -64,6 +65,7 @@ rmdir man-pages-posix-%{posix_version}-%{posix_release}
|
|||||||
%patch60 -p1
|
%patch60 -p1
|
||||||
%patch61 -p1
|
%patch61 -p1
|
||||||
%patch62 -p1
|
%patch62 -p1
|
||||||
|
%patch63 -p1
|
||||||
|
|
||||||
### And now remove those we are not going to use:
|
### And now remove those we are not going to use:
|
||||||
|
|
||||||
@ -134,6 +136,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%lang(en) %{_mandir}/en/man*/*
|
%lang(en) %{_mandir}/en/man*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 19 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 3.24-2
|
||||||
|
- Resolves: #570703
|
||||||
|
fix getnameinfo prototype
|
||||||
|
|
||||||
* Tue Mar 2 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 3.24-1
|
* Tue Mar 2 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 3.24-1
|
||||||
- update to 3.24
|
- update to 3.24
|
||||||
Resolves: #569451
|
Resolves: #569451
|
||||||
|
Loading…
Reference in New Issue
Block a user