From owner-freebsd-ports@FreeBSD.ORG Sun Oct 10 15:30:41 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72DC716A4CE for ; Sun, 10 Oct 2004 15:30:41 +0000 (GMT) Received: from graf.pompo.net (graf.pompo.net [81.56.186.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF20543D39 for ; Sun, 10 Oct 2004 15:30:38 +0000 (GMT) (envelope-from thierry@pompo.net) Received: by graf.pompo.net (Postfix, from userid 1001) id F01367640; Sun, 10 Oct 2004 17:30:13 +0200 (CEST) Date: Sun, 10 Oct 2004 17:30:13 +0200 From: Thierry Thomas To: Gerard Samuel Message-ID: <20041010153013.GF7506@graf.pompo.net> Mail-Followup-To: Gerard Samuel , fbsd-ports References: <416948F9.2070400@trini0.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <416948F9.2070400@trini0.org> X-Face: (hRbQnK~Pt7$ct`!fupO(`y_WL4^-Iwn4@ly-.,[4xC4xc; y=\ipKMNm<1J>lv@PP~7Z<.t KjAnXLs: User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 4.10-STABLE i386 Organization: Kabbale Eros X-PGP: 0xC71405A2 cc: fbsd-ports Subject: Re: FreeBSD Port: pear-apd-1.0 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Oct 2004 15:30:41 -0000 Le Dim 10 oct 04 à 16:36:41 +0200, Gerard Samuel écrivait : > It is currently marked broken, but doesn't say why (besides that it > doesnt compile). > I modified the port to the latest version (1.0.1), and its compiling > correctly on FreeBSD 5.2.1-RELEASE-p9 > > Could anyone with a different version than mine try this patch, to > see if it really does compile, so that I can send in a PR. Thanks for your notification! It is OK on FreeBSD-5.3, but it fails on 4.10-STABLE with the following message: ===> Building for pear-apd-1.0.1 /bin/sh /usr/local/bin/libtool13 --mode=compile cc -I. -I/usr/ports/devel/pear-apd/work/apd-1.0.1 -DPHP_ATOM_INC -I/usr/ports/devel/pear-apd/work/apd-1.0.1/include -I/usr/ports/devel/pear-apd/work/apd-1.0.1/main -I/usr/ports/devel/pear-apd/work/apd-1.0.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM -DHAVE_CONFIG_H -O -pipe -march=pentiumpro -prefer-pic -c /usr/ports/devel/pear-apd/work/apd-1.0.1/php_apd.c -o php_apd.lo mkdir .libs cc -I. -I/usr/ports/devel/pear-apd/work/apd-1.0.1 -DPHP_ATOM_INC -I/usr/ports/devel/pear-apd/work/apd-1.0.1/include -I/usr/ports/devel/pear-apd/work/apd-1.0.1/main -I/usr/ports/devel/pear-apd/work/apd-1.0.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM -DHAVE_CONFIG_H -O -pipe -march=pentiumpro -prefer-pic -c /usr/ports/devel/pear-apd/work/apd-1.0.1/php_apd.c -fPIC -DPIC -o .libs/php_apd.lo cc: unrecognized option `-prefer-pic' /usr/ports/devel/pear-apd/work/apd-1.0.1/php_apd.c: In function `apd_get_active_function_name': /usr/ports/devel/pear-apd/work/apd-1.0.1/php_apd.c:305: invalid operands to binary != /usr/ports/devel/pear-apd/work/apd-1.0.1/php_apd.c:306: invalid type argument of `unary *' /usr/ports/devel/pear-apd/work/apd-1.0.1/php_apd.c:312: structure has no member named `scope' /usr/ports/devel/pear-apd/work/apd-1.0.1/php_apd.c:313: structure has no member named `scope' /usr/ports/devel/pear-apd/work/apd-1.0.1/php_apd.c: At top level: /usr/ports/devel/pear-apd/work/apd-1.0.1/php_apd.c:470: `OnUpdateLong' undeclared here (not in a function) /usr/ports/devel/pear-apd/work/apd-1.0.1/php_apd.c:470: initializer element is not constant /usr/ports/devel/pear-apd/work/apd-1.0.1/php_apd.c:470: (near initialization for `ini_entries[1].on_modify') Best regards, -- Th. Thomas.