summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2020-10-07 15:47:07 -0700
committerSteve Arnold <nerdboy@gentoo.org>2020-10-07 15:48:44 -0700
commit7f1e7fafe1ce27758f59f65282b93b1b70f3badd (patch)
treea1148d00738b8519f2b3f52e4842239a0e68f07c /net-misc/ntpsec/files
parentapp-misc/go-jira: 1.0.27 bump (diff)
downloadgentoo-7f1e7fafe1ce27758f59f65282b93b1b70f3badd.tar.gz
gentoo-7f1e7fafe1ce27758f59f65282b93b1b70f3badd.tar.bz2
gentoo-7f1e7fafe1ce27758f59f65282b93b1b70f3badd.zip
net-misc/ntpsec: short-circuit broken asciidoctor version parsing
* update doc use flag for new upstream default Closes: https://bugs.gentoo.org/746872 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Steve Arnold <nerdboy@gentoo.org>
Diffstat (limited to 'net-misc/ntpsec/files')
-rw-r--r--net-misc/ntpsec/files/ntpsec-1.1.9-remove-asciidoctor-from-config.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/net-misc/ntpsec/files/ntpsec-1.1.9-remove-asciidoctor-from-config.patch b/net-misc/ntpsec/files/ntpsec-1.1.9-remove-asciidoctor-from-config.patch
new file mode 100644
index 000000000000..1f483ce33fbd
--- /dev/null
+++ b/net-misc/ntpsec/files/ntpsec-1.1.9-remove-asciidoctor-from-config.patch
@@ -0,0 +1,14 @@
+--- a/wafhelpers/asciidoc.py 2020-10-06 20:14:47.040245129 -0700
++++ b/wafhelpers/asciidoc.py 2020-10-06 20:17:48.100394117 -0700
+@@ -37,9 +37,9 @@
+ # asciidoc versions 8.6.5-8.6.7 throw warnings for warp.adoc and versions
+ # < 8.6.4 have no HTML5 backend.
+ # asciidoc3 versions < 3.0.2 throw errors.
+- adoc_list = [['asciidoctor', (1, 5, 8)],
+- ['asciidoc', (8, 6, 8)],
++ adoc_list = [['asciidoc', (8, 6, 8)],
+ ['asciidoc3', (3, 0, 2)],
++ ['asciidoctor-bad', (1, 5, 8)],
+ ]
+ for progname, asciidocminver in adoc_list:
+ if 'BIN_ASCIIDOC' not in ctx.env or ctx.env.BIN_ASCIIDOC == []: