From 4c63c8706bf76952cb19100ed1259c8e6350e321 Mon Sep 17 00:00:00 2001 From: matthieu Date: Sat, 17 Jul 1999 10:55:32 +0000 Subject: [PATCH] forgot to add 2 files --- x11/olvwm/patches/patch-10 | 20 ++++++++++++++++++++ x11/olvwm/patches/patch-20 | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 x11/olvwm/patches/patch-10 create mode 100644 x11/olvwm/patches/patch-20 diff --git a/x11/olvwm/patches/patch-10 b/x11/olvwm/patches/patch-10 new file mode 100644 index 00000000000..7dcb3a861e3 --- /dev/null +++ b/x11/olvwm/patches/patch-10 @@ -0,0 +1,20 @@ +--- error.c.rej.orig Thu Jan 1 01:00:00 1970 ++++ ./error.c.rej Sat Jul 17 10:04:14 1999 +@@ -0,0 +1,17 @@ ++*************** ++*** 232,239 **** ++ err->resourceid); ++ FPRINTF(stderr, GetString(" serial number of failed request: %d\n"), ++ err->serial); ++- FPRINTF(stderr, GetString(" current request serial number: %d\n"), ++- dpy->request); ++ } ++ ++ ++--- 232,237 ---- ++ err->resourceid); ++ FPRINTF(stderr, GetString(" serial number of failed request: %d\n"), ++ err->serial); ++ } ++ ++ diff --git a/x11/olvwm/patches/patch-20 b/x11/olvwm/patches/patch-20 new file mode 100644 index 00000000000..bc7bae9b02b --- /dev/null +++ b/x11/olvwm/patches/patch-20 @@ -0,0 +1,33 @@ +--- olwm.c.orig Thu Jan 13 22:36:12 1994 ++++ ./olwm.c Fri Jul 16 21:49:04 1999 +@@ -56,6 +56,9 @@ + + typedef void (*VoidFunc)(); + ++#ifdef __OpenBSD__ ++#define MAXPID 30000 ++#endif + + /* + * Globals +@@ -182,7 +185,7 @@ + /* + * main -- parse arguments, perform initialization, call event-loop + */ +-void ++int + main(argc, argv) + int argc; + char **argv; +@@ -679,7 +682,11 @@ + #else + int oldmask; + int pid; ++#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__) + union wait status; ++#else ++ int status; ++#endif + #endif + + if (!deadChildren)