summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/libgnomeuimm/files/extra-patch-old_gcc_bugs
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-12-13 06:24:44 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-12-13 06:24:44 +0800
commit58900bc7b2bc86ca3c398717d6a1f3cf3dfa35e6 (patch)
tree7a372f2d96cfb7f87fe0fca2d22bf64bb4b40705 /x11-toolkits/libgnomeuimm/files/extra-patch-old_gcc_bugs
parent75ceedcd8109a95542263562a8d92f810ea9f573 (diff)
downloadmarcuscom-ports-58900bc7b2bc86ca3c398717d6a1f3cf3dfa35e6.tar
marcuscom-ports-58900bc7b2bc86ca3c398717d6a1f3cf3dfa35e6.tar.gz
marcuscom-ports-58900bc7b2bc86ca3c398717d6a1f3cf3dfa35e6.tar.bz2
marcuscom-ports-58900bc7b2bc86ca3c398717d6a1f3cf3dfa35e6.tar.lz
marcuscom-ports-58900bc7b2bc86ca3c398717d6a1f3cf3dfa35e6.tar.xz
marcuscom-ports-58900bc7b2bc86ca3c398717d6a1f3cf3dfa35e6.tar.zst
marcuscom-ports-58900bc7b2bc86ca3c398717d6a1f3cf3dfa35e6.zip
Add libgnomeuimm and update to 2.5.0.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1478 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits/libgnomeuimm/files/extra-patch-old_gcc_bugs')
-rw-r--r--x11-toolkits/libgnomeuimm/files/extra-patch-old_gcc_bugs29
1 files changed, 29 insertions, 0 deletions
diff --git a/x11-toolkits/libgnomeuimm/files/extra-patch-old_gcc_bugs b/x11-toolkits/libgnomeuimm/files/extra-patch-old_gcc_bugs
new file mode 100644
index 000000000..f2a696202
--- /dev/null
+++ b/x11-toolkits/libgnomeuimm/files/extra-patch-old_gcc_bugs
@@ -0,0 +1,29 @@
+--- libgnomeui/libgnomeuimm/dateedit.cc.orig Fri Aug 22 02:08:35 2003
++++ libgnomeui/libgnomeuimm/dateedit.cc Sat Aug 30 01:21:25 2003
+@@ -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