1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

o Update to 1.10.

o Upgrade dependency on tcl/tk to 8.4.

PR:		ports-jp/14620
Submitted by:	Hiroyuki Une <harrier@seiryu.cim.hkg.ac.jp>
This commit is contained in:
Norikatsu Shigemura 2004-04-19 04:54:43 +00:00
parent 3391fbd275
commit 7276c1bf60
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=107521
3 changed files with 5 additions and 25 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= nam
PORTVERSION= 1.0a9
PORTVERSION= 1.10
CATEGORIES= net
MASTER_SITES= http://www.isi.edu/nsnam/dist/
DISTNAME= nam-src-${PORTVERSION}
@ -15,14 +15,14 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= The UCB/LBNL Network Animator
BUILD_DEPENDS= ${LOCALBASE}/lib/libtclcl.a:${PORTSDIR}/devel/tclcl
LIB_DEPENDS= tcl83.1:${PORTSDIR}/lang/tcl83
LIB_DEPENDS= tcl84.1:${PORTSDIR}/lang/tcl84
MAN1= nam.1
MANCOMPRESSED= no
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-tcl-ver=8.3 --with-tk-ver=8.3
CONFIGURE_ARGS= --with-tcl-ver=8.4 --with-tk-ver=8.4
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
ALL_TARGET= # empty

View File

@ -1,2 +1,2 @@
MD5 (nam-src-1.0a9.tar.gz) = 8c8f7c35896be7a272cb43d75e651ef0
SIZE (nam-src-1.0a9.tar.gz) = 4242823
MD5 (nam-src-1.10.tar.gz) = 35efe4a43f1cc3dd03fb744c5603fc58
SIZE (nam-src-1.10.tar.gz) = 4324890

View File

@ -1,20 +0,0 @@
--- nam_stream.cc.orig Thu Oct 3 11:32:39 2002
+++ nam_stream.cc Thu Oct 3 11:33:21 2002
@@ -23,7 +23,7 @@
#ifdef WIN32
#include <limits.h>
#else
-#include <values.h>
+#include <limits.h>
#endif
#include <assert.h>
@@ -429,7 +429,7 @@
switch(whence) {
case SEEK_SET: lim = offset; break;
case SEEK_CUR: lim = tell() + offset; break;
- case SEEK_END: lim = MAXLONG; break; // XXX: MAXINT may not be max(off_t)
+ case SEEK_END: lim = LONG_MAX; break; // XXX: MAXINT may not be max(off_t)
}
insure_backing(lim);
if (0 == fseek(back_, offset, whence))