summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-cpp/libglademm/ChangeLog6
-rw-r--r--dev-cpp/libglademm/files/gcc34.patch13
-rw-r--r--dev-cpp/libglademm/libglademm-2.4.0.ebuild7
3 files changed, 24 insertions, 2 deletions
diff --git a/dev-cpp/libglademm/ChangeLog b/dev-cpp/libglademm/ChangeLog
index 04dc8d097cdd..3bd49b243e76 100644
--- a/dev-cpp/libglademm/ChangeLog
+++ b/dev-cpp/libglademm/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-cpp/libglademm
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libglademm/ChangeLog,v 1.8 2004/05/21 16:10:03 kugelfang Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libglademm/ChangeLog,v 1.9 2004/05/22 15:26:31 khai Exp $
+
+ 22 May 2004; Yi Qiang <khai@gentoo.org> +files/gcc34.patch,
+ libglademm-2.4.0.ebuild:
+ Fixed gcc-3.4 compilation issues. Credit goes to Vladimir Hlousek for patch
21 May 2004; Danny van Dyk <kugelfang@gentoo.org> libglademm-2.4.0.ebuild:
Added aclocal/automake/autoconf; necessary on amd64. Marked ~amd64.
diff --git a/dev-cpp/libglademm/files/gcc34.patch b/dev-cpp/libglademm/files/gcc34.patch
new file mode 100644
index 000000000000..f6143216f8dc
--- /dev/null
+++ b/dev-cpp/libglademm/files/gcc34.patch
@@ -0,0 +1,13 @@
+diff -urN libglademm-2.4.0-old/examples/derived/deriveddialog.h libglademm-2.4.0-new/examples/derived/deriveddialog.h
+--- libglademm-2.4.0/examples/derived/deriveddialog.h 2003-08-23 19:21:06.000000000 +0200
++++ libglademm-2.4.0/examples/derived/deriveddialog.h 2004-05-22 14:11:18.354537344 +0200
+@@ -19,8 +19,8 @@
+ #ifndef LIBGLADEMM_EXAMPLE_DERIVED_DIALOG_H
+ #define LIBGLADEMM_EXAMPLE_DERIVED_DIALOG_H
+
+-#include <libglademm.h>
+ #include <gtkmm.h>
++#include <libglademm.h>
+
+
+ class DerivedDialog : public Gtk::Dialog
diff --git a/dev-cpp/libglademm/libglademm-2.4.0.ebuild b/dev-cpp/libglademm/libglademm-2.4.0.ebuild
index 86281f7fea98..08f1c7af4112 100644
--- a/dev-cpp/libglademm/libglademm-2.4.0.ebuild
+++ b/dev-cpp/libglademm/libglademm-2.4.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libglademm/libglademm-2.4.0.ebuild,v 1.3 2004/05/21 16:10:03 kugelfang Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libglademm/libglademm-2.4.0.ebuild,v 1.4 2004/05/22 15:26:31 khai Exp $
inherit gnome2
IUSE=""
@@ -17,6 +17,11 @@ RDEPEND=">=gnome-base/libglade-2
DEPEND=">=dev-util/pkgconfig-0.12.0
${RDEPEND}"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/gcc34.patch
+}
src_compile() {
aclocal -I scripts
automake -c -f