| 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: |
|
||||||
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. Responsible Changed From-To: freebsd-ports->ade I'll deal with this. State Changed From-To: open->closed Timeout (3 months) waiting for a correct fix. |
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 ;)