summaryrefslogtreecommitdiff
path: root/x11/gnopernicus/patches/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gnopernicus/patches/patch-ae')
-rw-r--r--x11/gnopernicus/patches/patch-ae18
1 files changed, 18 insertions, 0 deletions
diff --git a/x11/gnopernicus/patches/patch-ae b/x11/gnopernicus/patches/patch-ae
new file mode 100644
index 00000000000..7197a542c5b
--- /dev/null
+++ b/x11/gnopernicus/patches/patch-ae
@@ -0,0 +1,18 @@
+$NetBSD: patch-ae,v 1.1 2005/04/12 00:59:36 rillig Exp $
+
+Needed for gcc-2.95.
+
+--- braille/libbrl/brlxml.c.orig Tue Aug 10 11:51:24 2004
++++ braille/libbrl/brlxml.c Mon Apr 11 02:00:27 2005
+@@ -730,10 +730,10 @@ brl_start_element (void *ctx,
+ /* 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);
+