View | Details | Raw Unified | Return to bug 200452 | Differences between
and this patch

Collapse All | Expand All

(-)./Makefile (-3 / +3 lines)
Lines 3-12 Link Here
3
3
4
PORTNAME=	Net_Gearman
4
PORTNAME=	Net_Gearman
5
PORTVERSION=	0.2.3
5
PORTVERSION=	0.2.3
6
PORTREVISION=	1
6
PORTREVISION=	2
7
CATEGORIES=	devel pear
7
CATEGORIES=	devel pear
8
8
9
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	gasol.wu@gmail.com
10
COMMENT=	Gearman client libraray for PHP
10
COMMENT=	Gearman client libraray for PHP
11
11
12
LICENSE=	BSD2CLAUSE
12
LICENSE=	BSD2CLAUSE
Lines 15-20 Link Here
15
RUN_DEPENDS=	${LOCALBASE}/share/pear/PEAR.php:${PORTSDIR}/devel/pear
15
RUN_DEPENDS=	${LOCALBASE}/share/pear/PEAR.php:${PORTSDIR}/devel/pear
16
16
17
USE_PHP=	json mbstring
17
USE_PHP=	json mbstring
18
USES=	pear
18
USES=		pear
19
19
20
.include <bsd.port.mk>
20
.include <bsd.port.mk>
(-)./files/patch-Net_Gearman_Task.php (+11 lines)
Line 0 Link Here
1
--- Net/Gearman/Task.php.orig	1970-01-01 09:13:08 UTC
2
+++ Net/Gearman/Task.php
3
@@ -144,7 +144,7 @@ class Net_Gearman_Task
4
      *
5
      * @var integer JOB_HIGH
6
      */
7
-    const JOB_HIGH = 2;
8
+    const JOB_HIGH = 3;
9
 
10
     /**
11
      * Callback of type complete
(-)./files/patch-Net__Gearman__Client.php (-4 / +4 lines)
Lines 1-6 Link Here
1
--- ./Net/Gearman/Client.php.orig	2013-03-13 17:50:59.000000000 +0800
1
--- Net/Gearman/Client.php.orig	1970-01-01 09:13:08 UTC
2
+++ ./Net/Gearman/Client.php	2013-03-13 17:51:18.000000000 +0800
2
+++ Net/Gearman/Client.php
3
@@ -166,11 +166,11 @@
3
@@ -166,11 +166,11 @@ class Net_Gearman_Client
4
         $s = $this->getConnection();
4
         $s = $this->getConnection();
5
         Net_Gearman_Connection::send($s, $type, $params);
5
         Net_Gearman_Connection::send($s, $type, $params);
6
 
6
 
Lines 15-21 Link Here
15
     }
15
     }
16
 
16
 
17
     /**
17
     /**
18
@@ -244,7 +244,7 @@
18
@@ -244,7 +244,7 @@ class Net_Gearman_Client
19
             $task->fail();
19
             $task->fail();
20
             break;
20
             break;
21
         case 'job_created':
21
         case 'job_created':

Return to bug 200452