summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Goller <morfic@gentoo.org>2004-09-15 20:57:08 +0000
committerDaniel Goller <morfic@gentoo.org>2004-09-15 20:57:08 +0000
commit1148af0e49f949665a6414fee44b24d4ffbe4f9b (patch)
treeeaf6cb5ec236fd94d7b6ab5ea4ae569d5e39d45b /dev-util/lincvs
parent2004.3 PPC udev-enabled cascading profile (diff)
downloadhistorical-1148af0e49f949665a6414fee44b24d4ffbe4f9b.tar.gz
historical-1148af0e49f949665a6414fee44b24d4ffbe4f9b.tar.bz2
historical-1148af0e49f949665a6414fee44b24d4ffbe4f9b.zip
applying fix for gcc3.4 closing bug #63957
Diffstat (limited to 'dev-util/lincvs')
-rw-r--r--dev-util/lincvs/ChangeLog6
-rw-r--r--dev-util/lincvs/Manifest5
-rw-r--r--dev-util/lincvs/files/lincvs-1.3.2-gcc34.patch26
-rw-r--r--dev-util/lincvs/lincvs-1.3.2.ebuild16
4 files changed, 48 insertions, 5 deletions
diff --git a/dev-util/lincvs/ChangeLog b/dev-util/lincvs/ChangeLog
index 1b65b481eb49..82d5cfbde454 100644
--- a/dev-util/lincvs/ChangeLog
+++ b/dev-util/lincvs/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-util/lincvs
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/lincvs/ChangeLog,v 1.29 2004/07/11 12:43:32 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/lincvs/ChangeLog,v 1.30 2004/09/15 20:57:08 morfic Exp $
+
+ 15 Sep 2004; Daniel Goller <morfic@gentoo.org>
+ +files/lincvs-1.3.2-gcc34.patch, lincvs-1.3.2.ebuild:
+ closing bug# 63957, applying patch conditionally, thanks to Halcy0n
11 Jul 2004; Carsten Lohrke <carlo@gentoo.org> lincvs-1.3.2.ebuild:
stable on x86
diff --git a/dev-util/lincvs/Manifest b/dev-util/lincvs/Manifest
index edd5f3ecea39..96b1e78b9b65 100644
--- a/dev-util/lincvs/Manifest
+++ b/dev-util/lincvs/Manifest
@@ -1,10 +1,11 @@
MD5 028e8901facb6e4b743903dd31e90cdb lincvs-1.2.0.ebuild 951
-MD5 49a307ad9e1dd58b6e0fcafd531ceef7 lincvs-1.3.2.ebuild 1419
+MD5 3dcb04a859a9fbfa361e1190b0709de8 lincvs-1.3.2.ebuild 1666
MD5 d7cb867001b54c3df092d848a5a60b10 lincvs-1.3.0_rc2.ebuild 1261
-MD5 6d063def99e2b7c23aa86a9f6d28e88a ChangeLog 3739
+MD5 ddfb21f1d25e65c552913ae2daa69002 ChangeLog 3916
MD5 70f06600556327dcfbc31fa03f610042 metadata.xml 155
MD5 6548c89fda940ed98aae69370f37c5b9 files/digest-lincvs-1.2.0 75
MD5 386b6387ba8b396b7862c4cdeb58c9d9 files/digest-lincvs-1.3.2 75
MD5 21358281120dd866625175241a88de6c files/lincvs-1.3.0-rc2-gentoo.diff 429
MD5 f1392ef14eaf8815385b711153cdd344 files/digest-lincvs-1.3.0_rc2 77
MD5 21358281120dd866625175241a88de6c files/lincvs-1.2.0-gentoo.diff 429
+MD5 fa505a517a3ef27fd36d75998af88e41 files/lincvs-1.3.2-gcc34.patch 1190
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;
+ }
diff --git a/dev-util/lincvs/lincvs-1.3.2.ebuild b/dev-util/lincvs/lincvs-1.3.2.ebuild
index cdc03dd0cd29..9d3dc88f7aca 100644
--- a/dev-util/lincvs/lincvs-1.3.2.ebuild
+++ b/dev-util/lincvs/lincvs-1.3.2.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/lincvs/lincvs-1.3.2.ebuild,v 1.3 2004/07/11 12:43:32 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/lincvs/lincvs-1.3.2.ebuild,v 1.4 2004/09/15 20:57:08 morfic Exp $
-inherit kde-functions
+inherit kde-functions eutils gcc
IUSE="kde"
@@ -22,6 +22,18 @@ RDEPEND="${DEPEND}
need-qt 3
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+
+ #apply both patches to compile with gcc-3.4.0 closing bug #63957
+ if [ "`gcc-major-version`" -ge "3" -a "`gcc-minor-version`" -ge "4" ]
+ then
+ epatch ${FILESDIR}/lincvs-${PV}-gcc34.patch
+ fi
+}
+
src_compile() {
qmake -o Makefile lincvs.pro
sed -e "s/^\tstrip/#\tstrip/" -i Makefile