Files
ports/textproc/aspell/files/patch-Makefile.in
Thierry Thomas 3043dd7864 Upgrade to 0.60.8 (pre-release snapshot).
Changelog at <http://aspell.net/man-html/ChangeLog.html>.

Note: it includes a fix for a potently unbounded buffer over-read in GNU Aspell
0.60.*, but unfortunately, the fix will break applications that use null-
terminated UCS-2 or UCS-4 strings with the C API.

See details at
<https://lists.gnu.org/archive/html/aspell-announce/2019-08/msg00000.html>.

Security:	Potently unbounded buffer over-read in GNU Aspell 0.60.*
2019-08-26 19:59:32 +00:00

35 lines
1.5 KiB
Plaintext

--- Makefile.in.orig 2019-08-18 01:39:59 UTC
+++ Makefile.in
@@ -666,7 +666,12 @@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
AUTOMAKE_OPTIONS = foreign subdir-objects
-SUBDIRS = . po manual
+
+ifndef NOPORTDOCS
+MANUALSUBDIR = manual
+endif
+SUBDIRS = . po $(MANUALSUBDIR)
+
DIST_SUBDIRS = ${SUBDIRS} examples myspell lib5
filterdir = ${pkglibdir}
optdir = ${pkgdatadir}
@@ -766,7 +771,7 @@ libaspell_la_SOURCES = common/cache.cpp common/string.
lib/string_list-c.cpp lib/find_speller.cpp lib/speller-c.cpp \
lib/string_pair_enumeration-c.cpp lib/new_checker.cpp \
modules/filter/url.cpp $(am__append_3)
-libaspell_la_LIBADD = $(LTLIBINTL) $(PTHREAD_LIB)
+libaspell_la_LIBADD = $(LTLIBINTL) $(PTHREAD_LIB) $(LTLIBINTL)
@INCREMENTED_SONAME_FALSE@libaspell_la_LDFLAGS = -version-info 18:0:3 -no-undefined
@INCREMENTED_SONAME_TRUE@libaspell_la_LDFLAGS = -version-info 19:0:3 -no-undefined
@PSPELL_COMPATIBILITY_TRUE@libpspell_la_SOURCES = lib/dummy.cpp
@@ -774,7 +779,7 @@ libaspell_la_LIBADD = $(LTLIBINTL) $(PTHREAD_LIB)
@PSPELL_COMPATIBILITY_TRUE@libpspell_la_LDFLAGS = $(libaspell_la_LDFLAGS)
word_list_compress_SOURCES = prog/compress.c
aspell_SOURCES = prog/aspell.cpp prog/check_funs.cpp prog/checker_string.cpp
-aspell_LDADD = libaspell.la $(CURSES_LIB)
+aspell_LDADD = libaspell.la $(CURSES_LIB) $(LTLIBINTL)
prezip_bin_SOURCES = prog/prezip.c
static_optfiles = modules/filter/url-filter.info $(am__append_2)
dynamic_optfiles = $(am__append_4)