diff --git a/multimedia/dvdauthor/patches/patch-src_readxml_c b/multimedia/dvdauthor/patches/patch-src_readxml_c new file mode 100644 index 00000000000..808313af0c0 --- /dev/null +++ b/multimedia/dvdauthor/patches/patch-src_readxml_c @@ -0,0 +1,21 @@ +$OpenBSD: patch-src_readxml_c,v 1.1 2005/12/08 06:07:02 jakemsr Exp $ +--- src/readxml.c.orig Mon Jan 31 18:26:19 2005 ++++ src/readxml.c Wed Dec 7 21:39:36 2005 +@@ -34,6 +34,8 @@ + #include + #endif + ++#include ++ + static const char RCSID[]="$Id: patch-src_readxml_c,v 1.1 2005/12/08 06:07:02 jakemsr Exp $"; + + int parser_err=0, parser_acceptbody=0; +@@ -207,7 +209,7 @@ static iconv_t get_conv() + } + } else + fprintf(stderr,"WARN: Error reading locale (%m), assuming C\n"); +- enc=nl_langinfo(CODESET); ++ enc=locale_charset(); + fprintf(stderr,"INFO: Converting filenames to %s\n",enc); + ic=iconv_open(enc,"UTF-8"); + if( ic==((iconv_t)-1) ) {