pkgsrc/x11/xview-lib/patches/patch-am
tron 71146f333e Cleanup patch files:
- unified format
- only one patch per file
- no files gets patched twice
2001-12-20 09:19:53 +00:00

28 lines
876 B
Text

$NetBSD: patch-am,v 1.3 2001/12/20 09:19:55 tron Exp $
--- lib/libxview/io_stream/file_strms.c.orig Tue Jun 29 07:15:07 1993
+++ lib/libxview/io_stream/file_strms.c Thu Dec 20 10:09:16 2001
@@ -17,7 +17,11 @@
#define GetFISData struct xv_file_input_stream_data *data = (struct xv_file_input_stream_data*) in->client_data
+#if !defined(__FreeBSD__) && !defined(__NetBSD__)
static struct xv_file_input_stream_data {
+#else
+struct xv_file_input_stream_data {
+#endif
FILE *fp;
int lineno;
};
@@ -156,7 +160,11 @@
#define GetFOSData struct xv_file_output_stream_data *data = (struct xv_file_output_stream_data*) out->client_data
+#if !defined(__FreeBSD__) && !defined(__NetBSD__)
static struct xv_file_output_stream_data {
+#else
+struct xv_file_output_stream_data {
+#endif
FILE *fp;
int lineno;
};