Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Apr 2019 06:46:07 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r499817 - head/textproc/htmldoc/files
Message-ID:  <201904240646.x3O6k7fI031020@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Wed Apr 24 06:46:07 2019
New Revision: 499817
URL: https://svnweb.freebsd.org/changeset/ports/499817

Log:
  textproc/htmldoc: Add workaround for hangs when compiled with clang 8
  
  http://beefy12.nyi.freebsd.org/data/head-amd64-default/p499421_s346424/logs/errors/htmldoc-1.9.3.log

Added:
  head/textproc/htmldoc/files/
  head/textproc/htmldoc/files/patch-htmldoc_ps-pdf.cxx   (contents, props changed)

Added: head/textproc/htmldoc/files/patch-htmldoc_ps-pdf.cxx
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/htmldoc/files/patch-htmldoc_ps-pdf.cxx	Wed Apr 24 06:46:07 2019	(r499817)
@@ -0,0 +1,15 @@
+Workaround for potential optimizer bug in clang 8 that causes hangs at runtime
+
+https://github.com/michaelrsweet/htmldoc/issues/349
+
+--- htmldoc/ps-pdf.cxx.orig	2018-04-10 11:56:03 UTC
++++ htmldoc/ps-pdf.cxx
+@@ -5361,7 +5361,7 @@ parse_pre(tree_t *t,		/* I - Tree to parse */
+ 		line[10240],
+ 		*lineptr,
+ 		*dataptr;
+-  int		col;
++  volatile int	col;
+   float		width,
+ 		height,
+ 		rgb[3];



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904240646.x3O6k7fI031020>