aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authortobik <tobik@FreeBSD.org>2019-04-24 14:46:07 +0800
committertobik <tobik@FreeBSD.org>2019-04-24 14:46:07 +0800
commit5af4ca48e77906f2581a9779afb8c5cb4fde7151 (patch)
tree8197853068b2ab62f598e8d1c80a2fbe0277baee /textproc
parent81cd6aa5f4abf305f4709cad9c643e88df30f59d (diff)
downloadfreebsd-ports-gnome-5af4ca48e77906f2581a9779afb8c5cb4fde7151.tar.gz
freebsd-ports-gnome-5af4ca48e77906f2581a9779afb8c5cb4fde7151.tar.zst
freebsd-ports-gnome-5af4ca48e77906f2581a9779afb8c5cb4fde7151.zip
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
Diffstat (limited to 'textproc')
-rw-r--r--textproc/htmldoc/files/patch-htmldoc_ps-pdf.cxx15
1 files changed, 15 insertions, 0 deletions
diff --git a/textproc/htmldoc/files/patch-htmldoc_ps-pdf.cxx b/textproc/htmldoc/files/patch-htmldoc_ps-pdf.cxx
new file mode 100644
index 000000000000..93762c943ced
--- /dev/null
+++ b/textproc/htmldoc/files/patch-htmldoc_ps-pdf.cxx
@@ -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];