openbsd-ports/devel/lincvs/patches/patch-src_lincvs_cpp

29 lines
1.5 KiB
Plaintext

$OpenBSD: patch-src_lincvs_cpp,v 1.1 2004/06/25 04:22:16 naddy Exp $
--- src/lincvs.cpp.orig 2004-06-24 19:41:48.000000000 -0600
+++ src/lincvs.cpp 2004-06-24 19:45:42.000000000 -0600
@@ -586,7 +586,7 @@ void ApplicationWindow::checkOut()
usingSsh = true;
cvsRoot += repository;
command += "set-ssh-env.sh \"env CVS_RSH="
- + cvsRsh + " cvs -z" + COMPRESSION + " -d "
+ + cvsRsh + " cvs -z" + QString().setNum(COMPRESSION) + " -d "
+ cvsRoot + " co -P ";
if(!dlg->cvsParameter().isNull()) {
command += dlg->cvsParameter() + " ";
@@ -850,13 +850,13 @@ void ApplicationWindow::import()
if (m_curCommentFileName.length()) {
command += "set-ssh-env.sh \"env CVS_RSH="
- + cvsRsh + " cvs -z" + COMPRESSION + " -d "
+ + cvsRsh + " cvs -z" + QString().setNum(COMPRESSION) + " -d "
+ cvsRoot;
command += " import -F " + m_curCommentFileName + " ";
command += dlg->module() + " " + dlg->tag1() + " " + dlg->tag2() + "\"";
} else {//fallback to option -m
command += "set-ssh-commit-env.sh \"env CVS_RSH="
- + cvsRsh + " cvs -z" + COMPRESSION + " -d "
+ + cvsRsh + " cvs -z" + QString().setNum(COMPRESSION) + " -d "
+ cvsRoot;
command += " import -m\" ";
command += "\"" + dlg->comment() + "\" ";