ulsan1635 / php52-backports

Automatically exported from code.google.com/p/php52-backports
Other
0 stars 0 forks source link

Include patch for pcre_info deprecation #33

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I have trouble building PHP-5.2.17 including the patches on this site on a 
modern system with libpcre-8.33:
php_pcre.c: undefined reference to `pcre_info'

The build problem is the exact same as described in PHP bug #60986
https://bugs.php.net/bug.php?id=60986

The reason is described in the referenced bug, pcre_info() was deprecated a 
very long time ago and has been removed in libpcre-8.30

The attached patch fixes the problem, it is taken straight from upstream SVN 
for the 5.3 branch:
http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/pcre/php_pcre.c?r1=32
1634&r2=323097&pathrev=323097

Original issue reported on code.google.com by joakim.g...@jge.se on 11 Sep 2013 at 7:46

Attachments:

GoogleCodeExporter commented 8 years ago
Patch is not complete, complete (i'm using it for a long time) attached.

Original comment by romans.h...@gmail.com on 16 Sep 2013 at 1:11

Attachments: