summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Boshell <leonardop@gentoo.org>2003-10-02 16:52:18 +0000
committerLeonardo Boshell <leonardop@gentoo.org>2003-10-02 16:52:18 +0000
commit3d588025205f4d66eb5292b5e4384e965af35f7f (patch)
treeb588738edf9a42faf2a13d9acf4f255e559d5633 /dev-cpp
parentVersion bumped. Install terminfo entry by default. (diff)
downloadhistorical-3d588025205f4d66eb5292b5e4384e965af35f7f.tar.gz
historical-3d588025205f4d66eb5292b5e4384e965af35f7f.tar.bz2
historical-3d588025205f4d66eb5292b5e4384e965af35f7f.zip
Patch to solve bug #29436
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/libgnomeuimm/ChangeLog5
-rw-r--r--dev-cpp/libgnomeuimm/files/libgnomeuimm-2.0.0-gcc2_fix.patch30
-rw-r--r--dev-cpp/libgnomeuimm/libgnomeuimm-2.0.0.ebuild10
3 files changed, 43 insertions, 2 deletions
diff --git a/dev-cpp/libgnomeuimm/ChangeLog b/dev-cpp/libgnomeuimm/ChangeLog
index c6d454c24bae..963f1eefbe6a 100644
--- a/dev-cpp/libgnomeuimm/ChangeLog
+++ b/dev-cpp/libgnomeuimm/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-cpp/libgnomeuimm
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libgnomeuimm/ChangeLog,v 1.3 2003/09/06 21:26:30 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libgnomeuimm/ChangeLog,v 1.4 2003/10/02 16:52:18 leonardop Exp $
+
+ 02 Oct 2003; L. Boshell <leonardop@gentoo.org> libgnomeuimm-2.0.0.ebuild :
+ Patch: make it compile nicely under gcc-2. Should close bug #29436.
*libgnomeuimm-2.0.0 (06 Sep 2003)
diff --git a/dev-cpp/libgnomeuimm/files/libgnomeuimm-2.0.0-gcc2_fix.patch b/dev-cpp/libgnomeuimm/files/libgnomeuimm-2.0.0-gcc2_fix.patch
new file mode 100644
index 000000000000..ad6439c76d9e
--- /dev/null
+++ b/dev-cpp/libgnomeuimm/files/libgnomeuimm-2.0.0-gcc2_fix.patch
@@ -0,0 +1,30 @@
+diff -NurB libgnomeuimm-2.0.0-orig/libgnomeui/libgnomeuimm/dateedit.cc libgnomeuimm-2.0.0/libgnomeui/libgnomeuimm/dateedit.cc
+--- libgnomeuimm-2.0.0-orig/libgnomeui/libgnomeuimm/dateedit.cc 2003-10-02 07:52:05.000000000 -0500
++++ libgnomeuimm-2.0.0/libgnomeui/libgnomeuimm/dateedit.cc 2003-10-02 09:02:07.000000000 -0500
+@@ -35,7 +35,7 @@
+ : Gtk::HBox(GTK_HBOX(g_object_new(get_type(), (char*)0)))
+ {
+ gnome_date_edit_construct(gobj(), the_time,
+- static_cast<GnomeDateEditFlags>(
++ GnomeDateEditFlags(
+ (show_time ? DATE_EDIT_SHOW_TIME : static_cast<DateEditFlags>(0))
+ | (use_24_format ? DATE_EDIT_24_HR : static_cast<DateEditFlags>(0)) ) );
+ }
+@@ -44,7 +44,7 @@
+ DateEdit::DateEdit(time_t the_time, DateEditFlags flags)
+ : Gtk::HBox(GTK_HBOX(g_object_new(get_type(), (char*)0)))
+ {
+- gnome_date_edit_construct(gobj(), the_time, static_cast<GnomeDateEditFlags>(flags));
++ gnome_date_edit_construct(gobj(), the_time, GnomeDateEditFlags(flags));
+ }
+
+
+@@ -254,7 +254,7 @@
+
+ void DateEdit::set_flags(DateEditFlags flags)
+ {
+- gnome_date_edit_set_flags(gobj(), static_cast<GnomeDateEditFlags>(flags));
++ gnome_date_edit_set_flags(gobj(), GnomeDateEditFlags(flags));
+ }
+
+ DateEditFlags DateEdit::get_flags() const
diff --git a/dev-cpp/libgnomeuimm/libgnomeuimm-2.0.0.ebuild b/dev-cpp/libgnomeuimm/libgnomeuimm-2.0.0.ebuild
index 04393ecb5533..1ddbd9aa199a 100644
--- a/dev-cpp/libgnomeuimm/libgnomeuimm-2.0.0.ebuild
+++ b/dev-cpp/libgnomeuimm/libgnomeuimm-2.0.0.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/libgnomeuimm/libgnomeuimm-2.0.0.ebuild,v 1.1 2003/09/06 21:26:30 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libgnomeuimm/libgnomeuimm-2.0.0.ebuild,v 1.2 2003/10/02 16:52:18 leonardop Exp $
inherit gnome2
@@ -24,3 +24,11 @@ DEPEND=">=dev-util/pkgconfig-0.12.0
${RDEPEND}"
DOCS="AUTHORS COPYING ChangeLog NEWS INSTALL TODO"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gcc2_fix.patch
+}
+