Commit Graph
1 Commits
Author SHA1 Message Date
chrisandClaude Opus 5.5 9ca1942a50 mod_php_install.sh: fix PHP 8.1.34 build after applying security patches.
The patches change sources of generated files (Zend/zend_vm_def.h,
*.re) together with the generated files. Patching left the sources
newer, so make re-ran zend_vm_gen.php with the host's php binary,
producing a broken Zend/zend_vm_opcodes.h ("operator '==' has no left
operand"). Touch the generated files after patching so they are taken
as up to date.

sury-9 changes pdo_sql_parser.re and url_scanner_ex.re without the
generated *.c files, so these fixes needed re2c to be built. Add
php-8.1.34-sury-9-re2c-generated.patch, which applies the same changes
to the generated *.c files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 13:00:40 +01:00