1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-05 11:35:01 +00:00

Upgrade to 1.7.7.

This commit is contained in:
Thomas Gellekum 2001-11-09 12:38:54 +00:00
parent b98caf7737
commit 54bf77b3a6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=49873
14 changed files with 163 additions and 13 deletions

View File

@ -6,10 +6,9 @@
#
PORTNAME= graphviz
PORTVERSION= 1.7.6
PORTVERSION= 1.7.7
CATEGORIES= graphics tk83
MASTER_SITES= http://www.research.att.com/sw/tools/graphviz/dist/
DISTNAME= gviz${PORTVERSION:S/.//g}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
@ -19,8 +18,6 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
freetype.7:${PORTSDIR}/print/freetype2 \
tk83.1:${PORTSDIR}/x11-toolkits/tk83
WRKSRC= ${WRKDIR}/gv${PORTVERSION}
USE_XPM= yes
USE_GMAKE= yes
USE_AUTOMAKE= yes
@ -39,14 +36,13 @@ MAN3= agraph.3 cdt.3 expr.3 graph.3 pathplan.3
MANN= gdtclft.n tcldgl.n tcldgr.n tcldot.n tkspline.n
PORTDOCS= dotguide.pdf dottyguide.pdf gd.html leftyguide.pdf \
neatoguide.pdf tcldot.html Dot.ref
neatoguide.pdf tcldot.html Dot.ref FAQ.html
post-patch:
@cd ${WRKSRC} && aclocal && autoheader && libtoolize --force
post-extract:
@${RM} ${WRKSRC}/cdt/ast_common.h
pre-build:
@cd ${WRKSRC}/cdt && ./iffe - set cc ${CC} ${CFLAGS} : run \
features/common > ast_common.h
#post-patch:
# @cd ${WRKSRC} && ${ACLOCAL} && ${AUTOHEADER} && libtoolize --force
post-install:
.if !defined(NOPORTDOCS)

View File

@ -1 +1 @@
MD5 (gviz176.tgz) = 10fc46667bc7402a19e503568d922953
MD5 (graphviz-1.7.7.tgz) = e04a6031b34d07ebceacc6ccb0745eb5

View File

@ -0,0 +1,24 @@
--- configure.in.orig Fri Jul 13 19:50:41 2001
+++ configure.in Wed Nov 7 16:50:08 2001
@@ -97,7 +97,9 @@
# Some systems don't have Tcl. Don't build
# the Tcl products if we don't have the library.
-TCLCONFIG=${TCLSH_EXEC_PREFIX}/lib/tclConfig.sh
+if test -z $TCLCONFIG; then
+ TCLCONFIG=${TCLSH_EXEC_PREFIX}/lib/tclConfig.sh
+fi
if test -f $TCLCONFIG; then
AC_MSG_RESULT([using $TCLCONFIG])
file=${TCLCONFIG}
@@ -173,7 +175,9 @@
# Some systems have Tcl, but not TK. Don't build
# the Tk products if we don't have the library.
-TKCONFIG=${WISH_EXEC_PREFIX}/lib/tkConfig.sh
+if test -z $TKCONFIG; then
+ TKCONFIG=${WISH_EXEC_PREFIX}/lib/tkConfig.sh
+fi
if test -f $TKCONFIG; then
AC_MSG_RESULT([using $TKCONFIG])
file=${TKCONFIG}

View File

@ -0,0 +1,19 @@
--- fdp/adjust.c.orig Wed May 3 22:28:23 2000
+++ fdp/adjust.c Wed Nov 7 17:46:43 2001
@@ -1,5 +1,7 @@
/* adjust.c
*/
+#include <math.h>
+#include <assert.h>
#include "adjust.h"
#include "grid.h"
#include "structs.h"
@@ -7,8 +9,6 @@
#include "options.h"
#include "component.h"
#include "macros.h"
-#include <math.h>
-#include <assert.h>
static void
doRep (fdp_data* p, fdp_data* q, double xdelta, double ydelta, double dist2)

View File

@ -0,0 +1,14 @@
--- gd/gdcache.h.orig Mon Apr 24 03:04:01 2000
+++ gd/gdcache.h Thu Nov 8 17:08:56 2001
@@ -40,7 +40,11 @@
/* header */
/*********************************************************/
+#ifndef __STDC__
#include <malloc.h>
+#else
+#include <stdlib.h>
+#endif
#ifndef NULL
#define NULL (void *)0
#endif

View File

@ -0,0 +1,14 @@
--- gd/gdhelpers.c.orig Thu Jun 7 23:13:52 2001
+++ gd/gdhelpers.c Thu Nov 8 17:10:18 2001
@@ -1,9 +1,9 @@
#include "gd.h"
#include "gdhelpers.h"
#include <stdlib.h>
-#ifndef _OSD_POSIX /* _OSD_POSIX defines *alloc() in stdlib.h */
+#ifndef __STDC__
#include <malloc.h>
-#endif /*_OSD_POSIX*/
+#endif
/* TBB: gd_strtok_r is not portable; provide an implementation */

View File

@ -0,0 +1,11 @@
--- incr/callback.c.orig Tue May 30 21:19:18 2000
+++ incr/callback.c Wed Nov 7 17:48:02 2001
@@ -1,7 +1,7 @@
/* Common callback management for incremental layout engines. */
-#include <engine.h>
#include <math.h>
+#include <engine.h>
static ilbool do_node_cb(engview_t *view, Agraph_t *set, ILevf_t fn)
{

View File

@ -0,0 +1,9 @@
--- incr/edgeclip.c.orig Fri Nov 10 04:23:25 2000
+++ incr/edgeclip.c Wed Nov 7 17:48:55 2001
@@ -1,5 +1,5 @@
-#include <engine.h>
#include <math.h>
+#include <engine.h>
#define EPSILON (.005)
static int seg_size(ilcurve_t *curve)

View File

@ -0,0 +1,13 @@
--- incr/routem.c.orig Tue Apr 18 05:55:32 2000
+++ incr/routem.c Wed Nov 7 17:49:35 2001
@@ -1,8 +1,8 @@
+#include <stdio.h> /* temporary for debugging */
+#include <math.h>
#include <engine.h>
#include <pathplan.h>
#include <vispath.h>
-#include <stdio.h> /* temporary for debugging */
-#include <math.h>
typedef struct {
Ppoly_t **list;

View File

@ -0,0 +1,12 @@
--- pathplan/route.c.orig Sun Oct 15 11:13:58 2000
+++ pathplan/route.c Thu Nov 8 17:12:41 2001
@@ -11,7 +11,9 @@
#include <stdlib.h>
#include <stdio.h>
+#ifndef __STDC__
#include <malloc.h>
+#endif
#include <math.h>
#include "pathplan.h"
#include "solvers.h"

View File

@ -0,0 +1,12 @@
--- pathplan/shortest.c.orig Tue Apr 18 05:56:48 2000
+++ pathplan/shortest.c Thu Nov 8 17:13:03 2001
@@ -11,7 +11,9 @@
#include <stdlib.h>
#include <stdio.h>
+#ifndef __STDC__
#include <malloc.h>
+#endif
#include <limits.h>
#include <math.h>
#include "pathplan.h"

View File

@ -0,0 +1,12 @@
--- tools/sfio/sfhdr.h.orig Thu Apr 26 21:17:42 2001
+++ tools/sfio/sfhdr.h Wed Nov 7 17:58:52 2001
@@ -230,7 +230,9 @@
#endif
#if _hdr_values
+#ifndef __STDC__
#include <values.h>
+#endif
#if !defined(SF_MAXDOUBLE) && defined(MAXDOUBLE)
#define SF_MAXDOUBLE MAXDOUBLE
#endif

View File

@ -0,0 +1,13 @@
--- tools/vmalloc/malloc.c.orig Thu Apr 26 20:59:21 2001
+++ tools/vmalloc/malloc.c Thu Nov 8 17:14:01 2001
@@ -345,7 +345,9 @@
#define malloc ______malloc
#define realloc ______realloc
-#include <malloc.h>
+#ifndef __STDC__
+#include <malloc.h>
+#endif
#if _lib_mallopt
#if __STD_C

View File

@ -106,12 +106,13 @@ lib/graphviz/libtcldgr.so
lib/graphviz/libtcldgr.so.0
lib/graphviz/libtcldot.so
lib/graphviz/libtcldot.so.0
lib/graphviz/libtclpathplan.so
lib/graphviz/libtclpathplan.so.0
lib/graphviz/libtclplan.so
lib/graphviz/libtclplan.so.0
lib/graphviz/libtkspline.so
lib/graphviz/libtkspline.so.0
lib/graphviz/pkgIndex.tcl
%%PORTDOCS%%share/doc/graphviz/Dot.ref
%%PORTDOCS%%share/doc/graphviz/FAQ.html
%%PORTDOCS%%share/doc/graphviz/dotguide.pdf
%%PORTDOCS%%share/doc/graphviz/dottyguide.pdf
%%PORTDOCS%%share/doc/graphviz/gd.html