ports/96492: ports/textproc/libxml2 compiling error
Takamichi Tateoka
tate at tateoka.org
Sat Apr 29 01:00:35 UTC 2006
>Number: 96492
>Category: ports
>Synopsis: ports/textproc/libxml2 compiling error
>Confidential: no
>Severity: critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Apr 29 01:00:33 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Takamichi Tateoka
>Release: FreeBSD 4.11-RELEASE-p14 i386
>Organization:
tateoka.org
>Environment:
System: FreeBSD leaf 4.11-RELEASE-p14 FreeBSD 4.11-RELEASE-p14 #7: Fri Jan 13 21:30:18 JST 2006 tate at leaf:/usr/src/sys/compile/LEAF i386
ports tree cvsuped at Apr 29, 2006.
>Description:
ports/textproc/libxml2 makes error during make.
>How-To-Repeat:
cd /usr/ports/textproc/libxml2
make
.... [snip] ....
xmlIO.c: In function `xmlCheckFilename':
xmlIO.c:619: syntax error before `struct'
xmlIO.c:621: `stat_buffer' undeclared (first use in this function)
xmlIO.c:621: (Each undeclared identifier is reported only once
xmlIO.c:621: for each function it appears in.)
gmake[2]: *** [xmlIO.lo] Error 1
gmake[2]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.24'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/textproc/libxml2/work/libxml2-2.6.24'
gmake: *** [all] Error 2
*** Error code 2
>Fix:
*** xmlIO.c.DIST Sat Apr 29 09:44:16 2006
--- xmlIO.c Sat Apr 29 09:44:35 2006
***************
*** 616,621 ****
--- 616,622 ----
}
#else
#ifdef HAVE_STAT
+ {
struct stat stat_buffer;
if (stat(path, &stat_buffer) == -1)
***************
*** 625,630 ****
--- 626,632 ----
if (S_ISDIR(stat_buffer.st_mode))
return 2;
#endif /* S_ISDIR */
+ }
#endif /* HAVE_STAT */
#endif /* WIN32 */
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list