Bug#656483: patch for #656483

2012-01-22 Thread Uwe Steinmann
On Sat, Jan 21, 2012 at 03:18:46PM +0200, Lior Kaplan wrote:
 tag 656483 patch
 thanks
 
 The following patch fixes the php 5.4 build
 (already applied upstream two years ago at
 http://svn.php.net/viewvc/pecl/ps/trunk/ps.c?r1=256493r2=297236 but no new
 upstream release since)
 
 I can NMU if needed.
Thanks for the offer, but I will do the upload myself.

  Uwe


signature.asc
Description: Digital signature


Bug#656483: patch for #656483

2012-01-21 Thread Lior Kaplan
tag 656483 patch
thanks

The following patch fixes the php 5.4 build
(already applied upstream two years ago at
http://svn.php.net/viewvc/pecl/ps/trunk/ps.c?r1=256493r2=297236 but no new
upstream release since)

I can NMU if needed.

Kaplan

--- php-ps-1.3.6.orig/ps-1.3.6/ps.c
+++ php-ps-1.3.6/ps-1.3.6/ps.c
@@ -55,7 +55,7 @@

 /* {{{ ps_functions[]
  */
-function_entry ps_functions[] = {
+zend_function_entry ps_functions[] = {
PHP_FE(ps_new, NULL)
PHP_FE(ps_delete, NULL)
PHP_FE(ps_open_file, NULL)