freebsd-ports/audio/vorbis-tools/files/patch-share_charset.c
Christian Weisgerber b1a42e0611 Give encoding of metadata to/from UTF-8 a fighting chance.
Dug up by Heino Tiedemann <rotkap@GMX.de> who kept going on and on
about this on various mailing lists without ever bothering to contact
the maintainer.

Obtained from:	upstream CVS
2006-07-09 20:59:24 +00:00

16 lines
267 B
C

$FreeBSD$
--- share/charset.c.orig
+++ share/charset.c
@@ -27,6 +27,10 @@
* 8-bit char, 16-bit short and 32-bit int.
*/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#ifndef HAVE_ICONV /* should be ifdef USE_CHARSET_CONVERT */
#include <stdlib.h>