diff options
author | obache <obache@pkgsrc.org> | 2012-10-16 13:21:31 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2012-10-16 13:21:31 +0000 |
commit | 78b55ef3f3ec04c011758036162ee717b299c392 (patch) | |
tree | 5bc901d68d03b8be088cdc4f54acce47e8342f5e /lang | |
parent | 6b5c66084c33f284b5a0313d2a5ddbcb762a5ec4 (diff) | |
download | pkgsrc-78b55ef3f3ec04c011758036162ee717b299c392.tar.gz |
Add a patch for Haiku OS (missing LOG_PRIMASK).
taken from CPAN Sys-Syslog-0.30.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/perl5/distinfo | 3 | ||||
-rw-r--r-- | lang/perl5/patches/patch-cpan_Sys-Syslog_Syslog.xs | 18 |
2 files changed, 20 insertions, 1 deletions
diff --git a/lang/perl5/distinfo b/lang/perl5/distinfo index f5eb89c5495..caac53e0abf 100644 --- a/lang/perl5/distinfo +++ b/lang/perl5/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.86 2012/10/03 19:59:47 adam Exp $ +$NetBSD: distinfo,v 1.87 2012/10/16 13:21:31 obache Exp $ SHA1 (perl-5.16.1.tar.gz) = 60f2b81e3ffaff3030962ccbc02cd04f91f69ad5 RMD160 (perl-5.16.1.tar.gz) = c1e69440727c773d5f012e735e77bf3d6a6fa342 @@ -13,6 +13,7 @@ SHA1 (patch-ch) = 5b6a89c82e158bab0a5f06add48c28e600678099 SHA1 (patch-ck) = 5c381db130cdf4c315678e2d65380eaaa3065fee SHA1 (patch-cn) = d1877383e213a414562b5bb4c1e8aa785926fab7 SHA1 (patch-cp) = 0b22d334df24d128142855464bf6dd61d4d82975 +SHA1 (patch-cpan_Sys-Syslog_Syslog.xs) = 4413010d0b55a0ae636bca8ff3ace2ebc99e90ba SHA1 (patch-hints_solaris_2.sh) = 26f804234c07da04ebd6c33ce7ad54d94c746f1e SHA1 (patch-ta) = 51a3e02148e78eaab882125f859e59add39a4fbe SHA1 (patch-zd) = 469602bc04b217f2d9929f5caeab43f77a74076f diff --git a/lang/perl5/patches/patch-cpan_Sys-Syslog_Syslog.xs b/lang/perl5/patches/patch-cpan_Sys-Syslog_Syslog.xs new file mode 100644 index 00000000000..41b8dbe859e --- /dev/null +++ b/lang/perl5/patches/patch-cpan_Sys-Syslog_Syslog.xs @@ -0,0 +1,18 @@ +$NetBSD: patch-cpan_Sys-Syslog_Syslog.xs,v 1.1 2012/10/16 13:21:31 obache Exp $ + +CPAN-RT#77577: Build on Haiku-OS + https://rt.cpan.org/Public/Bug/Display.html?id=77577 + +--- cpan/Sys-Syslog/Syslog.xs.orig 2012-04-25 00:18:32.000000000 +0000 ++++ cpan/Sys-Syslog/Syslog.xs +@@ -39,6 +39,10 @@ static SV *ident_svptr; + #define LOG_FAC(p) (((p) & LOG_FACMASK) >> 3) + #endif + ++#ifndef LOG_PRIMASK ++#define LOG_PRIMASK 0x07 ++#endif ++ + #ifndef LOG_PRI + #define LOG_PRI(p) ((p) & LOG_PRIMASK) + #endif |