FreeBSD Bugzilla – Attachment 179133 Details for
Bug 216159
textproc/htmldoc: fails to build with clang 4.0 (8 ports skipped)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
v0
htmldoc.footer-fix.diff (text/plain), 1.55 KB, created by
Jan Beich
on 2017-01-20 11:43:37 UTC
(
hide
)
Description:
v0
Filename:
MIME Type:
Creator:
Jan Beich
Created:
2017-01-20 11:43:37 UTC
Size:
1.55 KB
patch
obsolete
>From cd5f22b8e1e26dcdea4c2deb40265223645cefb5 Mon Sep 17 00:00:00 2001 >From: Jan Beich <jbeich@FreeBSD.org> >Date: Fri, 20 Jan 2017 11:34:46 +0000 >Subject: textproc/htmldoc: don't add footer with empty body > >PR: 216159 >Approved by: jose@diasfernandes.pt (maintainer) >MFH: 2017Q1 (changes behavior) >--- > textproc/htmldoc/Makefile | 2 +- > textproc/htmldoc/files/patch-htmldoc_htmlsep.cxx | 11 +++++++++++ > 2 files changed, 12 insertions(+), 1 deletion(-) > create mode 100644 textproc/htmldoc/files/patch-htmldoc_htmlsep.cxx > >diff --git a/textproc/htmldoc/Makefile b/textproc/htmldoc/Makefile >index efe94bbf8f5e..46cdd450d3ca 100644 >--- a/textproc/htmldoc/Makefile >+++ b/textproc/htmldoc/Makefile >@@ -3,7 +3,7 @@ > > PORTNAME= htmldoc > PORTVERSION= 1.8.28 >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= textproc > MASTER_SITES= http://www.msweet.org/files/project1/ \ > EASYSW/${PORTNAME}/${PORTVERSION} >diff --git a/textproc/htmldoc/files/patch-htmldoc_htmlsep.cxx b/textproc/htmldoc/files/patch-htmldoc_htmlsep.cxx >new file mode 100644 >index 000000000000..2b70322610ec >--- /dev/null >+++ b/textproc/htmldoc/files/patch-htmldoc_htmlsep.cxx >@@ -0,0 +1,11 @@ >+--- htmldoc/htmlsep.cxx.orig 2013-08-09 13:43:34 UTC >++++ htmldoc/htmlsep.cxx >+@@ -524,7 +524,7 @@ write_doc(FILE **out, // I - Output >+ if (t->markup >= MARKUP_H1 && t->markup < (MARKUP_H1 + TocLevels) && >+ htmlGetVariable(t, (uchar *)"_HD_OMIT_TOC") == NULL) >+ { >+- if (heading >= 0) >++ if (*heading >= 0) >+ write_footer(out, *heading); >+ >+ (*heading) ++;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
jbeich
:
maintainer-approval?
(
jose
)
Actions:
View
|
Diff
Attachments on
bug 216159
: 179133