FreeBSD Bugzilla – Attachment 132585 Details for
Bug 176914
[PATCH] devel/pear-Net_Gearman: [SUMMARIZE CHANGES]
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
pear-Net_Gearman-0.2.3_1.patch
pear-Net_Gearman-0.2.3_1.patch (text/plain), 2.02 KB, created by
Gasol Wu
on 2013-03-13 11:40:00 UTC
(
hide
)
Description:
pear-Net_Gearman-0.2.3_1.patch
Filename:
MIME Type:
Creator:
Gasol Wu
Created:
2013-03-13 11:40:00 UTC
Size:
2.02 KB
patch
obsolete
>diff -ruN /usr/ports/devel/pear-Net_Gearman/Makefile ./Makefile >--- /usr/ports/devel/pear-Net_Gearman/Makefile 2012-11-17 13:56:39.000000000 +0800 >+++ ./Makefile 2013-03-13 17:53:34.000000000 +0800 >@@ -1,12 +1,10 @@ >-# New ports collection makefile for: php-Net_Gearman >-# Date created: 2008-01-10 >-# Whom: Gea-Suan Lin <gslin@gslin.org> >-# >+# Created by: Gea-Suan Lin <gslin@gslin.org> > # $FreeBSD: ports/devel/pear-Net_Gearman/Makefile,v 1.8 2012/11/17 05:56:39 svnexp Exp $ > # > > PORTNAME= Net_Gearman > PORTVERSION= 0.2.3 >+PORTREVISION= 1 > CATEGORIES= devel pear > > MAINTAINER= gslin@gslin.org >diff -ruN /usr/ports/devel/pear-Net_Gearman/files/patch-Net__Gearman__Client.php ./files/patch-Net__Gearman__Client.php >--- /usr/ports/devel/pear-Net_Gearman/files/patch-Net__Gearman__Client.php 1970-01-01 08:00:00.000000000 +0800 >+++ ./files/patch-Net__Gearman__Client.php 2013-03-13 17:52:11.000000000 +0800 >@@ -0,0 +1,26 @@ >+--- ./Net/Gearman/Client.php.orig 2013-03-13 17:50:59.000000000 +0800 >++++ ./Net/Gearman/Client.php 2013-03-13 17:51:18.000000000 +0800 >+@@ -166,11 +166,11 @@ >+ $s = $this->getConnection(); >+ Net_Gearman_Connection::send($s, $type, $params); >+ >+- if (!is_array(Net_Gearman_Connection::$waiting[$s])) { >+- Net_Gearman_Connection::$waiting[$s] = array(); >++ if (!is_array(Net_Gearman_Connection::$waiting[(int) $s])) { >++ Net_Gearman_Connection::$waiting[(int) $s] = array(); >+ } >+ >+- array_push(Net_Gearman_Connection::$waiting[$s], $task); >++ array_push(Net_Gearman_Connection::$waiting[(int) $s], $task); >+ } >+ >+ /** >+@@ -244,7 +244,7 @@ >+ $task->fail(); >+ break; >+ case 'job_created': >+- $task = array_shift(Net_Gearman_Connection::$waiting[$s]); >++ $task = array_shift(Net_Gearman_Connection::$waiting[(int) $s]); >+ $task->handle = $resp['data']['handle']; >+ if ($task->type == Net_Gearman_Task::JOB_BACKGROUND) { >+ $task->finished = true;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 176914
: 132585