From 9f3e5f3c8202576d245331fcce0a96f3fc9c84ba Mon Sep 17 00:00:00 2001 From: Ivana Varekova Date: Fri, 17 Jul 2009 11:31:46 +0000 Subject: [PATCH] - fix major.3 man page --- man-pages-3.21-major.patch | 14 ++++++++++++++ man-pages.spec | 7 ++++++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 man-pages-3.21-major.patch diff --git a/man-pages-3.21-major.patch b/man-pages-3.21-major.patch new file mode 100644 index 0000000..1b0dcb6 --- /dev/null +++ b/man-pages-3.21-major.patch @@ -0,0 +1,14 @@ +diff -up man-pages-3.21/man3/makedev.3.pom man-pages-3.21/man3/makedev.3 +--- man-pages-3.21/man3/makedev.3.pom 2009-04-15 18:05:43.000000000 +0200 ++++ man-pages-3.21/man3/makedev.3 2009-07-17 13:28:05.000000000 +0200 +@@ -26,8 +26,8 @@ + makedev, major, minor \- manage a device number + .SH SYNOPSIS + .nf +-.B #include _BSD_SOURCE +-.B #define ++.B #define _BSD_SOURCE ++.B #include + + .BI "dev_t makedev(int " maj ", int " min ); + diff --git a/man-pages.spec b/man-pages.spec index c1b9135..f5b61a5 100644 --- a/man-pages.spec +++ b/man-pages.spec @@ -4,7 +4,7 @@ Summary: Man (manual) pages from the Linux Documentation Project Name: man-pages Version: 3.21 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ and GPL+ and BSD and MIT and Copyright only and IEEE Group: Documentation URL: http://www.kernel.org/pub/linux/docs/manpages/ @@ -28,6 +28,7 @@ Patch49: man-pages-2.63-getent.patch Patch50: man-pages-2.63-iconv.patch Patch53: man-pages-2.78-stream.patch Patch54: man-pages-2.80-malloc_h.patch +Patch55: man-pages-3.21-major.patch Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Autoreq: false @@ -54,6 +55,7 @@ rmdir man-pages-posix-%{posix_version}-%{posix_release} %patch50 -p1 %patch53 -p1 %patch54 -p1 +%patch55 -p1 ### And now remove those we are not going to use: @@ -124,6 +126,9 @@ rm -rf $RPM_BUILD_ROOT %lang(en) %{_mandir}/en/man* %changelog +* Fri Jul 17 2009 Ivana Varekova - 3.21-2 +- fix major.3 man page + * Tue Apr 21 2009 Ivana Varekova - 3.21-1 - update to 3.21