Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Oct 2001 10:26:48 +1000 (EST)
From:      Edwin Groothuis <edwin@mavetju.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        brian@CSUA.Berkeley.EDU
Subject:   ports/31227: ports/plib doesn't compile after upgrade to 1.4.2
Message-ID:  <20011012002648.49F32228@k7.mavetju.org>

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

>Number:         31227
>Category:       ports
>Synopsis:       ports/plib doesn't compile after upgrade to 1.4.2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 11 17:30:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 4.4-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju.org 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Thu Oct 4 08:49:05 EST 2001 edwin@k7.mavetju.org:/usr/src/sys/compile/k7 i386

# $FreeBSD: ports/x11-toolkits/plib/Makefile,v 1.12 2001/10/10 02:10:58 ijliao Exp $

>Description:

This ports doesn't compile, it complains about INADDR_BROADCAST et
al being unknown.

>How-To-Repeat:

On a 4.4 system, cd /usr/ports/x11-toolkits/plib and make

>Fix:

For the time being, add this file to /usr/ports/x11-toolkits/plib/files.
Action should be undertaken by Brian Buchanan <brian@CSUA.Berkeley.EDU>
to add it to the "original" distribution of plib.

--- src/net/netSocket.cxx.orig  Fri Oct 12 10:12:08 2001
+++ src/net/netSocket.cxx       Fri Oct 12 10:10:41 2001
@@ -46,6 +46,7 @@
 
 /* Paul Wiltsey says we need this for Solaris 2.8 */

+#include <netinet/in.h>
 #ifndef INADDR_NONE
 #define INADDR_NONE ((unsigned long)-1)
 #endif

>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?20011012002648.49F32228>