diff options
Diffstat (limited to 'dev-vcs/colorsvn/files/use-open2-not-open3.patch')
-rw-r--r-- | dev-vcs/colorsvn/files/use-open2-not-open3.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-vcs/colorsvn/files/use-open2-not-open3.patch b/dev-vcs/colorsvn/files/use-open2-not-open3.patch new file mode 100644 index 000000000000..cb295dc15878 --- /dev/null +++ b/dev-vcs/colorsvn/files/use-open2-not-open3.patch @@ -0,0 +1,24 @@ +This is idl0r's fix for bug 326279, rerolled for v0.3.3. + +diff --git a/colorsvn-original b/colorsvn-original +index 4236121..4edf3c8 100644 +--- a/colorsvn-original ++++ b/colorsvn-original +@@ -56,7 +56,7 @@ + # Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. + + use Term::ANSIColor; +-use IPC::Open3; ++use IPC::Open2; + + use strict; + use warnings; +@@ -332,7 +332,7 @@ if (! -t STDOUT || $commit == 1 || !$colortty{$terminal} || !$commresolved ) + + # Keep the pid of the svn process so we can get its return + # code and use that as our return code. +-my $svn_pid = open3('<&STDIN', \*SVNOUT, \*SVNOUT, $svnPath, @ARGV); ++my $svn_pid = open2(\*SVNOUT, '<&STDIN', $svnPath, @ARGV); + my $svnName = $svnPath; + $svnName =~ s,.*/(.*)$,$1,; + |