python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / libidn2 / fix-error-darwin.patch
blobe2202abd947c4bd2bb79456c826f039b479f352e
1 diff --git a/src/idn2.c b/src/idn2.c
2 index 6abbc72..804f0f2 100644
3 --- a/src/idn2.c
4 +++ b/src/idn2.c
5 @@ -31,7 +31,6 @@
6 #include <unistr.h>
8 /* Gnulib headers. */
9 -#include "error.h"
10 #include "gettext.h"
11 #define _(String) dgettext (PACKAGE, String)
12 #include "progname.h"
13 @@ -222,7 +219,7 @@ main (int argc, char *argv[])
16 if (ferror (stdin))
17 - error (EXIT_FAILURE, errno, "%s", _("input error"));
18 + perror (_("input error"));
20 cmdline_parser_free (&args_info);