Skip to content
Browse files

OS-2658 wget spews incorrect errors about iconv

  • Loading branch information...
1 parent 0c4cf9a commit 9e258514cd0400887c34998e33fe819078a60791 @wesolows wesolows committed Dec 12, 2013
Showing with 13 additions and 0 deletions.
  1. +2 −0 libidn/Makefile
  2. +11 −0 libidn/Patches/iconv-stfu.diff
View
2 libidn/Makefile
@@ -31,6 +31,8 @@ CFLAGS += -g
AUTOCONF_ENV += \
INSTALL="/usr/ucb/install -c"
+PATCHES = Patches/*
+
include ../Makefile.targ
all: all_autoconf
View
11 libidn/Patches/iconv-stfu.diff
@@ -0,0 +1,11 @@
+--- libidn-1.11/lib/toutf8.c.orig Thu Dec 12 01:55:35 2013
++++ libidn-1.11/lib/toutf8.c Thu Dec 12 01:55:42 2013
+@@ -114,8 +114,6 @@
+ return str_iconv (str, from_codeset, to_codeset);
+ #else
+ char *p;
+- fprintf (stderr, "libidn: warning: libiconv not installed, cannot "
+- "convert data to UTF-8\n");
+ p = malloc (strlen (str) + 1);
+ if (!p)
+ return NULL;

0 comments on commit 9e25851

Please sign in to comment.
Something went wrong with that request. Please try again.