summaryrefslogtreecommitdiffstats
path: root/accessibility
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-08-04 02:50:27 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-08-04 02:50:27 +0800
commit9e38652358f403adc7bf64d71108e00bda6b6963 (patch)
tree9f804e0d6fddafcb51d54ebe7440d6d28ee029e8 /accessibility
parenta08d8c2524f8096e4d223981a855d624fddf0e2c (diff)
downloadmarcuscom-ports-9e38652358f403adc7bf64d71108e00bda6b6963.tar
marcuscom-ports-9e38652358f403adc7bf64d71108e00bda6b6963.tar.gz
marcuscom-ports-9e38652358f403adc7bf64d71108e00bda6b6963.tar.bz2
marcuscom-ports-9e38652358f403adc7bf64d71108e00bda6b6963.tar.lz
marcuscom-ports-9e38652358f403adc7bf64d71108e00bda6b6963.tar.xz
marcuscom-ports-9e38652358f403adc7bf64d71108e00bda6b6963.tar.zst
marcuscom-ports-9e38652358f403adc7bf64d71108e00bda6b6963.zip
Fix build on 4.X, and use a fix from gnopernicus CVS to fix the previous
build issue. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2602 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/gnopernicus/files/patch-braille_libbrl_brlxml.c13
-rw-r--r--accessibility/gnopernicus/files/patch-braille_libbrl_sercomm.c13
2 files changed, 18 insertions, 8 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 000000000..3a2d38735
--- /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-braille_libbrl_sercomm.c b/accessibility/gnopernicus/files/patch-braille_libbrl_sercomm.c
index 85b3de5ec..bc747577a 100644
--- a/accessibility/gnopernicus/files/patch-braille_libbrl_sercomm.c
+++ b/accessibility/gnopernicus/files/patch-braille_libbrl_sercomm.c
@@ -1,14 +1,11 @@
---- braille/libbrl/sercomm.c.orig Tue Aug 3 11:12:04 2004
-+++ braille/libbrl/sercomm.c Tue Aug 3 11:17:36 2004
-@@ -370,10 +370,9 @@
+--- braille/libbrl/sercomm.c.orig Mon Aug 2 13:13:53 2004
++++ braille/libbrl/sercomm.c Tue Aug 3 14:49:40 2004
+@@ -370,7 +370,7 @@
static gboolean
brl_ser_glib_cb (GIOChannel *source,
GIOCondition condition,
- gpointer data)
-+ guchar *data)
++ gpointer unused)
{
gint n, i;
-- guchar data[256];
-
- if (!glib_poll)
- return FALSE;
+ guchar data[256];