diff options
Diffstat (limited to 'math/galculator')
-rw-r--r-- | math/galculator/Makefile | 2 | ||||
-rw-r--r-- | math/galculator/distinfo | 2 | ||||
-rw-r--r-- | math/galculator/files/patch-src_general_functions.c | 56 | ||||
-rw-r--r-- | math/galculator/pkg-plist | 1 |
4 files changed, 3 insertions, 58 deletions
diff --git a/math/galculator/Makefile b/math/galculator/Makefile index 1389d4cc812..d9690e20504 100644 --- a/math/galculator/Makefile +++ b/math/galculator/Makefile @@ -6,7 +6,7 @@ # PORTNAME= galculator -PORTVERSION= 1.1.1 +PORTVERSION= 1.1.2 CATEGORIES= math MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} diff --git a/math/galculator/distinfo b/math/galculator/distinfo index f6de9d9f2da..db81960ebbc 100644 --- a/math/galculator/distinfo +++ b/math/galculator/distinfo @@ -1 +1 @@ -MD5 (galculator-1.1.1.tar.bz2) = 58e495b9ceb8ac8f16a8d1ab344fe1b1 +MD5 (galculator-1.1.2.tar.bz2) = 326b862122de170c53f44acf901327e7 diff --git a/math/galculator/files/patch-src_general_functions.c b/math/galculator/files/patch-src_general_functions.c deleted file mode 100644 index 55b89d03cf8..00000000000 --- a/math/galculator/files/patch-src_general_functions.c +++ /dev/null @@ -1,56 +0,0 @@ -$FreeBSD$ ---- src/general_functions.c.orig Mon Jun 23 21:34:24 2003 -+++ src/general_functions.c Thu Jun 26 00:23:54 2003 -@@ -512,14 +512,6 @@ void set_object_data (GladeXML *xml) - {"button_parclose", ')'},\ - {NULL}\ - }; -- -- while (operation_map[counter].button_name != NULL) { -- g_object_set_data (G_OBJECT (glade_xml_get_widget (xml, -- operation_map[counter].button_name)), -- "operation", GINT_TO_POINTER(operation_map[counter].operation)); -- counter++; -- } -- counter = 0; - - s_gfunc_map gfunc_map[] = {\ - {"button_sign", display_result_toggle_sign},\ -@@ -530,14 +522,6 @@ void set_object_data (GladeXML *xml) - {NULL}\ - }; - -- while (gfunc_map[counter].button_name != NULL) { -- g_object_set_data (G_OBJECT (glade_xml_get_widget (xml, -- gfunc_map[counter].button_name)), -- "func", gfunc_map[counter].func); -- counter++; -- }; -- counter = 0; -- - s_function_map function_map[] = {\ - {"button_sin", {sin, asin, sinh, sin}, TRUE},\ - {"button_cos", {cos, acos, cosh, cos}, TRUE},\ -@@ -551,6 +535,22 @@ void set_object_data (GladeXML *xml) - {"button_cmp", {cmp, cmp, cmp, cmp}, FALSE},\ - {NULL}\ - }; -+ -+ while (operation_map[counter].button_name != NULL) { -+ g_object_set_data (G_OBJECT (glade_xml_get_widget (xml, -+ operation_map[counter].button_name)), -+ "operation", GINT_TO_POINTER(operation_map[counter].operation)); -+ counter++; -+ } -+ counter = 0; -+ -+ while (gfunc_map[counter].button_name != NULL) { -+ g_object_set_data (G_OBJECT (glade_xml_get_widget (xml, -+ gfunc_map[counter].button_name)), -+ "func", gfunc_map[counter].func); -+ counter++; -+ }; -+ counter = 0; - - while (function_map[counter].button_name != NULL) { - func = (void *) malloc (sizeof (function_map[counter].func)); diff --git a/math/galculator/pkg-plist b/math/galculator/pkg-plist index aa5fe6762ea..1115a14947c 100644 --- a/math/galculator/pkg-plist +++ b/math/galculator/pkg-plist @@ -7,5 +7,6 @@ share/galculator/glade/font.glade share/galculator/glade/main.glade share/galculator/glade/prefs.glade share/locale/de/LC_MESSAGES/galculator.mo +share/locale/fr/LC_MESSAGES/galculator.mo @dirrm share/galculator/glade @dirrm share/galculator |