[SCM] Debian packaging of libdate-pcalc-perl branch, master, updated. da850a96155e9744296e5f21716d2ecd57669eea
Dominic Hargreaves
dom at earth.li
Sat Mar 30 18:55:25 UTC 2013
The following commit has been merged in the master branch:
commit da850a96155e9744296e5f21716d2ecd57669eea
Author: Dominic Hargreaves <dom at earth.li>
Date: Sat Mar 30 18:51:17 2013 +0000
Add patch from ANDK fixing FTBFS with Perl 5.16 (Closes: #676270)
diff --git a/debian/changelog b/debian/changelog
index 4b067f2..dc73e82 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,9 @@ libdate-pcalc-perl (6.1-2) UNRELEASED; urgency=low
* Change Vcs-Git to canonical URI (git://anonscm.debian.org)
* Change search.cpan.org based URIs to metacpan.org based URIs
+ [ Dominic Hargreaves ]
+ * Add patch from ANDK fixing FTBFS with Perl 5.16 (Closes: #676270)
+
-- gregor herrmann <gregoa at debian.org> Wed, 28 Jul 2010 14:32:26 -0400
libdate-pcalc-perl (6.1-1) unstable; urgency=low
diff --git a/debian/control b/debian/control
index 9e30a6b..7048640 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,8 @@ Uploaders: Ivan Kohler <ivan-debian at 420.am>,
Xavier Oswald <xoswald at debian.org>,
gregor herrmann <gregoa at debian.org>,
Ignace Mouzannar <mouzannar at gmail.com>,
- Angel Abad <angel at debian.org>
+ Angel Abad <angel at debian.org>,
+ Dominic Hargreaves <dom at earth.li>
Section: perl
Priority: optional
Build-Depends: debhelper (>= 7.0.50),
diff --git a/debian/patches/15-fix-5.16-ftbfs.diff b/debian/patches/15-fix-5.16-ftbfs.diff
new file mode 100644
index 0000000..bcb7afa
--- /dev/null
+++ b/debian/patches/15-fix-5.16-ftbfs.diff
@@ -0,0 +1,24 @@
+From: ANDK at cpan.org
+Subject: The infamous boolean subtelty needed for perl 5.16
+
+It has been predicted that D:C:XS would be affected but I did not read
+it. The following patch works:
+
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=76442
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676270
+Origin: https://rt.cpan.org/Public/Bug/Display.html?id=76425
+
+--- a/src/C_XS/ToolBox.h 2009-10-16 23:47:55.000000000 +0200
++++ b/src/C_XS/ToolBox.h 2012-04-09 14:27:56.116897462 +0200
+@@ -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
+
diff --git a/debian/patches/series b/debian/patches/series
index 822d9c3..c25321a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
10-examples.diff
+15-fix-5.16-ftbfs.diff
--
Debian packaging of libdate-pcalc-perl
More information about the Pkg-perl-cvs-commits
mailing list