summaryrefslogtreecommitdiff
path: root/x11/xview-lib/patches/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xview-lib/patches/patch-ah')
-rw-r--r--x11/xview-lib/patches/patch-ah32
1 files changed, 22 insertions, 10 deletions
diff --git a/x11/xview-lib/patches/patch-ah b/x11/xview-lib/patches/patch-ah
index 0575cf5b404..e92f214e665 100644
--- a/x11/xview-lib/patches/patch-ah
+++ b/x11/xview-lib/patches/patch-ah
@@ -1,14 +1,26 @@
-$NetBSD: patch-ah,v 1.2 1998/08/07 11:18:37 agc Exp $
+$NetBSD: patch-ah,v 1.3 2001/12/20 09:19:55 tron Exp $
---- misc/support/Imakefile.orig Tue Jun 29 07:14:23 1993
-+++ misc/support/Imakefile Sat Jul 4 16:18:58 1998
-@@ -5,8 +5,7 @@
- /**/# Imakefile for misc/support files.
+--- lib/libxview/base/xv_error.c.orig Tue Jun 29 07:14:42 1993
++++ lib/libxview/base/xv_error.c Thu Dec 20 10:10:01 2001
+@@ -11,15 +11,20 @@
+ */
- SUPPORTFILES = text_extras_menu textswrc ttyswrc
--INFOFILES = textsw.info ttysw.info xview.info clock.info olwm.info props.info \
-- textedit.info
-+INFOFILES = textsw.info ttysw.info xview.info props.info textedit.info
+ #include <stdio.h>
++#include <sys/param.h>
+ #include <xview/pkg_public.h>
+ #include <X11/Xlib.h>
+ #include <xview_private/i18n_impl.h>
+ #include <xview_private/portable.h>
- ALLFILES = $(SUPPORTFILES) $(INFOFILES)
+ /* Unix system error variables */
++#if (defined(BSD) && (BSD >= 199306))
++#include <errno.h>
++#else
+ extern int sys_nerr;
+-extern char *sys_errlist[];
+ extern int errno;
++extern char *sys_errlist[];
++#endif
+ Xv_private_data char *xv_app_name;
+ Xv_private int (*xv_error_proc) ();