Skip Menu |

This queue is for tickets about the KeyedMutex CPAN distribution.

Report information
The Basics
Id: 110058
Status: new
Priority: 0/
Queue: KeyedMutex

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.06
Fixed in: (no value)



Subject: Does not compile on FreeBSD systems
While compiling on FreeBSD 9.2 or 10.1 systems I see errors like: keyedmutexd/keyedmutexd.c:328:6: error: incomplete definition of type 'struct sockaddr_in' sin.sin_family = AF_INET; ~~~^
On 2015-12-04 01:35:17, SREZIC wrote: Show quoted text
> While compiling on FreeBSD 9.2 or 10.1 systems I see errors like: > > keyedmutexd/keyedmutexd.c:328:6: error: incomplete definition of type > 'struct sockaddr_in' > sin.sin_family = AF_INET; > ~~~^
When applying the patch foind in then compilation and "make test" succeeds: http://cpan.cpantesters.org/authors/id/S/SR/SREZIC/patches/KeyedMutex-0.06-RT110058.patch Note that I did not check if the change should be #ifdef'd for FreeBSD (or generally *BSD) systems, or can be applied everywhere.