Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Mar 2000 02:09:32 +0100 (CET)
From:      Juergen Lock <nox@jelal.kn-bremen.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/17296: net/openh323 port broken (for -stable at least...)
Message-ID:  <200003100109.CAA64413@saturn.kn-bremen.de>

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

>Number:         17296
>Category:       ports
>Synopsis:       net/openh323 port broken (for -stable at least...)
>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:   Thu Mar  9 18:10:02 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Juergen Lock
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
me?  organized??
>Environment:

	3.4-STABLE i386

>Description:

	port doesn't built, for some reason its makefile doesn't
	get the OSTYPE from uname -s correctly, and the socklen_t
	typedef it does for everything < 4.x conflicts with whats
	now also in the -stable headers.

>How-To-Repeat:

	just try to build it on a fairly recent -stable box

>Fix:

Index: Makefile
@@ -22,6 +22,7 @@
 USE_BISON=	yes
 USE_GMAKE=      yes
 ALL_TARGET=	opt
+MAKE_ARGS+=	OSTYPE=FreeBSD
 MAKE_ENV=	PWLIBDIR=${WRKDIR}/pwlib \
 		OPENH323DIR=${WRKDIR}/openh323
 do-install:
Index: patches/patch-socklen
@@ -0,0 +1,10 @@
+Index: ../pwlib/include/ptlib/unix/ptlib/pmachdep.h
+@@ -127,7 +127,7 @@
+ 
+ /* socklen_t is defined in FreeBSD 4.0 and above in sys/socket.h */
+ #if (P_FREEBSD < 4)
+-typedef int socklen_t;
++typedef unsigned int socklen_t;
+ #endif
+ 
+ #define HAS_IFREQ

>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?200003100109.CAA64413>