summaryrefslogtreecommitdiff
path: root/math/xgraph/files/patch-xtb.h
diff options
context:
space:
mode:
Diffstat (limited to 'math/xgraph/files/patch-xtb.h')
-rw-r--r--math/xgraph/files/patch-xtb.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/xgraph/files/patch-xtb.h b/math/xgraph/files/patch-xtb.h
new file mode 100644
index 000000000000..c5fb862b979b
--- /dev/null
+++ b/math/xgraph/files/patch-xtb.h
@@ -0,0 +1,11 @@
+--- xtb.h.orig 1997-07-16 18:40:41 UTC
++++ xtb.h
+@@ -164,7 +164,7 @@ typedef union xtb_fmt_defn {
+ xtb_fmt_align align;
+ } xtb_fmt;
+
+-#define NE 0
++#define NE ((xtb_fmt *) 0)
+
+ DECLARE(xtb_w, xtb_fmt *, (xtb_frame *w));
+ /* Returns formatting structure for frame */