diff options
author | Leonardo Boshell <leonardop@gentoo.org> | 2003-11-06 20:01:48 +0000 |
---|---|---|
committer | Leonardo Boshell <leonardop@gentoo.org> | 2003-11-06 20:01:48 +0000 |
commit | 4c5d3d38212e51c131df174a1c2e9249db03a2b1 (patch) | |
tree | 7e6896a6f0111a6652fb032f3e05d8f8bd112570 /app-misc/workrave/files | |
parent | Version bump. (diff) | |
download | gentoo-2-4c5d3d38212e51c131df174a1c2e9249db03a2b1.tar.gz gentoo-2-4c5d3d38212e51c131df174a1c2e9249db03a2b1.tar.bz2 gentoo-2-4c5d3d38212e51c131df174a1c2e9249db03a2b1.zip |
Version bump.
Diffstat (limited to 'app-misc/workrave/files')
-rw-r--r-- | app-misc/workrave/files/digest-workrave-1.4.1 | 1 | ||||
-rw-r--r-- | app-misc/workrave/files/workrave-1.4.1-gcc2_fixes.patch | 66 |
2 files changed, 67 insertions, 0 deletions
diff --git a/app-misc/workrave/files/digest-workrave-1.4.1 b/app-misc/workrave/files/digest-workrave-1.4.1 new file mode 100644 index 000000000000..926b52d3b6d7 --- /dev/null +++ b/app-misc/workrave/files/digest-workrave-1.4.1 @@ -0,0 +1 @@ +MD5 68f9cbb2b20e4295abed174c51d018b5 workrave-1.4.1.tar.gz 987241 diff --git a/app-misc/workrave/files/workrave-1.4.1-gcc2_fixes.patch b/app-misc/workrave/files/workrave-1.4.1-gcc2_fixes.patch new file mode 100644 index 000000000000..708475f3152e --- /dev/null +++ b/app-misc/workrave/files/workrave-1.4.1-gcc2_fixes.patch @@ -0,0 +1,66 @@ +diff -NurB workrave-1.4.1-orig/src/app/gtkmm/AppletWindow.cc workrave-1.4.1/src/app/gtkmm/AppletWindow.cc +--- workrave-1.4.1-orig/src/app/gtkmm/AppletWindow.cc 2003-11-06 11:29:43.000000000 -0500 ++++ workrave-1.4.1/src/app/gtkmm/AppletWindow.cc 2003-11-06 14:20:59.000000000 -0500 +@@ -40,6 +40,7 @@ + #include "ConfiguratorInterface.hh" + #include "CoreInterface.hh" + #include "CoreFactory.hh" ++#include <gtkmm/eventbox.h> + + + //! Constructor. +diff -NurB workrave-1.4.1-orig/src/app/gtkmm/gnome_applet/WorkraveApplet.c workrave-1.4.1/src/app/gtkmm/gnome_applet/WorkraveApplet.c +--- workrave-1.4.1-orig/src/app/gtkmm/gnome_applet/WorkraveApplet.c 2003-11-06 11:29:43.000000000 -0500 ++++ workrave-1.4.1/src/app/gtkmm/gnome_applet/WorkraveApplet.c 2003-11-06 11:30:57.000000000 -0500 +@@ -850,6 +850,7 @@ + GdkPixbuf *pixbuf = NULL; + GtkWidget *hbox = NULL; + BonoboUIComponent *ui = NULL; ++ GtkWidget *event_box = NULL; + + // Create menus. + panel_applet_setup_menu_from_file(applet, NULL, "GNOME_WorkraveApplet.xml", NULL, +@@ -863,7 +864,7 @@ + bonobo_ui_component_add_listener(ui, "Quiet", mode_callback, NULL); + + // Eventbox +- GtkWidget *event_box = gtk_event_box_new(); ++ event_box = gtk_event_box_new(); + applet_control->event_box = event_box; + gtk_widget_set_events(event_box, gtk_widget_get_events(event_box) | GDK_BUTTON_PRESS_MASK); + gtk_widget_show(GTK_WIDGET(event_box)); +diff -NurB workrave-1.4.1-orig/src/app/gtkmm/StatisticsDialog.cc workrave-1.4.1/src/app/gtkmm/StatisticsDialog.cc +--- workrave-1.4.1-orig/src/app/gtkmm/StatisticsDialog.cc 2003-11-06 11:29:43.000000000 -0500 ++++ workrave-1.4.1/src/app/gtkmm/StatisticsDialog.cc 2003-11-06 13:14:35.000000000 -0500 +@@ -35,6 +35,7 @@ + #include <unistd.h> + #include <assert.h> + #include <sstream> ++#include <stdio.h> + + #include <gtkmm/notebook.h> + #include <gtkmm/calendar.h> +diff -NurB workrave-1.4.1-orig/src/app/shared/Exercise.cc workrave-1.4.1/src/app/shared/Exercise.cc +--- workrave-1.4.1-orig/src/app/shared/Exercise.cc 2003-11-06 11:29:43.000000000 -0500 ++++ workrave-1.4.1/src/app/shared/Exercise.cc 2003-11-06 13:06:58.000000000 -0500 +@@ -28,6 +28,7 @@ + + #include <unistd.h> + #include <assert.h> ++#include <stdio.h> + + #include <glib.h> + +@@ -274,9 +275,11 @@ + Exercise::parse_exercises(const char *file_name, + std::list<Exercise> &exe) + { ++ FILE *stream = NULL; ++ + TRACE_ENTER_MSG("ExercisesParser::get_exercises", file_name); + +- FILE *stream = fopen(file_name, "rb"); ++ stream = fopen(file_name, "rb"); + if (stream) + { + GMarkupParser parser; |