rpms/man/F-12 man-1.6f-man2html-suffixes.patch, NONE, 1.1 man.spec, 1.83, 1.84
Ivana Varekova
varekova at fedoraproject.org
Mon Oct 12 08:30:21 UTC 2009
Author: varekova
Update of /cvs/pkgs/rpms/man/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv12341
Modified Files:
man.spec
Added Files:
man-1.6f-man2html-suffixes.patch
Log Message:
- fix man2html to enable to use longer suffixes (#526112)
man-1.6f-man2html-suffixes.patch:
man2html.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
--- NEW FILE man-1.6f-man2html-suffixes.patch ---
diff -up man-1.6f/man2html/man2html.c.pom man-1.6f/man2html/man2html.c
--- man-1.6f/man2html/man2html.c.pom 2009-10-12 09:56:00.000000000 +0200
+++ man-1.6f/man2html/man2html.c 2009-10-12 09:59:35.000000000 +0200
@@ -171,7 +171,12 @@ add_links(char *c)
/* section is n or l or starts with a digit */
&& strchr("123456789nl", f[1])
&& (g-f == 2 || (g-f == 3 && isdigit(f[1]) && isalpha(f[2]))
- || (f[2] == 'X' && isdigit(f[1])))
+ || (g-f == 4 && isdigit(f[1]) && isalpha(f[2]) &&
+ isalpha(f[3]))
+ || (g-f == 5 && isdigit(f[1]) && isalpha(f[2]) &&
+ isalpha(f[3]) && isalpha(f[4]))
+ || (g-f == 6 && isdigit(f[1]) && isalpha(f[2]) &&
+ isalpha(f[3]) && isalpha(f[4]) && isalpha(f[5])))
) {
/* this might be a link */
h=f-1;
Index: man.spec
===================================================================
RCS file: /cvs/pkgs/rpms/man/F-12/man.spec,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -p -r1.83 -r1.84
--- man.spec 11 Aug 2009 10:10:38 -0000 1.83
+++ man.spec 12 Oct 2009 08:30:20 -0000 1.84
@@ -4,7 +4,7 @@
Summary: A set of documentation tools: man, apropos and whatis
Name: man
Version: 1.6f
-Release: 22%{?dist}
+Release: 23%{?dist}
License: GPLv2
Group: System Environment/Base
@@ -39,6 +39,7 @@ Patch35: man-1.6f-makewhatis_whis.patch
Patch36: man-1.6f-makewhatis_update.patch
Patch37: man-1.6f-makewhatis_perf.patch
Patch38: man-1.6f-makewhatis_use.patch
+Patch39: man-1.6f-man2html-suffixes.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: coreutils
@@ -84,6 +85,7 @@ primary way to find documentation on a L
%patch36 -p1 -b .update
%patch37 -p1 -b .perf
%patch38 -p1 -b .use
+%patch39 -p1 -b .suff
cp -f %{SOURCE3} msgs # replace bad ru trans
cp -f %{SOURCE5} ./
@@ -267,6 +269,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Mon Oct 12 2009 Ivana Varekova <varekova at redhat.com> - 1.6f-23
+- fix man2html to enable to use longer suffixes (#526112)
+
* Tue Aug 11 2009 Ivana Varekova <varekova at redhat.com> - 1.6f-22
- fix makewhatis format bug (#513553)
More information about the fedora-extras-commits
mailing list