Bug 16127

Summary: fix port: sysutils/upsmon - csocket.cc does not compile under -current due to a type-conflict (int vs. socklen_t)
Product: Ports & Packages Reporter: ab <irgendwer>
Component: Individual Port(s)Assignee: Ade Lovett <ade>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description ab 2000-01-14 21:10:01 UTC
	csocket.cc doesn't build due to type conflict

Fix: rather simple: just patch csocket.h to use 'socklen_t' instead of 'int'
How-To-Repeat: 
    try to build the port ;)
Comment 1 ade 2000-01-17 17:10:35 UTC
On Fri, Jan 14, 2000 at 09:04:41PM -0000, ab@cage.tse-online.de wrote:
> 
> >Number:         16127
> >Category:       ports
> >Synopsis:       fix port: sysutils/upsmon - csocket.cc does not compile under -current due to a type-conflict (int vs. socklen_t)
>
> [snip]

This patch seems to gratuitously break compilations for anything
other than 4.x, which doesn't use socklen_t

Please see:

http://www.FreeBSD.org/handbook/porting.html#PORTING-VERSIONS

for details on how to differentiate between OS versions and
follow up here with a modified patch.

-aDe

-- 
Ade Lovett, Austin, TX.
Comment 2 Ade Lovett freebsd_committer freebsd_triage 2000-01-17 17:46:20 UTC
Responsible Changed
From-To: freebsd-ports->ade

I'll deal with this. 
Comment 3 Ade Lovett freebsd_committer freebsd_triage 2000-04-19 23:18:33 UTC
State Changed
From-To: open->closed

Timeout (3 months) waiting for a correct fix.