FreeBSD Bugzilla – Attachment 144514 Details for
Bug 191736
[PATCH] devel/phpsh: Fix subprocess died with return code: 0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
phpsh-20110513.patch
phpsh-20110513.patch (text/plain), 1.77 KB, created by
Gasol Wu
on 2014-07-08 12:02:17 UTC
(
hide
)
Description:
phpsh-20110513.patch
Filename:
MIME Type:
Creator:
Gasol Wu
Created:
2014-07-08 12:02:17 UTC
Size:
1.77 KB
patch
obsolete
>diff -ruN /usr/ports/devel/phpsh/Makefile ./Makefile >--- /usr/ports/devel/phpsh/Makefile 2014-06-10 15:39:01.000000000 +0800 >+++ ./Makefile 2014-07-08 19:48:29.000000000 +0800 >@@ -3,7 +3,7 @@ > > PORTNAME= phpsh > PORTVERSION= 20110513 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= devel > MASTER_SITES= http://distfiles.pirateparty.in/%SUBDIR%/ \ > ${MASTER_SITE_LOCAL} >@@ -12,6 +12,8 @@ > MAINTAINER= ashish@FreeBSD.org > COMMENT= Interactive shell for PHP > >+LICENSE= BSD3CLAUSE >+ > USE_BZIP2= yes > USE_PYTHON= yes > USE_PYDISTUTILS= yes >@@ -24,7 +26,6 @@ > > PYDISTUTILS_PKGVERSION= 1.3 > >- > OPTIONS_DEFINE= PCNTL > PCNTL_DESC= Fork on every command (pcntl PHP extension) > >diff -ruN /usr/ports/devel/phpsh/files/patch-src____init__.py ./files/patch-src____init__.py >--- /usr/ports/devel/phpsh/files/patch-src____init__.py 1970-01-01 08:00:00.000000000 +0800 >+++ ./files/patch-src____init__.py 2014-07-08 19:29:52.000000000 +0800 >@@ -0,0 +1,11 @@ >+--- ./src/__init__.py.orig 2014-07-08 19:24:25.000000000 +0800 >++++ ./src/__init__.py 2014-07-08 19:24:45.000000000 +0800 >+@@ -758,7 +758,7 @@ >+ ret_code = self.p.poll() >+ if debug: >+ print "ret_code: " + str(ret_code) >+- if ret_code != None: >++ if ret_code not in (None, 0): >+ if debug: >+ print "NOOOOO" >+ print "subprocess died with return code: " + repr(ret_code) >diff -ruN /usr/ports/devel/phpsh/pkg-descr ./pkg-descr >--- /usr/ports/devel/phpsh/pkg-descr 2014-01-22 23:44:51.000000000 +0800 >+++ ./pkg-descr 2014-07-08 19:37:38.000000000 +0800 >@@ -4,4 +4,4 @@ > in python. It is open source and released under a modified > BSD license. > >-WWW: http://phpsh.org/ >+WWW: http://phpsh.org/ >--- phpsh-20110513.patch ends here ---
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 191736
: 144514