summaryrefslogtreecommitdiff
path: root/x11/xview-lib/patches/patch-an
blob: 700732443d62ec08bc281250c908491bc5773322 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-an,v 1.4 2006/01/05 18:25:57 joerg Exp $

--- lib/libxview/io_stream/othr_strms.c.orig	Tue Jun 29 07:15:05 1993
+++ lib/libxview/io_stream/othr_strms.c	Thu Dec 20 10:09:16 2001
@@ -17,7 +17,11 @@
 
 #define GetFCSData struct xv_filter_comments_stream_data *data = (struct xv_filter_comments_stream_data*) in->client_data
 
+#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__)
 static struct xv_filter_comments_stream_data {
+#else
+struct xv_filter_comments_stream_data {
+#endif
     Bool            backed_up;
     char            backup, lastchar;
 };