summaryrefslogtreecommitdiffstats
path: root/accessibility
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-11-07 22:27:01 +0000
committermarcus <marcus@FreeBSD.org>2004-11-07 22:27:01 +0000
commitdf670bdc705d5958560a11a9c463db0dd3503fec (patch)
tree0349fd3baf6b2810d09bf89bf6bbcc82f826ec63 /accessibility
parentfb8541d2d8cfc686242832e1c242a6e16a71f562 (diff)
downloadFreeBSD-ports-df670bdc705d5958560a11a9c463db0dd3503fec.zip
FreeBSD-ports-df670bdc705d5958560a11a9c463db0dd3503fec.tar.gz
Add some files missed in the previous GNOME 2.8 update.
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/gnopernicus/files/patch-braille_libbrl_brlxml.c13
-rw-r--r--accessibility/gnopernicus/files/patch-srcore_srbrl.c51
-rw-r--r--accessibility/gnopernicus/files/patch-srcore_srmain.c26
-rw-r--r--accessibility/gok/files/patch-gok_gok-keyboard.c13
4 files changed, 103 insertions, 0 deletions
diff --git a/accessibility/gnopernicus/files/patch-braille_libbrl_brlxml.c b/accessibility/gnopernicus/files/patch-braille_libbrl_brlxml.c
new file mode 100644
index 0000000..3a2d387
--- /dev/null
+++ b/accessibility/gnopernicus/files/patch-braille_libbrl_brlxml.c
@@ -0,0 +1,13 @@
+--- braille/libbrl/brlxml.c.orig Tue Aug 3 14:50:31 2004
++++ braille/libbrl/brlxml.c Tue Aug 3 14:50:48 2004
+@@ -730,9 +730,9 @@
+ /* fprintf (stderr, "\n attr_val; %s", *attrs); */
+ if (g_strcasecmp ((gchar*)*attrs, "mode") == 0)
+ {
+- ++attrs;
+ gint16 new_offset = 0;
+ gshort sign = 1;
++ ++attrs;
+
+ attr_val = g_strdup ((gchar*)*attrs);
+ tattr_val = g_strdup (attr_val);
diff --git a/accessibility/gnopernicus/files/patch-srcore_srbrl.c b/accessibility/gnopernicus/files/patch-srcore_srbrl.c
new file mode 100644
index 0000000..474f3f8
--- /dev/null
+++ b/accessibility/gnopernicus/files/patch-srcore_srbrl.c
@@ -0,0 +1,51 @@
+--- srcore/srbrl.c.orig Wed Jul 14 20:51:31 2004
++++ srcore/srbrl.c Wed Jul 14 20:55:57 2004
+@@ -723,6 +723,12 @@
+ static void
+ src_braille_load_values (SRCBraille *braille)
+ {
++ gint default_pos_sensor;
++ gint default_opt_sensor;
++ gchar *default_braille_transaltion_table;
++ gchar *default_braille_style;
++ gchar *default_braille_cursor_style;
++
+ sru_assert (braille);
+
+ if (!braille->device)
+@@ -749,7 +755,7 @@
+ }
+ }
+
+- gchar *default_braille_transaltion_table = DEFAULT_BRAILLE_TRANSLATION;
++ *default_braille_transaltion_table = DEFAULT_BRAILLE_TRANSLATION;
+ GET_BRAILLE_CONFIG_DATA_WITH_DEFAULT (BRAILLE_TRANSLATION, CFGT_STRING,
+ &braille->translation_table,
+ default_braille_transaltion_table);
+@@ -761,22 +767,22 @@
+ }
+
+
+- gchar *default_braille_style = DEFAULT_BRAILLE_STYLE;
++ *default_braille_style = DEFAULT_BRAILLE_STYLE;
+ GET_BRAILLE_CONFIG_DATA_WITH_DEFAULT (BRAILLE_STYLE, CFGT_STRING,
+ &braille->style,
+ default_braille_style);
+
+- gchar *default_braille_cursor_style = DEFAULT_BRAILLE_CURSOR_STYLE;
++ *default_braille_cursor_style = DEFAULT_BRAILLE_CURSOR_STYLE;
+ GET_BRAILLE_CONFIG_DATA_WITH_DEFAULT (BRAILLE_CURSOR_STYLE, CFGT_STRING,
+ &braille->cursor_style,
+ default_braille_cursor_style);
+
+- gint default_pos_sensor = DEFAULT_BRAILLE_POSITION_SENSOR;
++ default_pos_sensor = DEFAULT_BRAILLE_POSITION_SENSOR;
+ GET_BRAILLE_CONFIG_DATA_WITH_DEFAULT (BRAILLE_POSITION_SENSOR, CFGT_INT,
+ &braille->position_sensor,
+ &default_pos_sensor);
+
+- gint default_opt_sensor = DEFAULT_BRAILLE_OPTICAL_SENSOR;
++ default_opt_sensor = DEFAULT_BRAILLE_OPTICAL_SENSOR;
+ GET_BRAILLE_CONFIG_DATA_WITH_DEFAULT (BRAILLE_OPTICAL_SENSOR, CFGT_INT,
+ &braille->optical_sensor,
+ &default_opt_sensor);
diff --git a/accessibility/gnopernicus/files/patch-srcore_srmain.c b/accessibility/gnopernicus/files/patch-srcore_srmain.c
new file mode 100644
index 0000000..7b113f5
--- /dev/null
+++ b/accessibility/gnopernicus/files/patch-srcore_srmain.c
@@ -0,0 +1,26 @@
+--- srcore/srmain.c.orig Sun May 30 03:08:45 2004
++++ srcore/srmain.c Sun May 30 03:09:28 2004
+@@ -602,9 +602,10 @@
+ sru_assert (config->key);
+ if (strcmp (config->key, BRAILLE_DEVICE) == 0)
+ {
++ gboolean rv;
+ sru_assert (config->newvalue && config->type == CFGT_STRING);
+
+- gboolean rv = src_braille_set_device ((gchar*)config->newvalue);
++ rv = src_braille_set_device ((gchar*)config->newvalue);
+ if (!rv)
+ {
+ sru_message ("SR: process config changed for braille: brl_device did not change!!!");
+@@ -636,9 +637,10 @@
+ }
+ else if (strcmp (config->key, BRAILLE_TRANSLATION) == 0)
+ {
++ gboolean rv;
+ sru_assert (config->type == CFGT_STRING && config->newvalue);
+
+- gboolean rv = src_braille_set_translation_table ((gchar*)config->newvalue);
++ rv = src_braille_set_translation_table ((gchar*)config->newvalue);
+
+ if (!rv)
+ {
diff --git a/accessibility/gok/files/patch-gok_gok-keyboard.c b/accessibility/gok/files/patch-gok_gok-keyboard.c
new file mode 100644
index 0000000..c85f8da
--- /dev/null
+++ b/accessibility/gok/files/patch-gok_gok-keyboard.c
@@ -0,0 +1,13 @@
+--- gok/gok-keyboard.c.orig Fri Nov 5 16:18:02 2004
++++ gok/gok-keyboard.c Fri Nov 5 16:18:49 2004
+@@ -2519,8 +2519,9 @@
+ else if ((pKeyboard->search_type == GOK_SPY_SEARCH_ACTIONABLE) && !did_actionkeys)
+ {
+ gint action_count, i;
++ AccessibleAction *action;
+ did_actionkeys = TRUE;
+- AccessibleAction *action =
++ action =
+ Accessible_getAction (pNodeAccessible->paccessible);
+ if (!action)
+ break;
OpenPOWER on IntegriCloud