Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Nov 2002 13:49:38 +0300 (MSK)
From:      Maxim Maximov <mcsi@agava.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/44992: fix build of net/cryptcat
Message-ID:  <200211061049.gA6AncOc059545@ultra.domain>

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

>Number:         44992
>Category:       ports
>Synopsis:       fix build of net/cryptcat
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 06 02:50:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Maxim Maximov
>Release:        FreeBSD 4.7-RC i386
>Organization:
>Environment:
System: FreeBSD ultra.domain 4.7-RC FreeBSD 4.7-RC #9: Fri Oct 4 12:38:44 MSD 2002 mcsi@ultra.domain:/usr/obj/usr/src/sys/ULTRA i386


	
>Description:
fix build of net/cryptcat
	
>How-To-Repeat:
	
>Fix:

--- netcat.c.orig	Wed Nov  6 13:42:04 2002
+++ netcat.c	Wed Nov  6 13:47:27 2002
@@ -45,9 +45,6 @@
 #else
 #include <malloc.h>
 #endif
-#ifdef HAVE_SELECT_H		/* random SV variants need this */
-#include <sys/select.h>
-#endif
 
 /* have to do this *before* including types.h. xxx: Linux still has it wrong */
 #ifdef FD_SETSIZE		/* should be in types.h, butcha never know. */
@@ -55,6 +52,12 @@
 #endif				/* fd's, something is horribly wrong! */
 #define FD_SETSIZE 16		/* <-- this'll give us a long anyways, wtf */
 #include <sys/types.h>		/* *now* do it.  Sigh, this is broken */
+#ifdef __FreeBSD__
+#include <inttypes.h>
+#endif
+#ifdef HAVE_SELECT_H		/* random SV variants need this */
+#include <sys/select.h>
+#endif
 
 #ifdef HAVE_RANDOM		/* aficionados of ?rand48() should realize */
 #define SRAND srandom		/* that this doesn't need *strong* random */
	


>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?200211061049.gA6AncOc059545>