summaryrefslogtreecommitdiff
path: root/cad/cider/files/patch-at
diff options
context:
space:
mode:
Diffstat (limited to 'cad/cider/files/patch-at')
-rw-r--r--cad/cider/files/patch-at21
1 files changed, 21 insertions, 0 deletions
diff --git a/cad/cider/files/patch-at b/cad/cider/files/patch-at
new file mode 100644
index 000000000000..170b48f461e5
--- /dev/null
+++ b/cad/cider/files/patch-at
@@ -0,0 +1,21 @@
+--- 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 */
++/*
+ #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