mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 09:48:00 -04:00
25 lines
734 B
Plaintext
25 lines
734 B
Plaintext
$NetBSD: patch-ax,v 1.3 2009/12/10 20:35:57 abs Exp $
|
|
|
|
--- lib/libxview/dnd/site.c.orig 1993-06-29 05:15:58.000000000 +0000
|
|
+++ lib/libxview/dnd/site.c
|
|
@@ -19,6 +19,7 @@ static char sccsid[] = "@(#)site.c 1
|
|
#ifdef SVR4
|
|
#include <stdlib.h>
|
|
#endif SVR4
|
|
+#include <sys/param.h>
|
|
|
|
static void TransCoords();
|
|
Xv_private Xv_Window win_get_top_level();
|
|
@@ -246,7 +247,11 @@ DndDropAreaOps(site, mode, area)
|
|
/* (rectNode->rect) is of the wrong type. */
|
|
memmove(rect, &(rectNode->rect), sizeof(Rect));
|
|
#else
|
|
+#if (defined(BSD) && (BSD >= 199103))
|
|
+ bcopy(&(rectNode->rect), rect, sizeof(Rect));
|
|
+#else
|
|
bcopy(rectNode->rect, rect, sizeof(Rect));
|
|
+#endif
|
|
#endif SVR4
|
|
|
|
return((Xv_opaque)rect);
|