- fix major.3 man page
This commit is contained in:
parent
26163c20c2
commit
9f3e5f3c82
14
man-pages-3.21-major.patch
Normal file
14
man-pages-3.21-major.patch
Normal file
@ -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 <sys/types.h>
|
||||
+.B #define _BSD_SOURCE
|
||||
+.B #include <sys/types.h>
|
||||
|
||||
.BI "dev_t makedev(int " maj ", int " min );
|
||||
|
@ -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 <varekova@redhat.com> - 3.21-2
|
||||
- fix major.3 man page
|
||||
|
||||
* Tue Apr 21 2009 Ivana Varekova <varekova@redhat.com> - 3.21-1
|
||||
- update to 3.21
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user