diff --git a/man-pages-2.41-mmap.patch b/man-pages-2.41-mmap.patch new file mode 100644 index 0000000..0f04168 --- /dev/null +++ b/man-pages-2.41-mmap.patch @@ -0,0 +1,20 @@ +--- man-pages-2.41/man2/mmap.2.pom 2006-10-20 10:43:21.000000000 +0200 ++++ man-pages-2.41/man2/mmap.2 2006-10-20 13:03:25.000000000 +0200 +@@ -249,9 +249,15 @@ + when the process is terminated. On the other hand, closing the file + descriptor does not unmap the region. + .LP +-The address ++If ++.B MAP_FIXED ++is specified, + .I start +-must be a multiple of the page size. All pages containing a part ++must be a multiple of the page size. ++In all other cases ++.I start ++address is rounded up to the next page size boundary. ++All pages containing a part + of the indicated range are unmapped, and subsequent references + to these pages will generate SIGSEGV. It is not an error if the + indicated range does not contain any mapped pages. diff --git a/man-pages.spec b/man-pages.spec index ffdcffa..b15a1de 100644 --- a/man-pages.spec +++ b/man-pages.spec @@ -1,7 +1,7 @@ Summary: Man (manual) pages from the Linux Documentation Project. Name: man-pages Version: 2.41 -Release: 1%{?dist} +Release: 2%{?dist} License: distributable Group: Documentation Source0: http://www.kernel.org/pub/linux/docs/manpages/man-pages-%{version}.tar.bz2 @@ -38,6 +38,7 @@ Patch33: man-pages-2.39-typo.patch Patch34: man-pages-2.39-puned.patch Patch35: man-pages-2.39-clone.patch Patch36: man-pages-2.39-unimplemented.patch +Patch37: man-pages-2.41-mmap.patch Buildroot: %{_tmppath}/%{name}-%{version}-root Autoreq: false @@ -83,6 +84,7 @@ tar xzf %{SOURCE11} %patch34 -p1 %patch35 -p1 %patch36 -p1 +%patch37 -p1 %build @@ -182,6 +184,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/en/man* %changelog +* Fri Oct 20 2006 Ivana Varekova 2.41-2 +- fix mmap(2) man page + * Fri Oct 20 2006 Ivana Varekova 2.41-1 - update to 2.41