Skip Menu |

This queue is for tickets about the Socket CPAN distribution.

Report information
The Basics
Id: 106797
Status: resolved
Priority: 0/
Queue: Socket

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

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



Subject: [PATCH] amigaos4: cpan/Socket: needs INET_ADDRSTRLEN
Yes, AmigaOS is alive. Patch attached.
Subject: 0001-amigaos4-cpan-Socket-needs-INET_ADDRSTRLEN.patch
From 5bd803ac882b92a09ce9e84f795ddcc7a4454e40 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi <jhi@iki.fi> Date: Thu, 13 Aug 2015 21:13:29 -0400 Subject: [PATCH] amigaos4: cpan/Socket: needs INET_ADDRSTRLEN --- cpan/Socket/Socket.xs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cpan/Socket/Socket.xs b/cpan/Socket/Socket.xs index 50a0f31..5f60afa 100644 --- a/cpan/Socket/Socket.xs +++ b/cpan/Socket/Socket.xs @@ -133,6 +133,10 @@ NETINET_DEFINE_CONTEXT # define INADDR_LOOPBACK 0x7F000001 #endif /* INADDR_LOOPBACK */ +#ifndef INET_ADDRSTRLEN +#define INET_ADDRSTRLEN 16 +#endif + #ifndef C_ARRAY_LENGTH #define C_ARRAY_LENGTH(arr) (sizeof(arr) / sizeof(*(arr))) #endif /* !C_ARRAY_LENGTH */ -- 2.5.0
On Mon Aug 31 19:02:39 2015, JHI wrote: Show quoted text
> Yes, AmigaOS is alive. Patch attached.
Thanks. Applied. -- Paul Evans
Fixed in 2.021 -- Paul Evans