From owner-freebsd-ports@FreeBSD.ORG Thu Jun 25 14:17:37 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7464D1065673 for ; Thu, 25 Jun 2009 14:17:37 +0000 (UTC) (envelope-from simplex@twopenguins.it) Received: from hazard.twopenguins.it (twopenguins.it [85.17.138.23]) by mx1.freebsd.org (Postfix) with ESMTP id 3E3C18FC16 for ; Thu, 25 Jun 2009 14:17:36 +0000 (UTC) (envelope-from simplex@twopenguins.it) Received: from [192.168.15.3] (host81-186-dynamic.25-79-r.retail.telecomitalia.it [79.25.186.81]) by hazard.twopenguins.it (Postfix) with ESMTPSA id EDB6D405670 for ; Thu, 25 Jun 2009 16:17:34 +0200 (CEST) Message-ID: <4A43870E.6070708@twopenguins.it> Date: Thu, 25 Jun 2009 16:17:50 +0200 From: Andrea 'simplex' Zulato User-Agent: Thunderbird 2.0.0.21 (X11/20090302) MIME-Version: 1.0 To: freebsd-ports@freebsd.org X-Enigmail-Version: 0.95.7 OpenPGP: id=F4657EF5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: php5-readline-5.2.10 patch compile error X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jun 2009 14:17:37 -0000 Hi, i've upgraded php to 5.2.10 with portupgrade, php5-readline-5.2.10 won't compile. Here's the error: ---> Upgrading 'php5-readline-5.2.9' to 'php5-readline-5.2.10' (devel/php5-readline) OK? [yes] ---> Build of devel/php5-readline started at: Thu, 25 Jun 2009 16:09:16 +0200 ---> Building '/usr/ports/devel/php5-readline' ===> Cleaning for php5-readline-5.2.10 ===> Extracting for php5-readline-5.2.10 => MD5 Checksum OK for php-5.2.10.tar.bz2. => SHA256 Checksum OK for php-5.2.10.tar.bz2. ===> Patching for php5-readline-5.2.10 ===> Applying FreeBSD patches for php5-readline-5.2.10 1 out of 3 hunks failed--saving rejects to config.m4.rej => Patch patch-config.m4 failed to apply cleanly. *** Error code 1 Stop in /usr/ports/devel/php5-readline. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20090625-75944-1w6ribe-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=php5-readline-5.2.9 UPGRADE_PORT_VER=5.2.9 make ** Fix the problem and try again. ---> Build of devel/php5-readline ended at: Thu, 25 Jun 2009 16:09:21 +0200 (consumed 00:00:05) ---> Upgrade of devel/php5-readline ended at: Thu, 25 Jun 2009 16:09:21 +0200 (consumed 00:00:31) And the config.m4.rej file: *************** *** 50,55 **** -L$READLINE_DIR/$PHP_LIBDIR $PHP_READLINE_LIBS ]) PHP_CHECK_LIBRARY(history, add_history, [ PHP_ADD_LIBRARY_WITH_PATH(history, $READLINE_DIR/$PHP_LIBDIR, READLINE_SHARED_LIBADD) --- 48,60 ---- -L$READLINE_DIR/$PHP_LIBDIR $PHP_READLINE_LIBS ]) + PHP_CHECK_LIBRARY(readline, rl_completion_matches, + [ + AC_DEFINE(HAVE_RL_COMPLETION_MATCHES, 1, [ ]) + ],[],[ + -L$READLINE_DIR/$PHP_LIBDIR $PHP_READLINE_LIBS + ]) + PHP_CHECK_LIBRARY(history, add_history, [ PHP_ADD_LIBRARY_WITH_PATH(history, $READLINE_DIR/$PHP_LIBDIR, READLINE_SHARED_LIBADD) I'm on a FreeBSD 7.2-RELEASE-p1 #0. Any clue? Thanks Andrea 'simplex' Zulato