I really did mean to add this file
This commit is contained in:
parent
5f19768387
commit
93df3b318b
21
multimedia/dvdauthor/patches/patch-src_readxml_c
Normal file
21
multimedia/dvdauthor/patches/patch-src_readxml_c
Normal file
@ -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 <locale.h>
|
||||
#endif
|
||||
|
||||
+#include <localcharset.h>
|
||||
+
|
||||
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) ) {
|
Loading…
Reference in New Issue
Block a user