I've tried building current PHP (5.3.1) with suhosin-patch.
This fails with
checking for libedit readline replacement... yes
configure: error: Please reinstall libedit - I cannot find readline.h
I figured out that the php-5.3.0-libedit.patch patches config.m4 and changes
{/usr/local,/usr}/include/readline/readline.h
into
{/usr/local,/usr}/include/editline/readline.h
The suhosin-patch patches ./configure directly but seems to also patch
the according m4-files.
If I've got i right
./buildconf --force
is called during the build to recreate ./configure to apply the patches
made to the m4-files.
It seems as if ./configure is only being recreated for sure, if it
doesn't exist when buildconf is called.
Can someone confirm that and if so wouldn't the spec-file then needed to
be adjusted?
If you delete ./configure before calling ./buildconf PHP builds fine
with the suhosin-patch.
I have changed the following
# Regenerate configure scripts (patches change config.m4's)
./buildconf --force
into
# Regenerate configure scripts (patches change config.m4's)
rm configure
./buildconf --force
in the spec-file.
Can someone confirm that this wouldn't affect anything else and could so
be applied to the current spec-file?
Thanks!
Greets,
Tim
--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list