openbsd-ports/x11/xview/config/patches/p-libxview-io_stream-othr_strms_c

15 lines
544 B
Plaintext

--- lib/libxview/io_stream/othr_strms.c.orig 1993-06-29 07:15:05.000000000 +0200
+++ lib/libxview/io_stream/othr_strms.c 2003-12-30 01:31:12.000000000 +0100
@@ -17,7 +17,11 @@ static char sccsid[] = "@(#)othr_str
#define GetFCSData struct xv_filter_comments_stream_data *data = (struct xv_filter_comments_stream_data*) in->client_data
+#ifndef __OpenBSD__
static struct xv_filter_comments_stream_data {
+#else
+struct xv_filter_comments_stream_data {
+#endif
Bool backed_up;
char backup, lastchar;
};