packages: php/php.spec - require pcre version at runtime it was compiled wi...

glen glen at pld-linux.org
Tue Mar 29 13:03:39 CEST 2011


Author: glen                         Date: Tue Mar 29 11:03:38 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- require pcre version at runtime it was compiled with, or strange errors occour:
  PHP Warning:  preg_match_all(): Compilation failed: unknown option bit(s) set at offset 0
  for '/./u' (PCRE8) modifier
  noticed at least with pcre-8.12 vs pcre-8.02

---- Files affected:
packages/php:
   php.spec (1.927 -> 1.928) 

---- Diffs:

================================================================
Index: packages/php/php.spec
diff -u packages/php/php.spec:1.927 packages/php/php.spec:1.928
--- packages/php/php.spec:1.927	Thu Mar 24 20:44:30 2011
+++ packages/php/php.spec	Tue Mar 29 13:03:33 2011
@@ -103,7 +103,7 @@
 %undefine	with_filter
 %endif
 
-%define		rel	1
+%define		rel	2
 Summary:	PHP: Hypertext Preprocessor
 Summary(fr.UTF-8):	Le langage de script embarque-HTML PHP
 Summary(pl.UTF-8):	Język skryptowy PHP
@@ -480,6 +480,7 @@
 Provides:	php5(debug) = %{php_debug}
 Provides:	php5(thread-safety) = %{zend_zts}
 %{!?with_mysqlnd:Obsoletes:	php-mysqlnd}
+%{?with_pcre:%requires_eq	pcre}
 Obsoletes:	php-pecl-domxml
 Conflicts:	php4-common < 3:4.4.4-8
 Conflicts:	rpm < 4.4.2-0.2
@@ -3166,6 +3167,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.928  2011/03/29 11:03:33  glen
+- require pcre version at runtime it was compiled with, or strange errors occour:
+  PHP Warning:  preg_match_all(): Compilation failed: unknown option bit(s) set at offset 0
+  for '/./u' (PCRE8) modifier
+  noticed at least with pcre-8.12 vs pcre-8.02
+
 Revision 1.927  2011/03/24 19:44:30  arekm
 - rel 1; suhosin from cooker
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php/php.spec?r1=1.927&r2=1.928&f=u



More information about the pld-cvs-commit mailing list