aboutsummaryrefslogtreecommitdiffstats
path: root/math/xgraph/files
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-12-11 03:31:50 +0800
committersteve <steve@FreeBSD.org>1999-12-11 03:31:50 +0800
commit7432a53b54d38ddca32c3f825f11f1325276bfb0 (patch)
tree8d12729da7c6795142ac1b7e535156c0a5fa257b /math/xgraph/files
parent57fc7fdd31557a90ae4572032f55d545ec7baa1c (diff)
downloadfreebsd-ports-gnome-7432a53b54d38ddca32c3f825f11f1325276bfb0.tar.gz
freebsd-ports-gnome-7432a53b54d38ddca32c3f825f11f1325276bfb0.tar.zst
freebsd-ports-gnome-7432a53b54d38ddca32c3f825f11f1325276bfb0.zip
Fixup MASTER_SITES, one diff per patch, and install example data.
PR: 15381 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'math/xgraph/files')
-rw-r--r--math/xgraph/files/patch-ac11
-rw-r--r--math/xgraph/files/patch-ad14
-rw-r--r--math/xgraph/files/patch-ae39
-rw-r--r--math/xgraph/files/patch-ag10
4 files changed, 74 insertions, 0 deletions
diff --git a/math/xgraph/files/patch-ac b/math/xgraph/files/patch-ac
new file mode 100644
index 000000000000..41fe9c2d3005
--- /dev/null
+++ b/math/xgraph/files/patch-ac
@@ -0,0 +1,11 @@
+--- xtb.c.orig Thu Jul 17 04:26:41 1997
++++ xtb.c Fri Dec 10 03:06:26 1999
+@@ -196,7 +196,7 @@
+ {
+ xtb_data data;
+
+- if (!XFindContext(t_disp, win, h_context, &data)) {
++ if (!XFindContext(t_disp, win, h_context, (XPointer*)&data)) {
+ return ((struct h_info *) data)->info;
+ } else {
+ return (xtb_data) 0;
diff --git a/math/xgraph/files/patch-ad b/math/xgraph/files/patch-ad
new file mode 100644
index 000000000000..1ef0c3d7a482
--- /dev/null
+++ b/math/xgraph/files/patch-ad
@@ -0,0 +1,14 @@
+--- hpgl.c.orig Thu Jul 17 03:40:40 1997
++++ hpgl.c Fri Dec 10 03:07:38 1999
+@@ -11,10 +11,8 @@
+ #include "xgout.h"
+ #include "plotter.h"
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <math.h>
+-#define MAX(a,b) ( ((a)>(b)) ? (a) : (b) )
+-#define MIN(a,b) ( ((a)<(b)) ? (a) : (b) )
+-char *malloc();
+
+ static void hpglText();
+ static void hpglSeg();
diff --git a/math/xgraph/files/patch-ae b/math/xgraph/files/patch-ae
new file mode 100644
index 000000000000..a89aaf4b1730
--- /dev/null
+++ b/math/xgraph/files/patch-ae
@@ -0,0 +1,39 @@
+--- xgraph.h.orig Thu Jul 17 03:40:41 1997
++++ xgraph.h Fri Dec 10 03:10:48 1999
+@@ -5,7 +5,12 @@
+ #ifndef _XGRAPH_H_
+ #define _XGRAPH_H_
+
++#include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
+ #include <X11/Xos.h>
++#undef index
++#undef rindex
+ #include <X11/Xlib.h>
+ #include <X11/Xutil.h>
+ #include <X11/cursorfont.h>
+@@ -33,20 +38,9 @@
+ extern void ho_dialog(); /* Hardcopy dialog */
+ extern void set_X(); /* Initializes X device */
+
+-#if 0
+-/* To make lint happy */
+-extern char *malloc();
+-extern char *realloc();
+-extern char *sprintf();
+-extern char *strcpy();
+-extern char *strcat();
+-extern char *rindex();
+-extern char *index();
+-extern void exit();
+-extern void free();
+-extern double atof();
++#ifndef MAX
++#define MAX(a,b) ((a) > (b) ? (a) : (b))
++#define MIN(a,b) ((a) < (b) ? (a) : (b))
+ #endif
+-
+-extern void abort();
+
+ #endif /* _XGRAPH_H_ */
diff --git a/math/xgraph/files/patch-ag b/math/xgraph/files/patch-ag
new file mode 100644
index 000000000000..a6f6313886be
--- /dev/null
+++ b/math/xgraph/files/patch-ag
@@ -0,0 +1,10 @@
+--- ps.c.orig Thu Jul 17 03:40:40 1997
++++ ps.c Fri Dec 10 03:11:36 1999
+@@ -57,7 +57,6 @@
+ #define PS(str) OUT(psFile, str)
+ #define PSU(str) OUT(ui->psFile, str)
+ #define IY(val) (ui->height_devs - val)
+-#define MAX(a, b) ((a) > (b) ? (a) : (b))
+
+ /*
+ * Globals