From 29da9cb4774c9735ea07929574a0af9c936fe3ff Mon Sep 17 00:00:00 2001
From: Jan Beich <jbeich@FreeBSD.org>
Date: Sat, 26 Nov 2016 05:57:01 +0000
Subject: textproc/hunspell: update to 1.5.0

Changes:	https://github.com/hunspell/hunspell/blob/392dfca5d782/ChangeLog
PR:		214837
Exp-run by:	???
Approved by:	office (bapt)
---
 Mk/bsd.gecko.mk                                    |  2 +-
 devel/codeblocks/Makefile                          |  4 +-
 devel/lokalize/Makefile                            |  3 +-
 editors/codelite/Makefile                          |  4 +-
 editors/focuswriter/Makefile                       |  3 +-
 editors/libreoffice/Makefile                       |  2 +-
 editors/libreoffice/Makefile.common                |  2 +-
 editors/libreoffice4/Makefile                      |  4 +-
 editors/openoffice-4/Makefile                      |  4 +-
 editors/openoffice-devel/Makefile                  |  4 +-
 editors/tea/Makefile                               |  3 +-
 editors/texmaker/Makefile                          |  4 +-
 editors/texstudio/Makefile                         |  4 +-
 editors/textroom/Makefile                          |  4 +-
 editors/texworks/Makefile                          |  2 +-
 german/hunspell/Makefile                           |  1 +
 korean/hunspell/Makefile                           |  2 +-
 mail/thunderbird/Makefile                          |  2 +-
 multimedia/aegisub/Makefile                        |  4 +-
 net-im/licq-qt-gui/Makefile                        |  6 +--
 print/lyx/Makefile                                 |  4 +-
 print/scribus/Makefile                             |  4 +-
 textproc/enchant/Makefile                          |  4 +-
 textproc/goldendict/Makefile                       |  4 +-
 textproc/hunspell/Makefile                         |  6 +--
 textproc/hunspell/distinfo                         |  5 +-
 textproc/hunspell/files/patch-configure            | 26 ----------
 .../hunspell/files/patch-src_tools_hunspell.cxx    | 60 ++++++++++++----------
 textproc/hunspell/pkg-descr                        |  5 +-
 textproc/hunspell/pkg-plist                        | 14 -----
 textproc/kf5-sonnet/Makefile                       |  3 +-
 textproc/mythes/Makefile                           |  4 +-
 textproc/sigil/Makefile                            |  5 +-
 textproc/te-hunspell/Makefile                      |  2 +-
 www/firefox-esr/Makefile                           |  2 +-
 www/firefox/Makefile                               |  1 +
 www/libxul/Makefile                                |  2 +-
 www/qupzilla-qt4/Makefile                          |  3 +-
 www/qupzilla-qt5/Makefile                          |  3 +-
 www/seamonkey/Makefile                             |  2 +-
 x11/leechcraft/Makefile                            |  4 +-
 41 files changed, 103 insertions(+), 124 deletions(-)
 delete mode 100644 textproc/hunspell/files/patch-configure

diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk
index c3a2372..a1dd3d9 100644
--- a/Mk/bsd.gecko.mk
+++ b/Mk/bsd.gecko.mk
@@ -179,7 +179,7 @@ harfbuzz_LIB_DEPENDS=	libharfbuzz.so:print/harfbuzz
 harfbuzz_MOZ_OPTIONS=	--with-system-harfbuzz
 .endif
 
-hunspell_LIB_DEPENDS=	libhunspell-1.3.so:textproc/hunspell
+hunspell_LIB_DEPENDS=	libhunspell-1.5.so:textproc/hunspell
 hunspell_MOZ_OPTIONS=	--enable-system-hunspell
 
 icu_LIB_DEPENDS=		libicui18n.so:devel/icu
diff --git a/devel/codeblocks/Makefile b/devel/codeblocks/Makefile
index dfdbb8e..3b68005 100644
--- a/devel/codeblocks/Makefile
+++ b/devel/codeblocks/Makefile
@@ -3,7 +3,7 @@
 
 PORTNAME=	codeblocks
 PORTVERSION=	16.01
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	devel
 MASTER_SITES=	SF/${PORTNAME}/Sources/${PORTVERSION}
 DISTNAME=	${PORTNAME}_${PORTVERSION}
@@ -18,7 +18,7 @@ BUILD_DEPENDS=	zip:archivers/zip
 LIB_DEPENDS=	libboost_system.so:devel/boost-libs \
 		libfontconfig.so:x11-fonts/fontconfig \
 		libfreetype.so:print/freetype2 \
-		libhunspell-1.3.so:textproc/hunspell
+		libhunspell-1.5.so:textproc/hunspell
 
 USES=		autoreconf compiler desktop-file-utils fam:gamin localbase \
 		gettext-runtime libtool pathfix pkgconfig shared-mime-info
diff --git a/devel/lokalize/Makefile b/devel/lokalize/Makefile
index 13e0e0e..f6fb040 100644
--- a/devel/lokalize/Makefile
+++ b/devel/lokalize/Makefile
@@ -2,12 +2,13 @@
 
 PORTNAME=	lokalize
 PORTVERSION=	${KDE4_VERSION}
+PORTREVISION=	1
 CATEGORIES=	devel kde kde-kde4
 
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	Computer-aided translation system
 
-LIB_DEPENDS=	libhunspell-1.3.so:textproc/hunspell
+LIB_DEPENDS=	libhunspell-1.5.so:textproc/hunspell
 
 USES=		cmake:outsource kde:4 tar:xz
 USE_KDE=	kdelibs automoc4
diff --git a/editors/codelite/Makefile b/editors/codelite/Makefile
index 2bd403b..d73ebfd 100644
--- a/editors/codelite/Makefile
+++ b/editors/codelite/Makefile
@@ -3,7 +3,7 @@
 
 PORTNAME=	codelite
 PORTVERSION=	9.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	editors devel
 
 MAINTAINER=	mokhi64@gmail.com
@@ -12,7 +12,7 @@ COMMENT=	Open Source IDE for C/C++
 LICENSE=	GPLv2+
 
 RUN_DEPENDS=	xterm:x11/xterm
-LIB_DEPENDS+=	libhunspell-1.3.so:textproc/hunspell
+LIB_DEPENDS+=	libhunspell-1.5.so:textproc/hunspell
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	eranif
diff --git a/editors/focuswriter/Makefile b/editors/focuswriter/Makefile
index d88a9dd..71a9361 100644
--- a/editors/focuswriter/Makefile
+++ b/editors/focuswriter/Makefile
@@ -4,6 +4,7 @@
 PORTNAME=	focuswriter
 PORTVERSION=	1.5.7
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	editors
 
 MAINTAINER=	lightside@gmx.com
@@ -14,7 +15,7 @@ LICENSE_COMB=	multi
 LICENSE_FILE_GPLv3=	${WRKSRC}/COPYING
 LICENSE_FILE_LGPL3=	${WRKSRC}/resources/images/icons/oxygen/COPYING
 
-LIB_DEPENDS=	libhunspell-1.3.so:textproc/hunspell
+LIB_DEPENDS=	libhunspell-1.5.so:textproc/hunspell
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	gottcode
diff --git a/editors/libreoffice/Makefile b/editors/libreoffice/Makefile
index aeec48e..a4f41c4 100644
--- a/editors/libreoffice/Makefile
+++ b/editors/libreoffice/Makefile
@@ -54,7 +54,7 @@ LIB_DEPENDS=	libapr-1.so:devel/apr1 \
 		libnss3.so:security/nss \
 		libclucene-core.so:textproc/clucene \
 		libexpat.so:textproc/expat2 \
-		libhunspell-1.3.so:textproc/hunspell \
+		libhunspell-1.5.so:textproc/hunspell \
 		libhyphen.so:textproc/hyphen \
 		libabw-0.1.so:textproc/libabw \
 		libe-book-0.1.so:textproc/libe-book \
diff --git a/editors/libreoffice/Makefile.common b/editors/libreoffice/Makefile.common
index 6a26d62..761a19f 100644
--- a/editors/libreoffice/Makefile.common
+++ b/editors/libreoffice/Makefile.common
@@ -2,7 +2,7 @@
 
 PORTNAME=	libreoffice
 PORTVERSION=	5.2.3
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES+=	editors
 
 MAINTAINER=	office@FreeBSD.org
diff --git a/editors/libreoffice4/Makefile b/editors/libreoffice4/Makefile
index bba6021..6cef39e 100644
--- a/editors/libreoffice4/Makefile
+++ b/editors/libreoffice4/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	libreoffice
 PORTVERSION=	4.3.7
-PORTREVISION=	10
+PORTREVISION=	11
 CATEGORIES=	editors
 MASTER_SITES=	http://download.documentfoundation.org/libreoffice/src/${PORTVERSION}/ \
 		http://dev-www.libreoffice.org/extern/:ext \
@@ -55,7 +55,7 @@ LIB_DEPENDS=	libapr-1.so:devel/apr1 \
 		libnss3.so:security/nss \
 		libclucene-core.so:textproc/clucene \
 		libexpat.so:textproc/expat2 \
-		libhunspell-1.3.so:textproc/hunspell \
+		libhunspell-1.5.so:textproc/hunspell \
 		libhyphen.so:textproc/hyphen \
 		libabw-0.1.so:textproc/libabw \
 		libe-book-0.1.so:textproc/libe-book \
diff --git a/editors/openoffice-4/Makefile b/editors/openoffice-4/Makefile
index cf437c8..642bac9 100644
--- a/editors/openoffice-4/Makefile
+++ b/editors/openoffice-4/Makefile
@@ -3,7 +3,7 @@
 
 PORTNAME=	apache-openoffice
 PORTVERSION=	${AOOVERSION}
-PORTREVISION=	1
+PORTREVISION=	2
 #PORTREVISION=	1
 CATEGORIES=	editors java
 MASTER_SITES=	APACHE/openoffice/${PORTVERSION}/source \
@@ -82,7 +82,7 @@ LIB_DEPENDS=								\
 		libfreetype.so:print/freetype2				\
 		libnss3.so:security/nss					\
 		libexpat.so:textproc/expat2				\
-		libhunspell-1.3.so:textproc/hunspell			\
+		libhunspell-1.5.so:textproc/hunspell			\
 		libhyphen.so:textproc/hyphen				\
 		libtextcat.so:textproc/libtextcat			\
 		libmythes-1.2.so:textproc/mythes			\
diff --git a/editors/openoffice-devel/Makefile b/editors/openoffice-devel/Makefile
index 3e19b7e..0578390 100644
--- a/editors/openoffice-devel/Makefile
+++ b/editors/openoffice-devel/Makefile
@@ -3,7 +3,7 @@
 
 PORTNAME=	apache-openoffice
 PORTVERSION=	${AOOVERSION1}.${AOOVERSION2}.${SVNREVISION}
-PORTREVISION=	3
+PORTREVISION=	4
 PORTEPOCH=	4
 CATEGORIES=	editors java
 MASTER_SITES=	https://dist.apache.org/repos/dist/dev/openoffice/${AOOVERSION}-${AOORC}-r${SVNREVISION}/source/ \
@@ -82,7 +82,7 @@ LIB_DEPENDS=								\
 		libfreetype.so:print/freetype2				\
 		libnss3.so:security/nss					\
 		libexpat.so:textproc/expat2				\
-		libhunspell-1.3.so:textproc/hunspell			\
+		libhunspell-1.5.so:textproc/hunspell			\
 		libhyphen.so:textproc/hyphen				\
 		libtextcat.so:textproc/libtextcat			\
 		libmythes-1.2.so:textproc/mythes			\
diff --git a/editors/tea/Makefile b/editors/tea/Makefile
index f96a35f..00ab126 100644
--- a/editors/tea/Makefile
+++ b/editors/tea/Makefile
@@ -3,6 +3,7 @@
 
 PORTNAME=	tea
 PORTVERSION=	43.1.0
+PORTREVISION=	1
 CATEGORIES=	editors
 MASTER_SITES=	http://semiletov.org/tea/dloads/
 
@@ -32,7 +33,7 @@ DESKTOP_ENTRIES="TEA" "" "${PREFIX}/share/pixmaps/tea_icon_v2.png" \
 ASPELL_LIB_DEPENDS=	libaspell.so:textproc/aspell
 ASPELL_QMAKE_ON=	CONFIG+=nohunspell
 
-HUNSPELL_LIB_DEPENDS=	libhunspell-1.3.so:textproc/hunspell
+HUNSPELL_LIB_DEPENDS=	libhunspell-1.5.so:textproc/hunspell
 HUNSPELL_QMAKE_ON=	CONFIG+=noaspell
 
 post-patch:
diff --git a/editors/texmaker/Makefile b/editors/texmaker/Makefile
index bf8715c..0c65588 100644
--- a/editors/texmaker/Makefile
+++ b/editors/texmaker/Makefile
@@ -3,7 +3,7 @@
 
 PORTNAME=	texmaker
 PORTVERSION=	4.5
-PORTREVISION=	4
+PORTREVISION=	5
 PORTEPOCH=	3
 CATEGORIES=	editors
 MASTER_SITES=	http://www.xm1math.net/texmaker/
@@ -11,7 +11,7 @@ MASTER_SITES=	http://www.xm1math.net/texmaker/
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	LaTeX Development Environment
 
-LIB_DEPENDS=	libhunspell-1.3.so:textproc/hunspell \
+LIB_DEPENDS=	libhunspell-1.5.so:textproc/hunspell \
 		libpoppler.so:graphics/poppler
 
 USES=		desktop-file-utils ghostscript:x11,run pkgconfig qmake tar:bzip2
diff --git a/editors/texstudio/Makefile b/editors/texstudio/Makefile
index e201c70..daed4d2 100644
--- a/editors/texstudio/Makefile
+++ b/editors/texstudio/Makefile
@@ -2,14 +2,14 @@
 
 PORTNAME=	texstudio
 PORTVERSION=	2.11.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	editors
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/TeXstudio%20${PORTVERSION}
 
 MAINTAINER=	abiliojr@gmail.com
 COMMENT=	Integrated writing environment for LaTeX documents
 
-LIB_DEPENDS=	libhunspell-1.3.so:textproc/hunspell \
+LIB_DEPENDS=	libhunspell-1.5.so:textproc/hunspell \
 		libpoppler.so:graphics/poppler
 
 USES=		desktop-file-utils dos2unix execinfo ghostscript:run \
diff --git a/editors/textroom/Makefile b/editors/textroom/Makefile
index 1a20598..e770a17 100644
--- a/editors/textroom/Makefile
+++ b/editors/textroom/Makefile
@@ -3,7 +3,7 @@
 
 PORTNAME=	textroom
 PORTVERSION=	0.8.2
-PORTREVISION=	7
+PORTREVISION=	8
 CATEGORIES=	editors
 MASTER_SITES=	SF
 
@@ -13,7 +13,7 @@ COMMENT=	Full screen text editor
 LICENSE=	GPLv3
 
 LIB_DEPENDS=	libcurl.so:ftp/curl \
-		libhunspell-1.3.so:textproc/hunspell \
+		libhunspell-1.5.so:textproc/hunspell \
 		libxml++-2.6.so:textproc/libxml++26
 
 USES=		desktop-file-utils pkgconfig qmake
diff --git a/editors/texworks/Makefile b/editors/texworks/Makefile
index 098f14b..bfbe092 100644
--- a/editors/texworks/Makefile
+++ b/editors/texworks/Makefile
@@ -3,8 +3,8 @@
 
 PORTNAME=	texworks
 PORTVERSION=	0.4.6
-PORTREVISION=	2
 DISTVERSIONPREFIX=	release-
+PORTREVISION=	3
 CATEGORIES=	editors
 
 MAINTAINER=	hrs@FreeBSD.org
diff --git a/german/hunspell/Makefile b/german/hunspell/Makefile
index 0b74059..e45c059 100644
--- a/german/hunspell/Makefile
+++ b/german/hunspell/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	hunspell
 PORTVERSION=	20160407
+PORTREVISION=	1
 CATEGORIES=	german textproc
 MASTER_SITES=	http://www.j3e.de/ispell/igerman98/dict/ \
 		LOCAL/sunpoet/${PORTNAME}
diff --git a/korean/hunspell/Makefile b/korean/hunspell/Makefile
index 9f87e69..81b5c9a 100644
--- a/korean/hunspell/Makefile
+++ b/korean/hunspell/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	hunspell
 PORTVERSION=	0.5.6
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	korean textproc
 
 MAINTAINER=	jkim@FreeBSD.org
diff --git a/mail/thunderbird/Makefile b/mail/thunderbird/Makefile
index 2c2617a..a563ac0 100644
--- a/mail/thunderbird/Makefile
+++ b/mail/thunderbird/Makefile
@@ -3,7 +3,7 @@
 
 PORTNAME=	thunderbird
 DISTVERSION=	45.5.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	mail news net-im ipv6
 MASTER_SITES=	MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
 		MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build1/source
diff --git a/multimedia/aegisub/Makefile b/multimedia/aegisub/Makefile
index 32a0586..23d5dc5 100644
--- a/multimedia/aegisub/Makefile
+++ b/multimedia/aegisub/Makefile
@@ -3,7 +3,7 @@
 
 PORTNAME=	aegisub
 PORTVERSION=	3.2.2
-PORTREVISION=	9
+PORTREVISION=	10
 CATEGORIES=	multimedia
 MASTER_SITES=	http://ftp.aegisub.org/pub/archives/releases/source/ \
 		ftp://ftp.aegisub.org/pub/archives/releases/source/ \
@@ -53,7 +53,7 @@ FFMPEG_LIB_DEPENDS=	libffms2.so:multimedia/ffms2
 FFMPEG_CONFIGURE_OFF=	--without-ffms
 FFTW_LIB_DEPENDS=	libfftw3.so:math/fftw3
 FFTW_CONFIGURE_OFF=	--without-fftw3
-HUNSPELL_LIB_DEPENDS=	libhunspell-1.3.so:textproc/hunspell
+HUNSPELL_LIB_DEPENDS=	libhunspell-1.5.so:textproc/hunspell
 HUNSPELL_CONFIGURE_OFF=	--without-hunspell
 OPENAL_USES=		openal
 OPENAL_CONFIGURE_OFF=	--without-openal
diff --git a/net-im/licq-qt-gui/Makefile b/net-im/licq-qt-gui/Makefile
index b384b25..2bb3fd3 100644
--- a/net-im/licq-qt-gui/Makefile
+++ b/net-im/licq-qt-gui/Makefile
@@ -3,7 +3,7 @@
 
 PORTNAME=	qt4-gui
 PORTVERSION=	1.8.2
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net-im
 PKGNAMESUFFIX?=	${KDE_SUFFIX}${PKGNAMESUFFIX2}
 
@@ -25,9 +25,9 @@ OPTIONS_DEFAULT=HUNSPELL
 
 LICQ_PORT?=	net-im/licq
 
-HUNSPELL_LIB_DEPENDS=	libhunspell-1.3.so:textproc/hunspell
+HUNSPELL_LIB_DEPENDS=	libhunspell-1.5.so:textproc/hunspell
 HUNSPELL_CMAKE_ON=	-DHUNSPELL_INCLUDE_DIRS=${LOCALBASE}/include/hunspell \
-			-DHUNSPELL_LIBRARIES=${LOCALBASE}/lib/libhunspell-1.3.so \
+			-DHUNSPELL_LIBRARIES=${LOCALBASE}/lib/libhunspell-1.5.so \
 			-DHUNSPELL_FOUND:BOOL=ON
 HUNSPELL_CMAKE_OFF=	-DHUNSPELL_FOUND:BOOL=OFF
 
diff --git a/print/lyx/Makefile b/print/lyx/Makefile
index 15fbc30..3b7bd2d 100644
--- a/print/lyx/Makefile
+++ b/print/lyx/Makefile
@@ -3,7 +3,7 @@
 
 PORTNAME=	lyx
 PORTVERSION=	${MAJOR_VERSION}.${MINOR_VERSION}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	print editors
 MASTER_SITES=	ftp://ftp.lyx.org/pub/lyx/stable/${MAJOR_VERSION}.x/ \
 		http://www-ftp.lip6.fr/ftp/pub/lyx/stable/${MAJOR_VERSION}.x/ \
@@ -46,7 +46,7 @@ ASPELL_LIB_DEPENDS=	libaspell.so:textproc/aspell
 ENCHANT_CONFIGURE_OFF=	--without-enchant
 ENCHANT_LIB_DEPENDS=	libenchant.so:textproc/enchant
 HUNSPELL_CONFIGURE_OFF=	--without-hunspell
-HUNSPELL_LIB_DEPENDS=	libhunspell-1.3.so:textproc/hunspell
+HUNSPELL_LIB_DEPENDS=	libhunspell-1.5.so:textproc/hunspell
 NLS_CONFIGURE_OFF=	--disable-nls
 NLS_USES=		gettext
 
diff --git a/print/scribus/Makefile b/print/scribus/Makefile
index 8a839ed..1b803bd 100644
--- a/print/scribus/Makefile
+++ b/print/scribus/Makefile
@@ -3,7 +3,7 @@
 
 PORTNAME=	scribus
 PORTVERSION=	1.4.6
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	print editors
 MASTER_SITES=	SF \
 		http://www.scribus.net/downloads/${PORTVERSION}/
@@ -18,7 +18,7 @@ LIB_DEPENDS=	liblcms.so:graphics/lcms \
 		libfreetype.so:print/freetype2 \
 		libpodofo.so:graphics/podofo \
 		libboost_thread.so:devel/boost-libs \
-		libhunspell-1.3.so:textproc/hunspell \
+		libhunspell-1.5.so:textproc/hunspell \
 		libcairo.so:graphics/cairo \
 		libhyphen.so:textproc/hyphen \
 		libfontconfig.so:x11-fonts/fontconfig
diff --git a/textproc/enchant/Makefile b/textproc/enchant/Makefile
index e3101e3..29a6f6e 100644
--- a/textproc/enchant/Makefile
+++ b/textproc/enchant/Makefile
@@ -3,7 +3,7 @@
 
 PORTNAME=	enchant
 PORTVERSION=	1.6.0
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	textproc gnome
 MASTER_SITES=	http://www.abisource.com/downloads/${PORTNAME}/${PORTVERSION}/
 DIST_SUBDIR=	gnome2
@@ -39,7 +39,7 @@ HSPELL_BUILD_DEPENDS=	${LOCALBASE}/lib/libhspell.a:hebrew/hspell
 HSPELL_CONFIGURE_ENABLE=	hspell
 HSPELL_CONFIGURE_ON=	--with-hspell-prefix=${LOCALBASE}
 
-HUNSPELL_LIB_DEPENDS=	libhunspell-1.3.so:textproc/hunspell
+HUNSPELL_LIB_DEPENDS=	libhunspell-1.5.so:textproc/hunspell
 HUNSPELL_CONFIGURE_ENABLE=	myspell
 HUNSPELL_CONFIGURE_ON=	--with-system-myspell=yes \
 			--with-myspell-dir=${LOCALBASE}/share/hunspell
diff --git a/textproc/goldendict/Makefile b/textproc/goldendict/Makefile
index c8088b1..4473f1d 100644
--- a/textproc/goldendict/Makefile
+++ b/textproc/goldendict/Makefile
@@ -3,7 +3,7 @@
 
 PORTNAME=	goldendict
 PORTVERSION=	1.0.1
-PORTREVISION=	8
+PORTREVISION=	9
 CATEGORIES=	textproc
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:C|(.*)\.[0-9]*$|\1|}/
 DISTNAME=	${PORTNAME}-${PORTVERSION}-src
@@ -13,7 +13,7 @@ COMMENT=	Feature-rich Qt4 based dictionary lookup program
 
 LICENSE=	GPLv3
 
-LIB_DEPENDS=	libhunspell-1.3.so:textproc/hunspell \
+LIB_DEPENDS=	libhunspell-1.5.so:textproc/hunspell \
 		libvorbis.so:audio/libvorbis
 
 NO_WRKSUBDIR=	yes
diff --git a/textproc/hunspell/Makefile b/textproc/hunspell/Makefile
index 4028bbb..b33da59 100644
--- a/textproc/hunspell/Makefile
+++ b/textproc/hunspell/Makefile
@@ -2,10 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	hunspell
-PORTVERSION=	1.3.3
+PORTVERSION=	1.5.0
+DISTVERSIONPREFIX=	v
 CATEGORIES=	textproc
-MASTER_SITES=	SF/${PORTNAME}/Hunspell/${PORTVERSION}
-DIST_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	office@FreeBSD.org
 COMMENT=	Improved spell-checker for Hungarian and other languages
@@ -19,6 +18,7 @@ CONFLICTS_INSTALL=	tinker-[0-9]*
 CONFIGURE_ARGS=	--disable-nls ${ICONV_CONFIGURE_ARG} --with-readline --with-ui
 GNU_CONFIGURE=	yes
 USES=		libtool:keepla pathfix iconv ncurses readline shebangfix perl5
+USE_GITHUB=	yes
 SHEBANG_FILES=	src/tools/ispellaff2myspell
 USE_LDCONFIG=	yes
 USE_PERL5=	run
diff --git a/textproc/hunspell/distinfo b/textproc/hunspell/distinfo
index eede83d..8f95442 100644
--- a/textproc/hunspell/distinfo
+++ b/textproc/hunspell/distinfo
@@ -1,2 +1,3 @@
-SHA256 (hunspell/hunspell-1.3.3.tar.gz) = a7b2c0de0e2ce17426821dc1ac8eb115029959b3ada9d80a81739fa19373246c
-SIZE (hunspell/hunspell-1.3.3.tar.gz) = 986081
+TIMESTAMP = 1479584668
+SHA256 (hunspell-hunspell-v1.5.0_GH0.tar.gz) = b74f2df1aafdbc1f0941d721d7895da4b27b85bba7a4c699a9209477cbbf1f59
+SIZE (hunspell-hunspell-v1.5.0_GH0.tar.gz) = 1110171
diff --git a/textproc/hunspell/files/patch-configure b/textproc/hunspell/files/patch-configure
deleted file mode 100644
index 2c62f48..0000000
--- a/textproc/hunspell/files/patch-configure
+++ /dev/null
@@ -1,26 +0,0 @@
---- configure.orig	2013-05-17 01:18:45.000000000 +0300
-+++ configure	2013-05-17 01:26:35.000000000 +0300
-@@ -11880,6 +11880,7 @@
- 
-   # Allow CC to be a program name with arguments.
-   lt_save_CC=$CC
-+  lt_save_CFLAGS=$CFLAGS
-   lt_save_LD=$LD
-   lt_save_GCC=$GCC
-   GCC=$GXX
-@@ -11897,6 +11898,7 @@
-   fi
-   test -z "${LDCXX+set}" || LD=$LDCXX
-   CC=${CXX-"c++"}
-+  CFLAGS=$CXXFLAGS
-   compiler=$CC
-   compiler_CXX=$CC
-   for cc_temp in $compiler""; do
-@@ -14618,6 +14620,7 @@
-   fi # test -n "$compiler"
- 
-   CC=$lt_save_CC
-+  CFLAGS=$lt_save_CFLAGS
-   LDCXX=$LD
-   LD=$lt_save_LD
-   GCC=$lt_save_GCC
diff --git a/textproc/hunspell/files/patch-src_tools_hunspell.cxx b/textproc/hunspell/files/patch-src_tools_hunspell.cxx
index e0470da..09565bc 100644
--- a/textproc/hunspell/files/patch-src_tools_hunspell.cxx
+++ b/textproc/hunspell/files/patch-src_tools_hunspell.cxx
@@ -1,34 +1,40 @@
---- ./src/tools/hunspell.cxx.orig	2011-01-21 18:01:29.000000000 +0100
-+++ ./src/tools/hunspell.cxx	2011-07-19 07:16:58.346225286 +0200
-@@ -61,28 +61,23 @@
- #include "firstparser.hxx"
+--- src/tools/hunspell.cxx.orig	2016-11-19 19:44:28 UTC
++++ src/tools/hunspell.cxx
+@@ -111,28 +111,23 @@
+ #include "odfparser.hxx"
  
- #define LIBDIR \
--    "/usr/share/hunspell:" \
--    "/usr/share/myspell:" \
--    "/usr/share/myspell/dicts:" \
--    "/Library/Spelling"
+ #define LIBDIR                \
+-  "/usr/share/hunspell:"      \
+-  "/usr/share/myspell:"       \
+-  "/usr/share/myspell/dicts:" \
+-  "/Library/Spelling"
+-#define USEROOODIR                    \
+-  ".openoffice.org/3/user/wordbook:"  \
+-  ".openoffice.org2/user/wordbook:"   \
+-  ".openoffice.org2.0/user/wordbook:" \
+-  "Library/Spelling"
+-#define OOODIR                                       \
+-  "/opt/openoffice.org/basis3.0/share/dict/ooo:"     \
+-  "/usr/lib/openoffice.org/basis3.0/share/dict/ooo:" \
+-  "/opt/openoffice.org2.4/share/dict/ooo:"           \
+-  "/usr/lib/openoffice.org2.4/share/dict/ooo:"       \
+-  "/opt/openoffice.org2.3/share/dict/ooo:"           \
+-  "/usr/lib/openoffice.org2.3/share/dict/ooo:"       \
+-  "/opt/openoffice.org2.2/share/dict/ooo:"           \
+-  "/usr/lib/openoffice.org2.2/share/dict/ooo:"       \
+-  "/opt/openoffice.org2.1/share/dict/ooo:"           \
+-  "/usr/lib/openoffice.org2.1/share/dict/ooo:"       \
+-  "/opt/openoffice.org2.0/share/dict/ooo:"           \
+-  "/usr/lib/openoffice.org2.0/share/dict/ooo"
 +    "%%PREFIX%%/share/hunspell:" \
 +    "%%PREFIX%%/share/myspell:" \
 +    "%%PREFIX%%/share/myspell/dicts:"
- #define USEROOODIR \
-     ".openoffice.org/3/user/wordbook:" \
-     ".openoffice.org2/user/wordbook:" \
-     ".openoffice.org2.0/user/wordbook:" \
-     "Library/Spelling"
- #define OOODIR \
--    "/opt/openoffice.org/basis3.0/share/dict/ooo:" \
--    "/usr/lib/openoffice.org/basis3.0/share/dict/ooo:" \
--    "/opt/openoffice.org2.4/share/dict/ooo:" \
--    "/usr/lib/openoffice.org2.4/share/dict/ooo:" \
--    "/opt/openoffice.org2.3/share/dict/ooo:" \
--    "/usr/lib/openoffice.org2.3/share/dict/ooo:" \
--    "/opt/openoffice.org2.2/share/dict/ooo:" \
--    "/usr/lib/openoffice.org2.2/share/dict/ooo:" \
--    "/opt/openoffice.org2.1/share/dict/ooo:" \
--    "/usr/lib/openoffice.org2.1/share/dict/ooo:" \
--    "/opt/openoffice.org2.0/share/dict/ooo:" \
--    "/usr/lib/openoffice.org2.0/share/dict/ooo"
++#define USEROOODIR \
++    ".openoffice.org/3/user/wordbook:" \
++    ".openoffice.org2/user/wordbook:" \
++    ".openoffice.org2.0/user/wordbook:" \
++    "Library/Spelling"
++#define OOODIR \
 +    "%%PREFIX%%/openoffice.org3/share/dict/ooo:" \
 +    "%%PREFIX%%/openoffice.org-3.0.0/share/dict/ooo:" \
 +    "%%PREFIX%%/openoffice.org-2.4.2/share/dict/ooo:" \
diff --git a/textproc/hunspell/pkg-descr b/textproc/hunspell/pkg-descr
index b897d3e..30140bf 100644
--- a/textproc/hunspell/pkg-descr
+++ b/textproc/hunspell/pkg-descr
@@ -1,4 +1,7 @@
-Hunspell is a widely used spell checker
+Hunspell is the spell checker of LibreOffice, OpenOffice.org, Mozilla
+Firefox 3 & Thunderbird, Google Chrome, and it is also used by
+proprietary software packages, like Mac OS X, InDesign, memoQ, Opera
+and SDL Trados.
 
 Main features:
 - Extended support for language peculiarities; Unicode character encoding,
diff --git a/textproc/hunspell/pkg-plist b/textproc/hunspell/pkg-plist
index 52ab40e..39bc021 100644
--- a/textproc/hunspell/pkg-plist
+++ b/textproc/hunspell/pkg-plist
@@ -10,23 +10,9 @@ bin/munch
 bin/unmunch
 bin/wordforms
 bin/wordlist2hunspell
-include/hunspell/affentry.hxx
-include/hunspell/affixmgr.hxx
-include/hunspell/atypes.hxx
-include/hunspell/baseaffix.hxx
-include/hunspell/csutil.hxx
-include/hunspell/dictmgr.hxx
-include/hunspell/filemgr.hxx
-include/hunspell/hashmgr.hxx
-include/hunspell/htypes.hxx
 include/hunspell/hunspell.h
 include/hunspell/hunspell.hxx
 include/hunspell/hunvisapi.h
-include/hunspell/hunzip.hxx
-include/hunspell/langnum.hxx
-include/hunspell/phonet.hxx
-include/hunspell/replist.hxx
-include/hunspell/suggestmgr.hxx
 include/hunspell/w_char.hxx
 lib/libhunspell-%%SHLIB_VER%%.a
 lib/libhunspell-%%SHLIB_VER%%.la
diff --git a/textproc/kf5-sonnet/Makefile b/textproc/kf5-sonnet/Makefile
index badbafc..ccadea9 100644
--- a/textproc/kf5-sonnet/Makefile
+++ b/textproc/kf5-sonnet/Makefile
@@ -3,13 +3,14 @@
 
 PORTNAME=	sonnet
 PORTVERSION=	${KDE_FRAMEWORKS_VERSION}
+PORTREVISION=	1
 CATEGORIES=	textproc kde kde-frameworks
 
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	KF5 plugin-based spell checking library
 
 LIB_DEPENDS=	libaspell.so:textproc/aspell \
-		libhunspell-1.3.so:textproc/hunspell
+		libhunspell-1.5.so:textproc/hunspell
 
 USES=		cmake:outsource compiler:c++11-lib kde:5 tar:xz
 USE_KDE=	ecm
diff --git a/textproc/mythes/Makefile b/textproc/mythes/Makefile
index da8e0cc4..5f68a66 100644
--- a/textproc/mythes/Makefile
+++ b/textproc/mythes/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	mythes
 PORTVERSION=	1.2.4
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	textproc
 MASTER_SITES=	SF/hunspell/MyThes/${PORTVERSION}/
 DIST_SUBDIR=	${PORTNAME}
@@ -13,7 +13,7 @@ COMMENT=	Simple thesaurus library
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-LIB_DEPENDS=	libhunspell-1.3.so:textproc/hunspell
+LIB_DEPENDS=	libhunspell-1.5.so:textproc/hunspell
 
 USES=		libtool pathfix perl5 pkgconfig shebangfix
 USE_LDCONFIG=	yes
diff --git a/textproc/sigil/Makefile b/textproc/sigil/Makefile
index b15f1c5..7f754b2 100644
--- a/textproc/sigil/Makefile
+++ b/textproc/sigil/Makefile
@@ -3,6 +3,7 @@
 
 PORTNAME=	sigil
 PORTVERSION=	0.9.7
+PORTREVISION=	1
 CATEGORIES=	textproc
 
 MAINTAINER=	ports@FreeBSD.org
@@ -12,7 +13,7 @@ LICENSE=	GPLv3+
 
 LIB_DEPENDS=	libminizip.so:archivers/minizip \
 		libpcre.so:devel/pcre \
-		libhunspell-1.3.so:textproc/hunspell
+		libhunspell-1.5.so:textproc/hunspell
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	Sigil-Ebook
@@ -30,7 +31,7 @@ CMAKE_ARGS=	-DUSE_SYSTEM_LIBS:BOOL=1 \
 		-DINSTALL_BUNDLED_DICTS:BOOL=0
 USE_LDCONFIG=	${PREFIX}/lib/sigil
 
-# Upstream uses pkg-config output to pass libhunspell-1.3.so and
+# Upstream uses pkg-config output to pass libhunspell-1.5.so and
 # libpcre16.so to the linker. pkg-config output does not include full
 # paths, so add a workaround to keep the port linking for now.
 LDFLAGS+=	-L${LOCALBASE}/lib
diff --git a/textproc/te-hunspell/Makefile b/textproc/te-hunspell/Makefile
index c4ef8b5..44ac453 100644
--- a/textproc/te-hunspell/Makefile
+++ b/textproc/te-hunspell/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	hunspell
 DISTVERSION=	0.01-2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	textproc
 MASTER_SITES=	GNU/aspell/dict/te
 PKGNAMEPREFIX=	te-
diff --git a/www/firefox-esr/Makefile b/www/firefox-esr/Makefile
index 35e9376..9e51749 100644
--- a/www/firefox-esr/Makefile
+++ b/www/firefox-esr/Makefile
@@ -4,7 +4,7 @@
 PORTNAME=	firefox
 DISTVERSION=	45.5.0
 DISTVERSIONSUFFIX=esr.source
-PORTREVISION=	2
+PORTREVISION=	3
 PORTEPOCH=	1
 CATEGORIES=	www ipv6
 MASTER_SITES=	MOZILLA/${PORTNAME}/releases/${DISTVERSION}esr/source \
diff --git a/www/firefox/Makefile b/www/firefox/Makefile
index dd9b989..2cee0e7 100644
--- a/www/firefox/Makefile
+++ b/www/firefox/Makefile
@@ -4,6 +4,7 @@
 PORTNAME=	firefox
 DISTVERSION=	50.0.1
 DISTVERSIONSUFFIX=.source
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	www ipv6
 MASTER_SITES=	MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
diff --git a/www/libxul/Makefile b/www/libxul/Makefile
index 20564a7..78bf9d9 100644
--- a/www/libxul/Makefile
+++ b/www/libxul/Makefile
@@ -3,7 +3,7 @@
 
 PORTNAME=	libxul
 DISTVERSION=	45.5.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES?=	www devel
 MASTER_SITES=	MOZILLA/firefox/releases/${DISTVERSION}esr/source \
 		MOZILLA/firefox/candidates/${DISTVERSION}esr-candidates/build1/source
diff --git a/www/qupzilla-qt4/Makefile b/www/qupzilla-qt4/Makefile
index 0b8061a..eb61f15 100644
--- a/www/qupzilla-qt4/Makefile
+++ b/www/qupzilla-qt4/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	qupzilla
 PORTVERSION=	1.8.9
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	https://github.com/QupZilla/${PORTNAME}/releases/download/v${PORTVERSION}/
 PKGNAMESUFFIX=	-qt4
@@ -12,7 +13,7 @@ COMMENT=	Web browser based on WebKit engine and Qt Framework
 
 LICENSE=	GPLv3
 
-LIB_DEPENDS=	libhunspell-1.3.so:textproc/hunspell
+LIB_DEPENDS=	libhunspell-1.5.so:textproc/hunspell
 
 CONFLICTS_INSTALL=	${PORTNAME}-qt5*
 
diff --git a/www/qupzilla-qt5/Makefile b/www/qupzilla-qt5/Makefile
index 461cd19..004e330 100644
--- a/www/qupzilla-qt5/Makefile
+++ b/www/qupzilla-qt5/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	qupzilla
 PORTVERSION=	1.8.9
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	https://github.com/QupZilla/${PORTNAME}/releases/download/v${PORTVERSION}/
 PKGNAMESUFFIX=	-qt5
@@ -12,7 +13,7 @@ COMMENT=	Web browser based on WebKit engine and Qt Framework
 
 LICENSE=	GPLv3
 
-LIB_DEPENDS=	libhunspell-1.3.so:textproc/hunspell
+LIB_DEPENDS=	libhunspell-1.5.so:textproc/hunspell
 
 CONFLICTS_INSTALL=	${PORTNAME}-qt4*
 
diff --git a/www/seamonkey/Makefile b/www/seamonkey/Makefile
index 2c89b30..f9f8e27 100644
--- a/www/seamonkey/Makefile
+++ b/www/seamonkey/Makefile
@@ -4,7 +4,7 @@
 PORTNAME=	seamonkey
 DISTVERSION=	2.40
 MOZILLA_VER=	43 # above + 3
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES?=	www mail news editors irc ipv6
 MASTER_SITES=	MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
 		MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build1/source
diff --git a/x11/leechcraft/Makefile b/x11/leechcraft/Makefile
index 4bdf5f2..fbb2e93 100644
--- a/x11/leechcraft/Makefile
+++ b/x11/leechcraft/Makefile
@@ -3,7 +3,7 @@
 
 PORTNAME=	leechcraft
 PORTVERSION=	0.6.70
-PORTREVISION=	13
+PORTREVISION=	14
 CATEGORIES=	x11
 MASTER_SITES=	http://dist.leechcraft.org/LeechCraft/0.6.70/
 
@@ -287,7 +287,7 @@ QROSP_LIB_DEPENDS=	libqrosscore.so:devel/qross
 ROSENTHAL_DESC=		Spellchecking support
 ROSENTHAL_CMAKE_ON=	-DENABLE_ROSENTHAL:BOOL=true
 ROSENTHAL_CMAKE_OFF=	-DENABLE_ROSENTHAL:BOOL=false
-ROSENTHAL_LIB_DEPENDS=	libhunspell-1.3.so:textproc/hunspell
+ROSENTHAL_LIB_DEPENDS=	libhunspell-1.5.so:textproc/hunspell
 
 SB2_DESC=		Sidebar for LeechCraft with combined launcher and tab switcher
 SB2_CMAKE_ON=		-DENABLE_SB2:BOOL=true