ports/misc/linm/files/patch-src_ncurses_Makefile.in
Tobias Kortkamp c069836a06 misc/linm: Fix build with Clang 6
In file included from mlsdialog.cpp:1:
./mlsdialog.h:30:10: error: cannot initialize return object of type 'void *' with an rvalue of type 'bool'
                return false;
                       ^~~~~

http://beefy12.nyi.freebsd.org/data/head-amd64-default/p478276_s338342/logs/errors/linm-0.8.1.1_5.log

- Fix build on 12.0 too; it fails to link and seems to want iconv
  from ports for the //TRANSLIT extension

/usr/bin/ld: error: undefined symbol: libiconv_open
>>> referenced by mlslocale.cpp
>>>               mlslocale.o:(MLSUTIL::code_convert(char const*, char const*, char const*)) in archive ../../lib/libmlscommon.a
2018-08-30 12:10:49 +00:00

11 lines
497 B
Text

--- src/ncurses/Makefile.in.orig 2018-08-30 11:32:53 UTC
+++ src/ncurses/Makefile.in
@@ -279,7 +279,7 @@ linm_LDADD = $(top_builddir)/lib/libmlscommon.a \
$(top_builddir)/editor/libeditor.a \
$(top_builddir)/panel/common/libpanelcommon.a \
$(top_builddir)/panel/vfs/archive/liblinmpluginarc.la \
- $(top_builddir)/panel/vfs/ftp/liblinmpluginftp.la @LIBINTL@ \
+ $(top_builddir)/panel/vfs/ftp/liblinmpluginftp.la @LIBICONV@ @LIBINTL@ \
$(am__append_1) $(am__append_2)
all: all-recursive