freebsd-ports/cad/cider/files/patch-at
Steve Price cffb4d46b9 Make some modifications for (supposedly) better portability
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
2000-01-24 05:00:57 +00:00

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