textproc/htmldoc: update to 1.9.17

Get rid of now obsolete workaround for clang 8 bug.
Get rid of now obsolete GNUTLS option.

Changelog: https://www.msweet.org/blog/2023-09-17-htmldoc-1.9.17.html
This commit is contained in:
Robert Clausecker 2023-09-19 06:27:30 +02:00
parent 5fd432e6a6
commit 48c5dd95ac
3 changed files with 8 additions and 29 deletions

View file

@ -1,6 +1,5 @@
PORTNAME= htmldoc
PORTVERSION= 1.9.16
PORTREVISION= 1
PORTVERSION= 1.9.17
DISTVERSIONPREFIX= v
CATEGORIES= textproc
@ -13,7 +12,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_mips= complains about expecting ) before png_ptr
LIB_DEPENDS= libpng.so:graphics/png
LIB_DEPENDS= libcups.so:print/cups \
libpng.so:graphics/png
USES= compiler:c11 cpe jpeg pkgconfig
CPE_VENDOR= ${PORTNAME}_project
@ -22,18 +22,12 @@ GH_ACCOUNT= michaelrsweet
HAS_CONFIGURE= yes
OPTIONS_DEFINE= GNUTLS HTMLDOCGUI
OPTIONS_DEFAULT= GNUTLS
OPTIONS_DEFINE= HTMLDOCGUI
HTMLDOCGUI_DESC= Build GUI front-end
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
GNUTLS_CONFIGURE_ENABLE= gnutls
HTMLDOCGUI_LIB_DEPENDS= libfltk.so:x11-toolkits/fltk \
libfontconfig.so:x11-fonts/fontconfig
HTMLDOCGUI_USES= xorg
HTMLDOCGUI_USE= XORG=x11,xcursor,xext,xfixes,xft,xinerama,xrender
HTMLDOCGUI_USE= XORG=x11,xcursor,xext,xfixes,xft,xinerama,xpm,xrender
HTMLDOCGUI_CONFIGURE_WITH= gui=yes
post-install:

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1652990439
SHA256 (michaelrsweet-htmldoc-v1.9.16_GH0.tar.gz) = f0d19d8be0fd961d07556f85dbea1d95f0d38728a45dc0f2cf92c715e4140542
SIZE (michaelrsweet-htmldoc-v1.9.16_GH0.tar.gz) = 3416333
TIMESTAMP = 1695096786
SHA256 (michaelrsweet-htmldoc-v1.9.17_GH0.tar.gz) = 438cbd4c6673a9e156ef9a4793540762e8438298063cac019a45f55ac577872e
SIZE (michaelrsweet-htmldoc-v1.9.17_GH0.tar.gz) = 3310895

View file

@ -1,15 +0,0 @@
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];