1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/argp/hotfix.patch
3 # Copyright (C) 2021 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- argp-standalone-1.3/argp-parse.c.vanilla 2021-10-07 18:33:04.934236620 +0200
15 +++ argp-standalone-1.3/argp-parse.c 2021-10-07 18:33:49.725239814 +0200
16 @@ -1277,13 +1277,13 @@
17 /* Defined here, in case a user is not inlining the definitions in
20 -__argp_usage (__const struct argp_state *__state) __THROW
21 +__argp_usage (__const struct argp_state *__state) // __THROW
23 __argp_state_help (__state, stderr, ARGP_HELP_STD_USAGE);
27 -__option_is_short (__const struct argp_option *__opt) __THROW
28 +__option_is_short (__const struct argp_option *__opt) // __THROW
30 if (__opt->flags & OPTION_DOC)
36 -__option_is_end (__const struct argp_option *__opt) __THROW
37 +__option_is_end (__const struct argp_option *__opt) // __THROW
39 return !__opt->key && !__opt->name && !__opt->doc && !__opt->group;