summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/gnomemm/ChangeLog6
-rw-r--r--dev-cpp/gnomemm/Manifest7
-rw-r--r--dev-cpp/gnomemm/files/gnomemm-1.2.3-gcc33.patch16
-rw-r--r--dev-cpp/gnomemm/gnomemm-1.2.3-r1.ebuild9
4 files changed, 33 insertions, 5 deletions
diff --git a/dev-cpp/gnomemm/ChangeLog b/dev-cpp/gnomemm/ChangeLog
index bf8ed4c05a3a..9b9b01891887 100644
--- a/dev-cpp/gnomemm/ChangeLog
+++ b/dev-cpp/gnomemm/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-cpp/gnomemm
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gnomemm/ChangeLog,v 1.4 2003/07/11 20:19:09 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gnomemm/ChangeLog,v 1.5 2003/09/17 21:19:24 liquidx Exp $
+
+ 17 Sep 2003; Alastair Tse <liquidx@gentoo.org> gnomemm-1.2.3-r1.ebuild,
+ files/gnomemm-1.2.3-gcc33.patch:
+ added patch to fix compile problems with gcc 3.3.x (#27061)
09 Jul 2003; Alastair Tse <liquidx@gentoo.org> gnomemm-1.2.3-r1.ebuild:
added gnome-libs dep
diff --git a/dev-cpp/gnomemm/Manifest b/dev-cpp/gnomemm/Manifest
index 60eab0860f9e..075d9601ad2e 100644
--- a/dev-cpp/gnomemm/Manifest
+++ b/dev-cpp/gnomemm/Manifest
@@ -1,5 +1,6 @@
+MD5 9eae0fcc763cdf30e14d0f2167b84eaa ChangeLog 2613
+MD5 fbcad0244843c1fa816af8383f811b7b gnomemm-1.2.3-r1.ebuild 967
+MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158
MD5 0fe93cc63be4d79a939a63b250d330c9 files/digest-gnomemm-1.2.3-r1 65
+MD5 c00c48d1761eff3e980ff2c34a46bd24 files/gnomemm-1.2.3-gcc33.patch 656
MD5 cf8799d03c3fffb48bd6f118cf84b869 files/gnomemm-1.2.3-gentoo.patch 512
-MD5 1b86e0cecfac348e82681ccfb8c3858d ChangeLog 2440
-MD5 8df7836a225b6bfb3a6e1e1d77c9d6b3 gnomemm-1.2.3-r1.ebuild 742
-MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158
diff --git a/dev-cpp/gnomemm/files/gnomemm-1.2.3-gcc33.patch b/dev-cpp/gnomemm/files/gnomemm-1.2.3-gcc33.patch
new file mode 100644
index 000000000000..5d00fe5f7dd7
--- /dev/null
+++ b/dev-cpp/gnomemm/files/gnomemm-1.2.3-gcc33.patch
@@ -0,0 +1,16 @@
+Index: src/gnome--/app-helper.h
+===================================================================
+RCS file: /cvs/gnome/gtk--/gnome--/gnome--/app-helper.h,v
+retrieving revision 1.25
+diff -u -r1.25 app-helper.h
+--- src/gnome--/app-helper.h 28 Jan 2003 18:40:27 -0000 1.25
++++ src/gnome--/app-helper.h 14 Sep 2003 07:52:13 -0000
+@@ -261,7 +261,7 @@
+ { return static_cast<T_Info&>(begin_[n]); }
+
+ GnomeUIInfo* gtkobj() const
+- { return static_cast<GnomeUIInfo*>(data_); }
++ { return (GnomeUIInfo*)(data_); }
+
+ vector<Info> make_return_vector(); //Used by get_uitree().
+ vector<SubTree> make_return_vector_subtrees(); //Used by Gnome::App.
diff --git a/dev-cpp/gnomemm/gnomemm-1.2.3-r1.ebuild b/dev-cpp/gnomemm/gnomemm-1.2.3-r1.ebuild
index d87aa4cf6a7b..3e723d1d8374 100644
--- a/dev-cpp/gnomemm/gnomemm-1.2.3-r1.ebuild
+++ b/dev-cpp/gnomemm/gnomemm-1.2.3-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gnomemm/gnomemm-1.2.3-r1.ebuild,v 1.5 2003/07/12 22:34:19 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gnomemm/gnomemm-1.2.3-r1.ebuild,v 1.6 2003/09/17 21:19:24 liquidx Exp $
inherit gcc
@@ -21,6 +21,13 @@ RDEPEND="=dev-cpp/gtkmm-1.2*
DEPEND="${RDEPEND}"
+src_unpack() {
+ unpack ${A}
+ # http://bugzilla.gnome.org/show_bug.cgi?id=121307 gcc 3.3.x (#27061)
+ einfo "Applying ${FILESDIR}/${P}-gcc33.patch"
+ cd ${S}; patch -p0 < ${FILESDIR}/${P}-gcc33.patch || die "patch failed"
+}
+
src_compile() {
econf
emake || die