aboutsummaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2009-05-10 19:10:31 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2009-05-10 19:10:31 +0000
commit3b5c05f9c969edf661d932072af93b358656c715 (patch)
tree830b0b498978a7f9173258ac8c157476802c9ddb /science
parent3538ad6567178b8fc07a5f5a73d6ad9fe705780d (diff)
downloadports-3b5c05f9c969edf661d932072af93b358656c715.tar.gz
ports-3b5c05f9c969edf661d932072af93b358656c715.zip
Notes
Diffstat (limited to 'science')
-rw-r--r--science/gchemutils/files/patch-programs_calc_gchemcalc.cc15
-rw-r--r--science/gchemutils/files/patch-programs_spectra_window.cc11
-rw-r--r--science/gchemutils/files/patch-programs_table_gchemtable-curve.cc11
3 files changed, 33 insertions, 4 deletions
diff --git a/science/gchemutils/files/patch-programs_calc_gchemcalc.cc b/science/gchemutils/files/patch-programs_calc_gchemcalc.cc
index b5c7b7c24b7e..892d85f462ca 100644
--- a/science/gchemutils/files/patch-programs_calc_gchemcalc.cc
+++ b/science/gchemutils/files/patch-programs_calc_gchemcalc.cc
@@ -1,5 +1,5 @@
--- programs/calc/gchemcalc.cc.orig 2009-01-05 14:09:59.000000000 -0500
-+++ programs/calc/gchemcalc.cc 2009-05-05 01:04:35.000000000 -0400
++++ programs/calc/gchemcalc.cc 2009-05-10 15:08:02.000000000 -0400
@@ -56,11 +56,11 @@
#include <goffice/gtk/goffice-gtk.h>
#include <goffice/graph/gog-axis.h>
@@ -15,7 +15,16 @@
#include <goffice/utils/go-locale.h>
#include <goffice/utils/go-image.h>
#include <goffice/utils/go-line.h>
-@@ -736,7 +736,7 @@
+@@ -512,7 +512,7 @@ static void on_get_data (GtkClipboard *c
+ go_locale_untranslated_booleans ();
+
+ xout = gsf_xml_out_new (output);
+- gog_object_write_xml_sax (GOG_OBJECT (graph), xout);
++ gog_object_write_xml_sax (GOG_OBJECT (graph), xout, NULL);
+ g_object_unref (xout);
+
+ /* go_setlocale restores bools to locale translation */
+@@ -736,7 +736,7 @@ int main (int argc, char *argv[])
App = new GChemCalc ();
/* Initialize plugins manager */
@@ -24,7 +33,7 @@
GladeXML *xml = glade_xml_new (GLADEDIR"/gchemcalc.glade", "gchemcalc", NULL);
App->window = GTK_WINDOW (glade_xml_get_widget (xml, "gchemcalc"));
-@@ -808,7 +808,7 @@
+@@ -808,7 +808,7 @@ int main (int argc, char *argv[])
// Create a series for the plot and populate it with some simple data
App->series = gog_plot_new_series (App->plot);
gog_object_add_by_name (GOG_OBJECT (App->series), "Vertical drop lines", NULL);
diff --git a/science/gchemutils/files/patch-programs_spectra_window.cc b/science/gchemutils/files/patch-programs_spectra_window.cc
new file mode 100644
index 000000000000..b2b97bd3663a
--- /dev/null
+++ b/science/gchemutils/files/patch-programs_spectra_window.cc
@@ -0,0 +1,11 @@
+--- programs/spectra/window.cc.orig 2009-05-10 15:08:58.000000000 -0400
++++ programs/spectra/window.cc 2009-05-10 15:09:03.000000000 -0400
+@@ -320,7 +320,7 @@ static void on_get_data (GtkClipboard *c
+ go_locale_untranslated_booleans ();
+
+ xout = gsf_xml_out_new (output);
+- gog_object_write_xml_sax (GOG_OBJECT (graph), xout);
++ gog_object_write_xml_sax (GOG_OBJECT (graph), xout, NULL);
+ g_object_unref (xout);
+
+ /* go_setlocale restores bools to locale translation */
diff --git a/science/gchemutils/files/patch-programs_table_gchemtable-curve.cc b/science/gchemutils/files/patch-programs_table_gchemtable-curve.cc
index 26912a5b510e..615f7d8e0b97 100644
--- a/science/gchemutils/files/patch-programs_table_gchemtable-curve.cc
+++ b/science/gchemutils/files/patch-programs_table_gchemtable-curve.cc
@@ -1,5 +1,5 @@
--- programs/table/gchemtable-curve.cc.orig 2009-01-05 14:10:00.000000000 -0500
-+++ programs/table/gchemtable-curve.cc 2009-05-05 01:11:15.000000000 -0400
++++ programs/table/gchemtable-curve.cc 2009-05-10 15:08:23.000000000 -0400
@@ -37,11 +37,9 @@
#include <goffice/graph/gog-data-set.h>
#include <goffice/graph/gog-guru.h>
@@ -13,6 +13,15 @@
#include <goffice/math/go-math.h>
#include <goffice/utils/go-locale.h>
#include <goffice/utils/go-line.h>
+@@ -95,7 +93,7 @@ static void on_get_data (GtkClipboard *c
+ go_locale_untranslated_booleans ();
+
+ xout = gsf_xml_out_new (output);
+- gog_object_write_xml_sax (GOG_OBJECT (graph), xout);
++ gog_object_write_xml_sax (GOG_OBJECT (graph), xout, NULL);
+ g_object_unref (xout);
+
+ /* go_setlocale restores bools to locale translation */
@@ -332,7 +330,7 @@ GChemTableCurve::GChemTableCurve (GChemT
obj = gog_object_get_child_by_role (GOG_OBJECT (chart),
gog_object_find_role_by_name (GOG_OBJECT (chart), "Y-Axis"));