openbsd-ports/x11/xview/config/patches/p-libxview-rect-rect_util_c

12 lines
420 B
Plaintext

--- lib/libxview/rect/rect_util.c.orig 1993-06-29 07:15:17.000000000 +0200
+++ lib/libxview/rect/rect_util.c 2003-12-30 01:31:13.000000000 +0100
@@ -16,6 +16,8 @@ static char sccsid[] = "@(#)rect_uti
#include <xview/rect.h>
+static int rect_nearest_edge();
+
/*
* Compute the distance from rect to (x, y). If (x, y) is in rect, zero is
* returned. If x_used or y_used are non-zero, the projection point is