Sophie

Sophie

distrib > Fedora > 16 > x86_64 > media > updates-src > by-pkgid > 6dac609297e96702b39b0b4c51ed74d9 > files > 22

man2html-1.6-7.g.fc16.src.rpm

Add support for Perl modules (closes: #363384).
Patch by Nicolas François.

diff -ruN -x config.guess -x config.sub man-1.6e-old/man2html/man2html.c man-1.6e/man2html/man2html.c
--- man-1.6e-old/man2html/man2html.c	2007-01-31 01:21:06.000000000 +0100
+++ man-1.6e/man2html/man2html.c	2007-01-31 01:21:07.000000000 +0100
@@ -173,7 +173,8 @@
                                 /* 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])))
+		               || (f[2] == 'X' && isdigit(f[1]))
+		               || (strncmp(f+1,"3pm",g-f-1) == 0))
 	       ) {
 		/* this might be a link */
 		h=f-1;