head 1.3; access; symbols pkgsrc-2026Q2:1.2.0.16 pkgsrc-2026Q2-base:1.2 pkgsrc-2026Q1:1.2.0.14 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.12 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.10 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.2.0.8 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.2.0.6 pkgsrc-2025Q1-base:1.2 pkgsrc-2024Q4:1.2.0.4 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.2 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.1.0.12 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.10 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.8 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.6 pkgsrc-2023Q3-base:1.1 pkgsrc-2023Q2:1.1.0.4 pkgsrc-2023Q2-base:1.1 pkgsrc-2023Q1:1.1.0.2 pkgsrc-2023Q1-base:1.1; locks; strict; comment @ * @; 1.3 date 2026.06.23.09.52.25; author wiz; state dead; branches; next 1.2; commitid 0YZIfsER1NSDfUKG; 1.2 date 2024.09.04.11.52.38; author jperkin; state Exp; branches; next 1.1; commitid 0sABySxp1iMe2uoF; 1.1 date 2023.03.12.12.38.56; author js; state Exp; branches; next ; commitid ZkAPZNumYnfdIPgE; desc @@ 1.3 log @argp: update to 1.5.0. 2022-05-03 Wolf Vollprecht * add meson build system * add support for Windows / MSVC * Bump version to 1.5.0 2021-02-16 Érico Nogueira * configure.ac: Check for header. * argp-help.c: Add dgettext_safe wrapper. * configure.ac: Bumped version to 1.4.1. 2021-02-10 Érico Nogueira * configure.ac: Bumped version to 1.4.0. 2021-02-10 Érico Nogueira * Updated argp to glibc 2.33. * README.md: create file. @ text @$NetBSD: patch-argp-parse.c,v 1.2 2024/09/04 11:52:38 jperkin Exp $ Remove __THROW that might be defined to __attribute__((nothrow)) and would thus cause the compilation to fail. SunOS needs alloca.h. --- argp-parse.c.orig 2003-12-11 08:37:05.000000000 +0000 +++ argp-parse.c @@@@ -26,6 +26,10 @@@@ #include #endif +#ifdef __sun +#include +#endif + /* AIX requires this to be the first thing in the file. */ #ifndef __GNUC__ # if HAVE_ALLOCA_H @@@@ -1277,13 +1281,13 @@@@ weak_alias (__argp_input, _argp_input) /* Defined here, in case a user is not inlining the definitions in * argp.h */ void -__argp_usage (__const struct argp_state *__state) __THROW +__argp_usage (__const struct argp_state *__state) { __argp_state_help (__state, stderr, ARGP_HELP_STD_USAGE); } int -__option_is_short (__const struct argp_option *__opt) __THROW +__option_is_short (__const struct argp_option *__opt) { if (__opt->flags & OPTION_DOC) return 0; @@@@ -1297,7 +1301,7 @@@@ __option_is_short (__const struct argp_o } int -__option_is_end (__const struct argp_option *__opt) __THROW +__option_is_end (__const struct argp_option *__opt) { return !__opt->key && !__opt->name && !__opt->doc && !__opt->group; } @ 1.2 log @argp: Fix build on SunOS. @ text @d1 1 a1 1 $NetBSD: patch-argp-parse.c,v 1.1 2023/03/12 12:38:56 js Exp $ @ 1.1 log @devel/argp: Fix compilation @ text @d1 1 a1 1 $NetBSD$ d5 1 d9 12 a20 1 @@@@ -1277,13 +1277,13 @@@@ weak_alias (__argp_input, _argp_input) d36 1 a36 1 @@@@ -1297,7 +1297,7 @@@@ __option_is_short (__const struct argp_o @