summaryrefslogtreecommitdiff
path: root/textproc/libxml2
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2006-04-29 01:28:51 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2006-04-29 01:28:51 +0000
commitda1d3c43469ae8c9c0d6157b837da969111d1ffb (patch)
tree0c387aa2a91f490cb364073b2fbe45703e5d5b01 /textproc/libxml2
parentWhitespace fix for portlint. (diff)
Fix build on 4.X.
PR: 96492 Submitted by: Takamichi Tateoka <tate@tateoka.org>
Notes
Notes: svn path=/head/; revision=160710
Diffstat (limited to 'textproc/libxml2')
-rw-r--r--textproc/libxml2/files/patch-xmlIO.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/textproc/libxml2/files/patch-xmlIO.c b/textproc/libxml2/files/patch-xmlIO.c
new file mode 100644
index 000000000000..b443843974d1
--- /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 */
+