diff options
author | 2006-03-29 14:18:09 +0000 | |
---|---|---|
committer | 2006-03-29 14:18:09 +0000 | |
commit | 0ee374bcc1a256344a63cc79d4cca5331ac72008 (patch) | |
tree | c4e890c1093233aecd04a1cb9e2bde884b11aad6 /sys-devel/libperl/files | |
parent | Mark 2.2.3-r1 ~ia64 (diff) | |
download | gentoo-2-0ee374bcc1a256344a63cc79d4cca5331ac72008.tar.gz gentoo-2-0ee374bcc1a256344a63cc79d4cca5331ac72008.tar.bz2 gentoo-2-0ee374bcc1a256344a63cc79d4cca5331ac72008.zip |
Patch 27203 in blead - fixes c++ problems in XS code :)
(Portage version: 2.1_pre6-r6)
Diffstat (limited to 'sys-devel/libperl/files')
-rw-r--r-- | sys-devel/libperl/files/digest-libperl-5.8.8-r1 | 3 | ||||
-rw-r--r-- | sys-devel/libperl/files/libperl-5.8.8-cplusplus.patch | 22 |
2 files changed, 25 insertions, 0 deletions
diff --git a/sys-devel/libperl/files/digest-libperl-5.8.8-r1 b/sys-devel/libperl/files/digest-libperl-5.8.8-r1 new file mode 100644 index 000000000000..0f545078831e --- /dev/null +++ b/sys-devel/libperl/files/digest-libperl-5.8.8-r1 @@ -0,0 +1,3 @@ +MD5 a377c0c67ab43fd96eeec29ce19e8382 perl-5.8.8.tar.bz2 10123359 +RMD160 e78f26d9b96e6db35f946ad4ff55e3a69385c71b perl-5.8.8.tar.bz2 10123359 +SHA256 818a140d9c04ea8dab3a05104b34ced7f7d9d0a91bfed91baf89a84d0dfb1bc9 perl-5.8.8.tar.bz2 10123359 diff --git a/sys-devel/libperl/files/libperl-5.8.8-cplusplus.patch b/sys-devel/libperl/files/libperl-5.8.8-cplusplus.patch new file mode 100644 index 000000000000..064bda422dd9 --- /dev/null +++ b/sys-devel/libperl/files/libperl-5.8.8-cplusplus.patch @@ -0,0 +1,22 @@ +--- perl.h.orig 2006-03-29 08:53:46.000000000 -0500 ++++ perl.h 2006-03-29 08:54:19.000000000 -0500 +@@ -159,7 +159,7 @@ struct perl_thread; + #endif + + #ifndef PERL_UNUSED_DECL +-# ifdef HASATTRIBUTE_UNUSED ++# if defined(HASATTRIBUTE_UNUSED) && !defined(__cplusplus) + # define PERL_UNUSED_DECL __attribute__unused__ + # else + # define PERL_UNUSED_DECL +--- XSUB.h.orig 2006-03-29 08:54:24.000000000 -0500 ++++ XSUB.h 2006-03-29 08:54:48.000000000 -0500 +@@ -91,7 +91,7 @@ handled automatically by C<xsubpp>. + #if defined(__CYGWIN__) && defined(USE_DYNAMIC_LOADING) + # define XS(name) __declspec(dllexport) void name(pTHX_ CV* cv) + #else +-# ifdef HASATTRIBUTE_UNUSED ++# if defined(HASATTRIBUTE_UNUSED) && !defined(__cplusplus) + # define XS(name) void name(pTHX_ CV* cv __attribute__unused__) + # else + # define XS(name) void name(pTHX_ CV* cv) |