mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
Fix build on 4.X.
PR: 96492 Submitted by: Takamichi Tateoka <tate@tateoka.org>
This commit is contained in:
parent
59825e0c59
commit
da1d3c4346
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=160710
18
textproc/libxml2/files/patch-xmlIO.c
Normal file
18
textproc/libxml2/files/patch-xmlIO.c
Normal file
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user