summaryrefslogtreecommitdiffstats
path: root/math/xgraph
diff options
context:
space:
mode:
Diffstat (limited to 'math/xgraph')
-rw-r--r--math/xgraph/Makefile1
-rw-r--r--math/xgraph/distinfo2
-rw-r--r--math/xgraph/files/patch-ad9
3 files changed, 6 insertions, 6 deletions
diff --git a/math/xgraph/Makefile b/math/xgraph/Makefile
index 2bf12fa..c47330c 100644
--- a/math/xgraph/Makefile
+++ b/math/xgraph/Makefile
@@ -15,6 +15,7 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= sanpei@FreeBSD.org
USE_IMAKE= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}
MAN1= xgraph.1
post-install:
diff --git a/math/xgraph/distinfo b/math/xgraph/distinfo
index 291fb68..b169264 100644
--- a/math/xgraph/distinfo
+++ b/math/xgraph/distinfo
@@ -1 +1 @@
-MD5 (xgraph-11.tar.Z) = 15d78d243f007da88e1732474711e8b9
+MD5 (xgraph-11.tar.Z) = 63f58a6301a8d04b395cfb5105670297
diff --git a/math/xgraph/files/patch-ad b/math/xgraph/files/patch-ad
index 1ef0c3d..7744f68 100644
--- a/math/xgraph/files/patch-ad
+++ b/math/xgraph/files/patch-ad
@@ -1,6 +1,6 @@
---- hpgl.c.orig Thu Jul 17 03:40:40 1997
-+++ hpgl.c Fri Dec 10 03:07:38 1999
-@@ -11,10 +11,8 @@
+--- hpgl.c.orig Thu Aug 3 03:31:56 2000
++++ hpgl.c Sun Aug 6 23:45:06 2000
+@@ -13,9 +13,8 @@
#include "xgout.h"
#include "plotter.h"
#include <stdio.h>
@@ -8,7 +8,6 @@
#include <math.h>
-#define MAX(a,b) ( ((a)>(b)) ? (a) : (b) )
-#define MIN(a,b) ( ((a)<(b)) ? (a) : (b) )
--char *malloc();
+ /* char *malloc(); */
static void hpglText();
- static void hpglSeg();
OpenPOWER on IntegriCloud