mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
cffb4d46b9
of the "make patch"ed ${WRKSRC}: * Use _relative_ symbolic link in the source tree. * Don't use __FreeBSD__ other than to wrap fpsetmask() stuff. * #define HAS_INTWAITSTATUS for BSD4.4 PR: 15972 Submitted by: maintainer
22 lines
597 B
Plaintext
22 lines
597 B
Plaintext
--- spice/common/src/lib/fte/clip.c.orig Sat Jan 29 18:45:45 1994
|
|
+++ spice/common/src/lib/fte/clip.c Mon Dec 27 14:29:09 1999
|
|
@@ -14,6 +14,7 @@
|
|
#include "cpdefs.h"
|
|
#include "ftedefs.h"
|
|
#include "suffix.h"
|
|
+#include "util.h"
|
|
|
|
#define POLYGONBUFSIZE 512
|
|
/* XXX */
|
|
@@ -33,8 +34,10 @@
|
|
c |= CODEMAXY;
|
|
|
|
/* XXX */
|
|
+/* Defined in "util.h".
|
|
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
|
|
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
|
|
+*/
|
|
#define SWAPINT(a, b) { int xxxx = (a); (a) = (b); (b) = xxxx; }
|
|
|
|
/* clip_line will clip a line to a rectangular area. The returned
|