f3cbb56810
Cleaned up so that lib depends on config:build, and lndir it instead of mucking with the source dir. All patches put into config/patches, separated and renamed (yes, this is a LARGE fucker). Fake xview/clients to come. Currently installs under /usr/X11R6, some more patches to X needed to fix that.
27 lines
833 B
Plaintext
27 lines
833 B
Plaintext
--- ./lib/libxview/io_stream/file_strms.c.orig Tue Jun 29 07:15:07 1993
|
|
+++ ./lib/libxview/io_stream/file_strms.c Sat Apr 1 18:25:24 2000
|
|
@@ -17,7 +17,11 @@ static char sccsid[] = "@(#)file_str
|
|
|
|
#define GetFISData struct xv_file_input_stream_data *data = (struct xv_file_input_stream_data*) in->client_data
|
|
|
|
+#ifndef __OpenBSD__
|
|
static struct xv_file_input_stream_data {
|
|
+#else
|
|
+struct xv_file_input_stream_data {
|
|
+#endif
|
|
FILE *fp;
|
|
int lineno;
|
|
};
|
|
@@ -156,7 +160,11 @@ xv_file_input_stream(s, fp)
|
|
|
|
#define GetFOSData struct xv_file_output_stream_data *data = (struct xv_file_output_stream_data*) out->client_data
|
|
|
|
+#ifndef __OpenBSD__
|
|
static struct xv_file_output_stream_data {
|
|
+#else
|
|
+struct xv_file_output_stream_data {
|
|
+#endif
|
|
FILE *fp;
|
|
int lineno;
|
|
};
|