From 67fca09bdaae04f74b10bfe264520f8193cce030 Mon Sep 17 00:00:00 2001 From: marcus Date: Sat, 29 Apr 2006 01:28:51 +0000 Subject: Fix build on 4.X. PR: 96492 Submitted by: Takamichi Tateoka --- textproc/libxml2/files/patch-xmlIO.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 textproc/libxml2/files/patch-xmlIO.c (limited to 'textproc') diff --git a/textproc/libxml2/files/patch-xmlIO.c b/textproc/libxml2/files/patch-xmlIO.c new file mode 100644 index 00000000000..b443843974d --- /dev/null +++ b/textproc/libxml2/files/patch-xmlIO.c @@ -0,0 +1,18 @@ +--- xmlIO.c.orig Thu Apr 27 08:13:42 2006 ++++ xmlIO.c Sat Apr 29 01:27:45 2006 +@@ -616,6 +616,7 @@ xmlCheckFilename (const char *path) + } + #else + #ifdef HAVE_STAT ++ { + struct stat stat_buffer; + + if (stat(path, &stat_buffer) == -1) +@@ -625,6 +626,7 @@ xmlCheckFilename (const char *path) + if (S_ISDIR(stat_buffer.st_mode)) + return 2; + #endif /* S_ISDIR */ ++ } + #endif /* HAVE_STAT */ + #endif /* WIN32 */ + -- cgit