From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Apr 29 01:00:35 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7185916A406 for ; Sat, 29 Apr 2006 01:00:35 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CD9C43D48 for ; Sat, 29 Apr 2006 01:00:34 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k3T10Y7r095076 for ; Sat, 29 Apr 2006 01:00:34 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k3T10YmU095075; Sat, 29 Apr 2006 01:00:34 GMT (envelope-from gnats) Resent-Date: Sat, 29 Apr 2006 01:00:34 GMT Resent-Message-Id: <200604290100.k3T10YmU095075@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Takamichi Tateoka Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1658E16A402 for ; Sat, 29 Apr 2006 00:51:57 +0000 (UTC) (envelope-from tate@tateoka.org) Received: from leaf.mobile.tateoka.org (nat.tateoka.org [210.196.145.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id C479A43D45 for ; Sat, 29 Apr 2006 00:51:55 +0000 (GMT) (envelope-from tate@tateoka.org) Received: by leaf.mobile.tateoka.org (Postfix, from userid 9623) id EA760424FD5; Sat, 29 Apr 2006 09:51:47 +0900 (JST) Message-Id: <20060429005147.EA760424FD5@leaf.mobile.tateoka.org> Date: Sat, 29 Apr 2006 09:51:47 +0900 (JST) From: Takamichi Tateoka To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/96492: ports/textproc/libxml2 compiling error X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Takamichi Tateoka List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Apr 2006 01:00:35 -0000 >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@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: