openbsd-ports/x11/xview/config/patches/p-libxview-io_stream-str_strms_c
2010-05-28 01:13:54 +00:00

27 lines
842 B
Plaintext

--- lib/libxview/io_stream/str_strms.c.orig Tue Jun 29 07:15:06 1993
+++ lib/libxview/io_stream/str_strms.c Sun May 23 14:16:14 2010
@@ -17,7 +17,11 @@ static char sccsid[] = "@(#)str_strms.c 20.17 93/0
#define GetSISData struct string_input_stream_data *data = (struct string_input_stream_data*) in->client_data
+#ifndef __OpenBSD__
static struct string_input_stream_data {
+#else
+struct string_input_stream_data {
+#endif
char *string;
int charpos;
};
@@ -148,7 +152,11 @@ string_input_stream(s, in)
#define GetSOSData struct string_output_stream_data *data = (struct string_output_stream_data*) out->client_data
+#ifndef __OpenBSD__
static struct string_output_stream_data {
+#else
+struct string_output_stream_data {
+#endif
char *string;
int charpos;
};