pkgsrc/x11/xview-lib/patches/patch-bw
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

17 lines
497 B
Text

$NetBSD: patch-bw,v 1.2 2009/12/10 20:35:57 abs Exp $
--- lib/libxview/panel/p_drop.c.orig 1993-06-29 05:17:04.000000000 +0000
+++ lib/libxview/panel/p_drop.c
@@ -10,7 +10,12 @@ static char sccsid[] = "@(#)p_drop.c
* file for terms of the license.
*/
+#include <sys/param.h>
+#if (defined(BSD) && (BSD >= 199103))
+#include <stdlib.h>
+#else
#include <malloc.h>
+#endif
#include <xview_private/draw_impl.h>
#include <xview_private/i18n_impl.h>
#include <xview_private/panel_impl.h>