diff --git a/man-pages-3.42-inet.patch b/man-pages-3.42-inet.patch new file mode 100644 index 0000000..c35ce47 --- /dev/null +++ b/man-pages-3.42-inet.patch @@ -0,0 +1,12 @@ +diff -ur man-pages-3.42.orig/man3/inet.3 man-pages-3.42/man3/inet.3 +--- man-pages-3.42.orig/man3/inet.3 2012-08-14 00:39:38.000000000 +0200 ++++ man-pages-3.42/man3/inet.3 2012-09-12 12:35:46.908363695 +0200 +@@ -286,7 +286,7 @@ + } + + if (inet_aton(argv[1], &addr) == 0) { +- perror("inet_aton"); ++ fprintf(stderr, "Invalid address\\n"); + exit(EXIT_FAILURE); + } + diff --git a/man-pages.spec b/man-pages.spec index f01263c..1a49e48 100644 --- a/man-pages.spec +++ b/man-pages.spec @@ -44,6 +44,8 @@ Patch45: man-pages-3.32-strtol.patch Patch46: man-pages-3.35-printf.patch # resolves: #566303, #835679, #840805 Patch47: man-pages-3.42-nscd-conf.patch +# resolves: #837090 +Patch48: man-pages-3.42-inet.patch Autoreq: false @@ -73,6 +75,7 @@ Documentation Project (LDP). %patch45 -p1 %patch46 -p1 %patch47 -p1 +%patch48 -p1 ## Remove man pages we are not going to use ## @@ -131,12 +134,14 @@ cd .. %lang(en) %{_mandir}/en/man*/* %changelog -* Tue Sep 11 2012 Peter Schiffer - 3.42-1 +* Wed Sep 12 2012 Peter Schiffer - 3.42-1 - resolves: #847941 update to 3.42 - updated additional man pages - cleaned patches - cleaned .spec file, fixed minor encoding issue +- resolves: #837090 + updated example on inet(3) man page - use fprintf(stderr,..) instead of perror * Thu Jul 19 2012 Fedora Release Engineering - 3.41-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild