head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.22 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.20 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.18 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.16 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.14 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.12 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.10 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.8 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.6 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.4 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.2 pkgsrc-2023Q3-base:1.1; locks; strict; comment @# @; 1.1 date 2023.08.09.20.20.27; author sjmulder; state Exp; branches; next ; commitid Z3BifpkVuUtHr9AE; desc @@ 1.1 log @converters/help2man: Work around configure issue w/ GNU gettext() Depending on platform and compilation environment, GNU gettext exports functions like bindtextdomain() as libintl_bindtextdomain() so checking the symbol name directly doesn't work. When bindtextdomain() isn't found help2man won't install localized man pages. @ text @$NetBSD$ Depending on platform and compilation environment, GNU gettext exports functions like bindtextdomain() as libintl_bindtextdomain() so checking the symbol name directly doesn't work. When bindtextdomain() isn't found help2man won't install localized man pages. --- configure.orig 2022-12-13 00:48:03.000000000 +0000 +++ configure @@@@ -3427,14 +3427,12 @@@@ else $as_nop cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -char bindtextdomain (); +#include + int main (void) { -return bindtextdomain (); +bindtextdomain ("", ""); ; return 0; } @