summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/lincvs/files/lincvs-1.3.2-gcc34.patch')
-rw-r--r--dev-util/lincvs/files/lincvs-1.3.2-gcc34.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-util/lincvs/files/lincvs-1.3.2-gcc34.patch b/dev-util/lincvs/files/lincvs-1.3.2-gcc34.patch
new file mode 100644
index 000000000000..162fb1c411be
--- /dev/null
+++ b/dev-util/lincvs/files/lincvs-1.3.2-gcc34.patch
@@ -0,0 +1,26 @@
+diff -ur lincvs-1.3.2-orig/src/HistoryDialogImpl.cpp lincvs-1.3.2/src/HistoryDialogImpl.cpp
+--- lincvs-1.3.2-orig/src/HistoryDialogImpl.cpp 2004-09-13 21:43:43.004637569 -0400
++++ lincvs-1.3.2/src/HistoryDialogImpl.cpp 2004-09-13 21:52:53.844938240 -0400
+@@ -268,7 +268,8 @@
+ if (failed) return;
+ switch( cmd) {
+ case EDIT_REVISION_CMD: {
+- setPermission(QFile(tmpViewFileName),READABLE);//don't think you could change the file
++ QFile tmp(tmpViewFileName);
++ setPermission(tmp,READABLE);//don't think you could change the file
+ emit editFile(tmpViewFileName);
+ break;
+ }
+diff -ur lincvs-1.3.2-orig/src/LogDialogImpl.cpp lincvs-1.3.2/src/LogDialogImpl.cpp
+--- lincvs-1.3.2-orig/src/LogDialogImpl.cpp 2004-09-13 21:43:43.012637807 -0400
++++ lincvs-1.3.2/src/LogDialogImpl.cpp 2004-09-13 21:54:06.964101241 -0400
+@@ -806,7 +806,8 @@
+ break;
+ }
+ case EDIT_REVISION_CMD: {
+- setPermission(QFile(m_tmpDiffFileNameA),READABLE);//don't think you could change the file
++ QFile tmp(m_tmpDiffFileNameA);
++ setPermission(tmp,READABLE);//don't think you could change the file
+ emit editFile(m_tmpDiffFileNameA);
+ break;
+ }