diff options
author | Torsten Veller <tove@gentoo.org> | 2012-06-08 18:05:45 +0000 |
---|---|---|
committer | Torsten Veller <tove@gentoo.org> | 2012-06-08 18:05:45 +0000 |
commit | 582f732cded4a84a558dec81019744ace82268ff (patch) | |
tree | 22bf603b95dc1fad926cb220a47bffd35c001870 /dev-perl/Date-Pcalc | |
parent | Marking pidgin-otr-3.2.1 ppc for bug 416263 (diff) | |
download | gentoo-2-582f732cded4a84a558dec81019744ace82268ff.tar.gz gentoo-2-582f732cded4a84a558dec81019744ace82268ff.tar.bz2 gentoo-2-582f732cded4a84a558dec81019744ace82268ff.zip |
Fix perl-5.16 build bug (#420177)
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
Diffstat (limited to 'dev-perl/Date-Pcalc')
-rw-r--r-- | dev-perl/Date-Pcalc/ChangeLog | 9 | ||||
-rw-r--r-- | dev-perl/Date-Pcalc/Date-Pcalc-6.100.0.ebuild | 5 | ||||
-rw-r--r-- | dev-perl/Date-Pcalc/files/6.100.0_identifier_before_numeric_constant.patch | 16 |
3 files changed, 26 insertions, 4 deletions
diff --git a/dev-perl/Date-Pcalc/ChangeLog b/dev-perl/Date-Pcalc/ChangeLog index e9153747c0c0..c68cd636ef8b 100644 --- a/dev-perl/Date-Pcalc/ChangeLog +++ b/dev-perl/Date-Pcalc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-perl/Date-Pcalc -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/Date-Pcalc/ChangeLog,v 1.19 2011/09/04 11:20:48 tove Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/Date-Pcalc/ChangeLog,v 1.20 2012/06/08 18:05:45 tove Exp $ + + 08 Jun 2012; Torsten Veller <tove@gentoo.org> + +files/6.100.0_identifier_before_numeric_constant.patch, + Date-Pcalc-6.100.0.ebuild: + Fix perl-5.16 build bug (#420177) 04 Sep 2011; Torsten Veller <tove@gentoo.org> -Date-Pcalc-6.1.ebuild: Cleanup diff --git a/dev-perl/Date-Pcalc/Date-Pcalc-6.100.0.ebuild b/dev-perl/Date-Pcalc/Date-Pcalc-6.100.0.ebuild index eefb6c2612f9..0a3465996b85 100644 --- a/dev-perl/Date-Pcalc/Date-Pcalc-6.100.0.ebuild +++ b/dev-perl/Date-Pcalc/Date-Pcalc-6.100.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/Date-Pcalc/Date-Pcalc-6.100.0.ebuild,v 1.2 2011/09/03 21:04:29 tove Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-perl/Date-Pcalc/Date-Pcalc-6.100.0.ebuild,v 1.3 2012/06/08 18:05:45 tove Exp $ EAPI=4 @@ -20,3 +20,4 @@ RDEPEND="${DEPEND}" SRC_TEST="do" mydoc="ToDo" +PATCHES=( "${FILESDIR}"/6.100.0_identifier_before_numeric_constant.patch ) diff --git a/dev-perl/Date-Pcalc/files/6.100.0_identifier_before_numeric_constant.patch b/dev-perl/Date-Pcalc/files/6.100.0_identifier_before_numeric_constant.patch new file mode 100644 index 000000000000..e475ea25c2cc --- /dev/null +++ b/dev-perl/Date-Pcalc/files/6.100.0_identifier_before_numeric_constant.patch @@ -0,0 +1,16 @@ +Bug: https://rt.cpan.org/Public/Bug/Display.html?id=76442 +Gentoo-Bug: https://bugs.gentoo.org/420177 +--- a/src/C_XS/ToolBox.h ++++ b/src/C_XS/ToolBox.h +@@ -93,7 +93,10 @@ + #elif PERL_DARWIN + #define boolean bool + #else +- typedef enum { false = FALSE, true = TRUE } boolean; ++ typedef int boolean; ++ #ifndef I_STDBOOL ++ enum { false, true }; ++ #endif + #endif + #endif + |