SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
30
devel/libidn2/patches/patch-src_idn2_c
Normal file
30
devel/libidn2/patches/patch-src_idn2_c
Normal file
|
@ -0,0 +1,30 @@
|
|||
Index: src/idn2.c
|
||||
--- src/idn2.c.orig
|
||||
+++ src/idn2.c
|
||||
@@ -33,7 +33,7 @@
|
||||
#include <unistring/localcharset.h>
|
||||
|
||||
/* Gnulib headers. */
|
||||
-#include "error.h"
|
||||
+#include "err.h"
|
||||
#include "gettext.h"
|
||||
#define _(String) dgettext (PACKAGE, String)
|
||||
#include "progname.h"
|
||||
@@ -182,7 +182,7 @@ process_input (char *readbuf, int flags)
|
||||
free (output);
|
||||
}
|
||||
else
|
||||
- error (EXIT_FAILURE, 0, "%s: %s", tag, idn2_strerror (rc));
|
||||
+ errc (EXIT_FAILURE, 0, "%s: %s", tag, idn2_strerror (rc));
|
||||
}
|
||||
|
||||
int
|
||||
@@ -249,7 +249,7 @@ main (int argc, char *argv[])
|
||||
}
|
||||
|
||||
if (ferror (stdin))
|
||||
- error (EXIT_FAILURE, errno, "%s", _("input error"));
|
||||
+ errc (EXIT_FAILURE, errno, "%s", _("input error"));
|
||||
|
||||
cmdline_parser_free (&args_info);
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue