Annotation of pkgsrc/inputmethod/tomoe/patches/patch-aa, Revision 1.1
1.1 ! obache 1: $NetBSD$
! 2:
! 3: --- lib/tomoe-xml-parser.c.orig 2007-04-10 07:24:21.000000000 +0000
! 4: +++ lib/tomoe-xml-parser.c
! 5: @@ -22,4 +22,8 @@
! 6: */
! 7:
! 8: +#ifdef HAVE_CONFIG_H
! 9: +#include "config.h"
! 10: +#endif /* HAVE_CONFIG_H */
! 11: +
! 12: #include <stdio.h>
! 13: #include <errno.h>
! 14: @@ -442,5 +446,9 @@ _tomoe_xml_parser_parse_dictionary_file
! 15: if (!f) {
! 16: g_warning ("failed to open dictionary file %s: %s", filename,
! 17: +#ifdef HAVE_STRERROR
! 18: + strerror(errno));
! 19: +#else
! 20: sys_errlist[errno]);
! 21: +#endif
! 22: }
! 23: g_return_val_if_fail (f, FALSE);
CVSweb <webmaster@jp.NetBSD.org>