aboutsummaryrefslogtreecommitdiff
path: root/net/cnet
diff options
context:
space:
mode:
authorAndrej Zverev <az@FreeBSD.org>2005-12-14 08:37:11 +0000
committerAndrej Zverev <az@FreeBSD.org>2005-12-14 08:37:11 +0000
commitc4a175beeff59029331e6a0e090c2beefb715fc2 (patch)
tree454f784f15ecf2efcef1432a9f05b95e31fdc5bd /net/cnet
parent7083867c7835b1499e6bb6db56d402f843b71799 (diff)
downloadports-c4a175beeff59029331e6a0e090c2beefb715fc2.tar.gz
ports-c4a175beeff59029331e6a0e090c2beefb715fc2.zip
Notes
Diffstat (limited to 'net/cnet')
-rw-r--r--net/cnet/Makefile5
-rw-r--r--net/cnet/distinfo6
-rw-r--r--net/cnet/files/patch-src_compile_freebsd.c11
-rw-r--r--net/cnet/files/patch-src_parser.c28
4 files changed, 5 insertions, 45 deletions
diff --git a/net/cnet/Makefile b/net/cnet/Makefile
index 45465bc509dd..87d708ff765c 100644
--- a/net/cnet/Makefile
+++ b/net/cnet/Makefile
@@ -7,17 +7,16 @@
PORTNAME= cnet
PORTVERSION= 2.0.9
+PORTREVISION= 1
CATEGORIES= net tcl84 tk84
MASTER_SITES= http://www.csse.uwa.edu.au/cnet/
EXTRACT_SUFX= .tgz
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= itetcu@people.tecnik93.com
COMMENT= A networking simulator
LIB_DEPENDS= tk84.1:${PORTSDIR}/x11-toolkits/tk84
-BROKEN= Size mismatch
-
USE_REINPLACE= yes
USE_XPM= yes
USE_GMAKE= yes
diff --git a/net/cnet/distinfo b/net/cnet/distinfo
index b6bb35ecf6ed..7b2c38c5920a 100644
--- a/net/cnet/distinfo
+++ b/net/cnet/distinfo
@@ -1,3 +1,3 @@
-MD5 (cnet-2.0.9.tgz) = 593b63c809773a284bc3d655dc609298
-SHA256 (cnet-2.0.9.tgz) = e7895a09a04cf02f694ff9f4a272a3e9bb1d4723a6c0a8415b0d03442e4f6c76
-SIZE (cnet-2.0.9.tgz) = 1165028
+MD5 (cnet-2.0.9.tgz) = 4c346b3b3d22ebf7b8d6fb2a247cfcc1
+SHA256 (cnet-2.0.9.tgz) = 6e50398cef2c444858325a7a53d87b941f0072e5ed67d1dfff0aa5c40287494a
+SIZE (cnet-2.0.9.tgz) = 1165016
diff --git a/net/cnet/files/patch-src_compile_freebsd.c b/net/cnet/files/patch-src_compile_freebsd.c
deleted file mode 100644
index efe1a472f22e..000000000000
--- a/net/cnet/files/patch-src_compile_freebsd.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/compile/freebsd.c.orig Wed May 12 18:13:45 2004
-+++ src/compile/freebsd.c Sun Jun 12 20:05:45 2005
-@@ -84,7 +84,7 @@
- cp = (CACHE *)malloc(sizeof(CACHE));
- cp->so_filenm = strdup(so_filenm);
- cp->length_data = (nls[1].n_value - nls[0].n_value);
-- cp->incore_data = (char *)((long)dlsym(handle,"end") - cp->length_data);
-+ cp->incore_data = (char *)((long)dlsym(handle,"_end") - cp->length_data);
- cp->original_data = (char *)malloc(cp->length_data);
- memcpy(cp->original_data, cp->incore_data, cp->length_data);
- cp->next = chd;
diff --git a/net/cnet/files/patch-src_parser.c b/net/cnet/files/patch-src_parser.c
deleted file mode 100644
index 4d9902558111..000000000000
--- a/net/cnet/files/patch-src_parser.c
+++ /dev/null
@@ -1,28 +0,0 @@
---- src/parser.c.orig Wed May 12 18:13:44 2004
-+++ src/parser.c Sun Jun 12 17:04:02 2005
-@@ -26,6 +26,8 @@
- 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
-
-+extern void init_reboot_args(NODEATTR *na, int argc, char **argv);
-+
- #define expect(t,msg) if(token == t) gettoken(); \
- else compile_error("%s expected\n", msg)
-
-@@ -224,8 +226,6 @@
- check_string(&(na->outputfile));
- break;
- case T_ATTR_NODE_REBOOTARGS : {
-- extern void init_reboot_args(NODEATTR *na, int argc, char **argv);
--
- int argc;
- char **argv;
- char *str, *s, *t, ch;
-@@ -420,7 +420,6 @@
- static int node_defn(CnetNodetype nodetype)
- {
- extern int add_node(CnetNodetype, char *, int, int *);
-- extern void init_reboot_args(int n, int argc, char **argv);
-
- int thisnode, wasnew;
-