pkgsrc/x11/xview-lib/patches/patch-am
abs c9c8f97e88 - Add PKG_DESTDIR_SUPPORT
- Depend on the latest version of xview-config
- Mark as LICENSE sun-openlook-license
- Bump pkgrevision
2009-12-10 20:35:56 +00:00

28 lines
984 B
Text

$NetBSD: patch-am,v 1.5 2009/12/10 20:35:56 abs Exp $
--- lib/libxview/io_stream/file_strms.c.orig 1993-06-29 05:15:07.000000000 +0000
+++ lib/libxview/io_stream/file_strms.c
@@ -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
+#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__)
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
+#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__)
static struct xv_file_output_stream_data {
+#else
+struct xv_file_output_stream_data {
+#endif
FILE *fp;
int lineno;
};