Skip Menu |

This queue is for tickets about the Apache-DB CPAN distribution.

Report information
The Basics
Id: 60458
Status: resolved
Priority: 0/
Queue: Apache-DB

Owner: Nobody in particular
Requestors: ANSGAR [...]

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

Subject: [PATCH] Fix build failure on GNU/Hurd
Date: Wed, 18 Aug 2010 17:52:38 +0900
To: bug-Apache-DB [...]
From: Ansgar Burchardt <ANSGAR [...]>
Download (untitled) / with headers
text/plain 153b
Hi, the attached patch was introduced in Debian to fix a build failure on GNU/Hurd. Please consider applying it for the next release. Regards, Ansgar
Download hurd.patch
text/x-diff 974b
From: Ansgar Burchardt <> Date: Wed, 18 Aug 2010 17:43:32 +0900 Origin: vendor Subject: Fix FTBFS on GNU/Hurd Building Apache-DB on GNU/Hurd fails[1]: DB.xs: In function 'XS_DB_ApacheSIGINT': DB.xs:60: error: too many arguments to function 'ApacheSIGINT' In /usr/lib/perl/5.10/CORE/iperlsys.h, Sighandler_t is defined to take three arguments only when HAS_SIGACTION and SA_SIGINFO are defined. This patch adds these conditions to DB.xs as well. [1] <> --- libapache-db-perl.orig/DB.xs +++ libapache-db-perl/DB.xs @@ -56,7 +56,7 @@ ApacheSIGINT(...) CODE: -#if ((PERL_REVISION == 5) && (PERL_VERSION >= 10)) +#if ((PERL_REVISION == 5) && (PERL_VERSION >= 10)) && defined(HAS_SIGACTION) && defined(SA_SIGINFO) if (ApacheSIGINT) (*ApacheSIGINT)(SIGINT, NULL, NULL); #else if (ApacheSIGINT) (*ApacheSIGINT)(SIGINT);

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to