head 1.5; access; symbols pkgsrc-2026Q2:1.4.0.20 pkgsrc-2026Q2-base:1.4 pkgsrc-2026Q1:1.4.0.18 pkgsrc-2026Q1-base:1.4 pkgsrc-2025Q4:1.4.0.16 pkgsrc-2025Q4-base:1.4 pkgsrc-2025Q3:1.4.0.14 pkgsrc-2025Q3-base:1.4 pkgsrc-2025Q2:1.4.0.12 pkgsrc-2025Q2-base:1.4 pkgsrc-2025Q1:1.4.0.10 pkgsrc-2025Q1-base:1.4 pkgsrc-2024Q4:1.4.0.8 pkgsrc-2024Q4-base:1.4 pkgsrc-2024Q3:1.4.0.6 pkgsrc-2024Q3-base:1.4 pkgsrc-2024Q2:1.4.0.4 pkgsrc-2024Q2-base:1.4 pkgsrc-2024Q1:1.4.0.2 pkgsrc-2024Q1-base:1.4 pkgsrc-2013Q3:1.2.0.4 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.2 pkgsrc-2013Q2-base:1.2; locks; strict; comment @# @; 1.5 date 2026.06.23.10.05.27; author wiz; state dead; branches; next 1.4; commitid xNHpv6ym4uH8kUKG; 1.4 date 2024.01.26.03.15.50; author riastradh; state Exp; branches; next 1.3; commitid YGM9TCkY2AbojUVE; 1.3 date 2013.11.13.19.44.03; author wiz; state dead; branches; next 1.2; commitid 0crAPtTs4APWx9dx; 1.2 date 2013.05.10.14.33.01; author riastradh; state Exp; branches; next 1.1; commitid w1hfEL6usPaVP5Pw; 1.1 date 2013.05.10.05.27.39; author riastradh; state Exp; branches; next ; desc @@ 1.5 log @enca: update to 1.22. enca-1.22 - Fix for failures due to non-portable modern-bashism. - Add missing Finnish files to Makefile.am. - Fix autoreconf with >= gettext-0.24. * Update URLs to latest in README.md. enca-1.21 + Add support for Finnish language with CP1267 charset. + Added -without-librecode to configure script - Fixed --with-libiconv and --without-libiconv options - Removed old travis ci link from readme. - Update source path in enca.spec.in - Fixed language tools build warnings and error. enca-1.20 - fix crosscompilation issues - fix documentation build - fix compiler warnings - fix librecode detection - fix normalize.py input format + with --disable-gtk-doc docs are not installed + add support for testing on MSYS2 MINGW - fixed normalize.pl input format. + add usage help to normalize.pl and countall enca-1.19 2016-09-05 - fix possible memory leak - make utf-8 detection work even on one character enca-1.18 2016-01-07 - fix installation of devhelp documentation enca-1.17 2016-01-04 - Fixed conversion of GB2312 encoding with iconv - Fixed iconv conversion on OSX - Documentation improvements - Fixed execution of external converters with ACLs - Improved test coverage to 80% enca-1.16 2014-10-20 - Fixed typo in Belarusian language name - Added aliases for Chinese and Yugoslavian languages @ text @$NetBSD: patch-configure.ac,v 1.4 2024/01/26 03:15:50 riastradh Exp $ Fix cross-build. --- configure.ac.orig 2013-09-30 07:48:22.000000000 +0000 +++ configure.ac @@@@ -36,6 +36,7 @@@@ RELEASE=1 dnl Checks for programs. AC_PROG_AWK AC_PROG_CC +AX_PROG_CC_FOR_BUILD AC_GNU_SOURCE AC_AIX AC_ISC_POSIX @ 1.4 log @textproc/enca: Fix cross-build. @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @Update to 1.15: enca-1.15 2013-09-30 - Documentation improvement - Development moved to GitHub - Do not use deprecated autoconf macros @ text @d1 1 a1 1 $NetBSD: patch-configure.ac,v 1.2 2013/05/10 14:33:01 riastradh Exp $ d3 1 a3 1 Pass CC_FOR_BUILD through for make_hash. d5 1 a5 1 --- configure.ac.orig 2012-09-11 09:11:11.000000000 +0000 d7 8 a14 23 @@@@ -46,6 +46,14 @@@@ AC_PROG_INSTALL AC_PROG_LN_S AC_PATH_PROG(MKTEMP_PROG, mktemp) +if test -z "$CC_FOR_BUILD"; then + if test "x$cross_compiling" = xno; then + CC_FOR_BUILD="$CC" + else + AC_MSG_ERROR([can't compile tools on host without CC_FOR_BUILD]) + fi +fi + dnl With GCC, be paranoiac. It should compile really cleanly. dnl Except -Wno-sign-compare, but older gcc's don't know it. if test "$GCC" = yes; then @@@@ -207,6 +215,7 @@@@ AC_SUBST(CONVERTER_LIBS) AC_SUBST(DEFAULT_EXTERNAL_CONVERTER) AC_SUBST(DEFAULT_CONVERTER_LIST) AC_SUBST(SHELL_RANDOM_FILENAME) +AC_SUBST(CC_FOR_BUILD) AC_OUTPUT @ 1.2 log @Oops -- restore native build of textproc/enca with CC_FOR_BUILD=CC. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Fix cross-build of textproc/enca: use CC_FOR_BUILD and avoid run-tests. @ text @d7 16 a22 1 @@@@ -207,6 +206,7 @@@@ AC_SUBST(CONVERTER_LIBS) @