Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Feb 1999 08:55:35 -0800 (PST)
From:      mharo@area51.fremont.ca.us
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/10205: cnet port
Message-ID:  <199902221655.IAA91975@area51.fremont.ca.us>

next in thread | raw e-mail | index | archive | help

>Number:         10205
>Category:       ports
>Synopsis:       cnet port
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 22 09:00:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Michael Haro
>Release:        FreeBSD 3.1-STABLE i386
>Organization:
>Environment:

	

>Description:

Seeing that the cnet port was out of date, I updated it.  I'm not sure if
it works because I don't know what it does.  However, it does compile.

>How-To-Repeat:

	

>Fix:
	
Index: Makefile
===================================================================
RCS file: /host/trang.nuxi.com/FBSD/CVS-repository/ports/net/cnet/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile	1998/11/29 22:27:20	1.6
+++ Makefile	1999/02/13 10:19:13
@@ -6,8 +6,8 @@
 # $Id: Makefile,v 1.6 1998/11/29 22:27:20 asami Exp $
 #
 
-DISTNAME=	cnet-1.4-3
-PKGNAME=	cnet-1.4p3
+DISTNAME=	cnet-1.4-4
+PKGNAME=	cnet-1.4p4
 CATEGORIES=	net
 MASTER_SITES=	http://www.cs.uwa.edu.au/pls/cnet/
 
Index: files/md5
===================================================================
RCS file: /host/trang.nuxi.com/FBSD/CVS-repository/ports/net/cnet/files/md5,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 md5
--- md5	1998/02/08 20:02:50	1.1.1.1
+++ md5	1999/02/13 10:20:18
@@ -1 +1 @@
-MD5 (cnet-1.4-3.tar.gz) = 2037adef9bbeb83b0c7f6792cdba5847
+MD5 (cnet-1.4-4.tar.gz) = 939ad439acd8db17bf056616b607c53e
Index: patches/patch-aa
===================================================================
RCS file: /host/trang.nuxi.com/FBSD/CVS-repository/ports/net/cnet/patches/patch-aa,v
retrieving revision 1.2
diff -u -r1.2 patch-aa
--- patch-aa	1998/08/24 02:48:29	1.2
+++ patch-aa	1999/02/13 10:31:31
@@ -40,38 +40,6 @@
  
  
  address.o:	$(ALLH) address.c
-diff -ur src/compile.c src/compile.c
---- src/compile.c	Sun Jan 26 03:42:23 1997
-+++ src/compile.c	Sun Feb  8 06:52:49 1998
-@@ -2,6 +2,7 @@
- 
- #include <fcntl.h>
- #include <sys/stat.h>
-+#include <dlfcn.h>
- 
- #if	!defined(MAXPATHLEN)
- #define	MAXPATHLEN	1024
-@@ -25,6 +26,9 @@
- #elif	defined(USE_IRIX5)
- #include "irix5/compile.c"
- 
-+#elif	defined(USE_FREEBSD)
-+#include "freebsd/compile.c"
-+
- #elif	defined(USE_LINUXAOUT)
- #include "linuxaout/compile.c"
- 
-@@ -483,6 +485,10 @@
- {
- 
- #define	RECIEVE		"[Rr][Ee][Cc][IiEe][Ee][Vv]"
-+
-+#if	defined(USE_FREEBSD)
-+#include	<unistd.h>
-+#endif
- 
- #if	defined(SVR4) || defined(__svr4__)
- #include <regexpr.h>
 diff -ur src/config.h src/config.h
 --- src/config.h	Fri Aug  1 02:42:00 1997
 +++ src/config.h	Sun Feb  8 07:05:25 1998
Index: patches/patch-ab
===================================================================
RCS file: /host/trang.nuxi.com/FBSD/CVS-repository/ports/net/cnet/patches/patch-ab,v
retrieving revision 1.1
diff -u -r1.1 patch-ab
--- patch-ab	1998/08/24 02:48:29	1.1
+++ patch-ab	1999/02/13 10:24:12
@@ -11,12 +11,3 @@
  #elif	defined(USE_SOLARIS2)
  #define	NDATASEGS		1
  #define	LENDATA_EVER_0		FALSE
-@@ -196,7 +200,7 @@
-     int			nlinks;
-     int			*links;
- 
--    int			errno;
-+    int			errorno;
-     CnetError		cnet_errno;
- 
-     unsigned long	length_data[NDATASEGS];
cvs diff: patches/patch-ac was removed, no comparison available
cvs diff: patches/patch-ad is a new entry, no comparison available
patch-ad:
--- src/compile.c.orig	Sun Jan 26 03:42:23 1997
+++ src/compile.c	Sat Feb 13 02:29:14 1999
@@ -2,6 +2,7 @@
 
 #include <fcntl.h>
 #include <sys/stat.h>
+#include <dlfcn.h>
 
 #if	!defined(MAXPATHLEN)
 #define	MAXPATHLEN	1024
@@ -25,6 +26,9 @@
 #elif	defined(USE_IRIX5)
 #include "irix5/compile.c"
 
+#elif	defined(USE_FREEBSD)
+#include "freebsd/compile.c"
+
 #elif	defined(USE_LINUXAOUT)
 #include "linuxaout/compile.c"
 
@@ -263,7 +267,6 @@
 			int kflag; char **Cflags, *o_file, *c_file;
 {
     extern int	fork			_PARAMS((void));
-    extern int	execvp			_PARAMS((const char *, char **));
 
     struct stat	stat_c, stat_o;
 
@@ -483,6 +486,10 @@
 {
 
 #define	RECIEVE		"[Rr][Ee][Cc][IiEe][Ee][Vv]"
+
+#if	defined(USE_FREEBSD)
+#include	<unistd.h>
+#endif
 
 #if	defined(SVR4) || defined(__svr4__)
 #include <regexpr.h>

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902221655.IAA91975>