Skip Menu |

This queue is for tickets about the Time-Piece CPAN distribution.

Report information
The Basics
Id: 59184
Status: resolved
Priority: 0/
Queue: Time-Piece

People
Owner: Nobody in particular
Requestors: Daphne.Pfister [...] genband.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.20
Fixed in: (no value)



Subject: Patch to fix missing alloca for HPUX.
Time::Piece fails to include the proper header file for alloca support under HPUX. Fix is to add "|| defined(__hpux)" to the condition to include the alloca.h header. diff -U3 -r Time-Piece-1.20/Piece.xs Time-Piece-1.20-5SdShC/Piece.xs --- Time-Piece-1.20/Piece.xs 2010-03-02 09:57:35.000000000 -0500 +++ Time-Piece-1.20-patch/Piece.xs 2010-07-07 20:38:55.000000000 - 0400 @@ -314,7 +314,7 @@ #define alloca _alloca #endif #else -#if defined(_SGIAPI) || defined( __sgi ) || ( defined (__SVR4) && defined (__sun) ) +#if defined(_SGIAPI) || defined( __sgi ) || ( defined (__SVR4) && defined (__sun) ) || defined(__hpux) /* required for IRIX and Solaris */ #include <alloca.h> #endif
I believe this has been fixed in subsequent releases in bleadperl and will be fixed in the next release to CPAN. -- rjbs