summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2002-07-25 02:57:06 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2002-07-25 02:57:06 +0000
commit48ba2feb36e90341655070226e0ab50ee1d321f4 (patch)
tree01c764767634e6df433a1916180d011ae324031c /dev-util/gcvs
parentSLOT KEYWORDS and LICENSE (diff)
downloadgentoo-2-48ba2feb36e90341655070226e0ab50ee1d321f4.tar.gz
gentoo-2-48ba2feb36e90341655070226e0ab50ee1d321f4.tar.bz2
gentoo-2-48ba2feb36e90341655070226e0ab50ee1d321f4.zip
fix for gcc3.1
Diffstat (limited to 'dev-util/gcvs')
-rw-r--r--dev-util/gcvs/ChangeLog10
-rw-r--r--dev-util/gcvs/files/digest-gcvs-1.0_beta3-r11
-rw-r--r--dev-util/gcvs/files/gcvs-1.0b3-gcc3-gentoo.patch12
-rw-r--r--dev-util/gcvs/gcvs-1.0_beta3-r1.ebuild61
4 files changed, 83 insertions, 1 deletions
diff --git a/dev-util/gcvs/ChangeLog b/dev-util/gcvs/ChangeLog
index 303870d5843e..4e1dae525927 100644
--- a/dev-util/gcvs/ChangeLog
+++ b/dev-util/gcvs/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-util/gcvs
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-util/gcvs/ChangeLog,v 1.1 2002/06/22 08:55:38 rphillips Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/gcvs/ChangeLog,v 1.2 2002/07/25 02:57:06 mkennedy Exp $
+
+*gcvs-1.0_beta3-r1 (24 Jul 2002)
+
+ 24 Jul 2002; Matthew Kennedy <mkennedy@gentoo.org> ChangeLog,
+ gcvs-1.0_beta3-r1.ebuild, files/digest-gcvs-1.0_beta3,
+ files/gcvs-1.0b3-gcc3-gentoo.patch :
+
+ Fix for gcc3.1 (patch sent upstream).
*gcvs-1.0_beta3 (22 Jun 2002)
diff --git a/dev-util/gcvs/files/digest-gcvs-1.0_beta3-r1 b/dev-util/gcvs/files/digest-gcvs-1.0_beta3-r1
new file mode 100644
index 000000000000..3e0e37a5cf19
--- /dev/null
+++ b/dev-util/gcvs/files/digest-gcvs-1.0_beta3-r1
@@ -0,0 +1 @@
+MD5 997af3526601b45c178134dff56f888a gcvs-1.0b3.tar.gz 2548254
diff --git a/dev-util/gcvs/files/gcvs-1.0b3-gcc3-gentoo.patch b/dev-util/gcvs/files/gcvs-1.0b3-gcc3-gentoo.patch
new file mode 100644
index 000000000000..f15864e2bef4
--- /dev/null
+++ b/dev-util/gcvs/files/gcvs-1.0b3-gcc3-gentoo.patch
@@ -0,0 +1,12 @@
+diff -ur gcvs-1.0b3.orig/common/UCvsFolders.cpp gcvs-1.0b3/common/UCvsFolders.cpp
+--- gcvs-1.0b3.orig/common/UCvsFolders.cpp 2002-01-03 02:29:18.000000000 -0600
++++ gcvs-1.0b3/common/UCvsFolders.cpp 2002-07-24 20:52:19.000000000 -0500
+@@ -865,7 +865,7 @@
+ } while(item != 0L);
+ }
+
+-void UCvsFolders::DeleteAllItems(UTREEITEM root = 0L)
++void UCvsFolders::DeleteAllItems(UTREEITEM root)
+ {
+ // we don't want the file view to be notified when things get deleted
+ CTempToggleBool toggler(sTemporaryTurnOffNotify);
diff --git a/dev-util/gcvs/gcvs-1.0_beta3-r1.ebuild b/dev-util/gcvs/gcvs-1.0_beta3-r1.ebuild
new file mode 100644
index 000000000000..3941cc5d6616
--- /dev/null
+++ b/dev-util/gcvs/gcvs-1.0_beta3-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/dev-util/gcvs/gcvs-1.0_beta3-r1.ebuild,v 1.1 2002/07/25 02:57:06 mkennedy Exp $
+
+MY_P=${P/eta/}
+MY_P=${MY_P/_/}
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="GUI frontend for CVS from the CVSGUI project"
+SRC_URI="mirror://sourceforge/cvsgui/${MY_P}.tar.gz"
+HOMEPAGE="http://cvsgui.sourceforge.net/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86"
+
+DEPEND="=x11-libs/gtk+-1.2*
+ >=dev-lang/tcl-8.3.3
+ sys-devel/perl
+ sys-devel/bison
+ gnome-extra/libglademm"
+
+RDEPEND="${DEPEND}
+ >=dev-util/cvs-1.11-r1"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ patch -p1 <${FILESDIR}/gcvs-1.0b3-gcc3-gentoo.patch || die
+}
+
+src_compile() {
+
+ ./make_configure || die
+ ./configure --prefix=/usr --host=${CHOST} || die
+
+ # Ladies and Gentlemen... The following is pure evil...
+ export HOME=${S}
+ # Yes, thats right... the build process ends up trying to create
+ # something in root's home directory... why? they use glade,
+ # a full blown gnome gui application to generate source code...
+
+ # more evil... without this it builds its own copy of cvs
+ # which of course installs itself on top of the real cvs package
+ mv Makefile Makefile.old
+ sed 's|cvsunix||g' Makefile.old > Makefile
+
+ emake all || die
+
+}
+
+src_install () {
+
+ make prefix=${D}/usr install
+
+ # note: html docs ignored because they focus on the mac and windows
+ # version and seem to be of questionable use with gcvs
+
+ dodoc AUTHORS COPYING ChangeLog INSTALL README
+
+
+}