php5-readline-5.2.10 patch compile error
Andrea 'simplex' Zulato
simplex at twopenguins.it
Thu Jun 25 14:17:37 UTC 2009
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
More information about the freebsd-ports
mailing list