aboutsummaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-11-07 22:27:01 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-11-07 22:27:01 +0000
commit3e92dd740160be7c12098e4ac61656423c3451e2 (patch)
treee1ac779153f6e53625c72149ff5adac693964e11 /accessibility
parent58406bee8938178fc317574c4236434b0dd11a25 (diff)
downloadports-3e92dd740160be7c12098e4ac61656423c3451e2.tar.gz
ports-3e92dd740160be7c12098e4ac61656423c3451e2.zip
Notes
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 000000000000..3a2d38735abb
--- /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 000000000000..474f3f8049a4
--- /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 000000000000..7b113f5bad80
--- /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 000000000000..c85f8da0fcb0
--- /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;