openbsd-ports/x11/xview/config/patches/p-olwm-mem_c
espie f3cbb56810 Xview's return.
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.
2000-04-02 15:25:13 +00:00

17 lines
322 B
Plaintext

--- ./clients/olwm/mem.c.orig Tue Jun 29 07:11:45 1993
+++ ./clients/olwm/mem.c Sat Apr 1 18:26:06 2000
@@ -14,8 +14,12 @@
*
*/
-
+#include <sys/param.h>
+#if (defined(BSD) && (BSD >= 199103))
+#include <stdlib.h>
+#else
#include <malloc.h>
+#endif
#include <memory.h>
#include <stdio.h>
#include <sys/types.h>