summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2012-06-08 18:05:45 +0000
committerTorsten Veller <tove@gentoo.org>2012-06-08 18:05:45 +0000
commit582f732cded4a84a558dec81019744ace82268ff (patch)
tree22bf603b95dc1fad926cb220a47bffd35c001870 /dev-perl/Date-Pcalc/files
parentMarking pidgin-otr-3.2.1 ppc for bug 416263 (diff)
downloadgentoo-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/files')
-rw-r--r--dev-perl/Date-Pcalc/files/6.100.0_identifier_before_numeric_constant.patch16
1 files changed, 16 insertions, 0 deletions
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
+