summaryrefslogtreecommitdiffstats
path: root/t/t4013/diff.format-patch_--inline_--stdout_initial..master^
diff options
context:
space:
mode:
authorTorsten Bögershausen <tboegi@web.de>2026-01-12 17:25:53 +0100
committerJunio C Hamano <gitster@pobox.com>2026-01-12 12:00:39 -0800
commitd28124151851e42a3bb92963f5b747ad843f33e0 (patch)
treee491304a2b8dcb45666a5c6a766ccef5e98bd64b /t/t4013/diff.format-patch_--inline_--stdout_initial..master^
parentd0cec08d704a44105545e9e65c831fc67f6f1986 (diff)
downloadgit-d28124151851e42a3bb92963f5b747ad843f33e0.tar.gz
git-d28124151851e42a3bb92963f5b747ad843f33e0.zip
utf8.c: enable workaround for iconv under macOS 14/15
The previous commit introduced a workaround in utf8.c to deal with broken iconv implementations. It is enabled when a MacOS version is used that has a buggy iconv library and there is no external library provided (and linked against) from neither MacPorts nor Homebrew nor Fink. For Homebrew, MacPorts and Fink we check if libiconv exist. Introduce 2 new macros: HAS_GOOD_LIBICONV and NEEDS_GOOD_LIBICONV. For Homebrew HAS_GOOD_LIBICONV is set when the libiconv directory exist. MacPorts can be installed with or without libiconv, so check if libiconv.dylib exists (which is a softlink) Fink compiles and installs libiconv by default. Note that a fresh installation of Fink now defaults to /opt/sw. Older versions used /sw as default, so leave the check and setting of BASIC_CFLAGS and BASIC_LDFLAGS as is. For the new default check for the existance of /opt/sw as well. Add a check for /opt/sw/lib/libiconv.dylib which sets HAS_GOOD_LIBICONV Signed-off-by: Torsten Bögershausen <tboegi@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.format-patch_--inline_--stdout_initial..master^')
0 files changed, 0 insertions, 0 deletions