[libdata-swap-perl] 01/02: Add patch to fix build failures with -Werror=format-security.
gregor herrmann
gregoa at debian.org
Sat Dec 28 17:31:18 UTC 2013
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libdata-swap-perl.
commit a39912ce1baa21e71f7bce426d0a9ee56fc3f93e
Author: gregor herrmann <gregoa at debian.org>
Date: Sat Dec 28 18:28:10 2013 +0100
Add patch to fix build failures with -Werror=format-security.
---
debian/patches/series | 1 +
debian/patches/werror-forat-security.patch | 18 ++++++++++++++++++
2 files changed, 19 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6c5a743
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+werror-forat-security.patch
diff --git a/debian/patches/werror-forat-security.patch b/debian/patches/werror-forat-security.patch
new file mode 100644
index 0000000..4c11696
--- /dev/null
+++ b/debian/patches/werror-forat-security.patch
@@ -0,0 +1,18 @@
+Description: add formatting string to fix failures with -Werror=format-security
+Origin: vendor
+Bug: https://rt.cpan.org/Ticket/Display.html?id=91708
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=91708
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2013-12-28
+
+--- a/Swap.xs
++++ b/Swap.xs
+@@ -219,7 +219,7 @@
+ Perl_croak(aTHX_ "Not a reference");
+ if ((SvREADONLY(r1) && SvIMMORTAL(r1))
+ || (SvREADONLY(r2) && SvIMMORTAL(r2)))
+- Perl_croak(aTHX_ PL_no_modify);
++ Perl_croak(aTHX_ "%s", PL_no_modify);
+ br = NULL;
+ br = sv_move(aTHX_ &t, r1, br);
+ br = sv_move(aTHX_ r1, r2, br);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdata-swap-perl.git
More information about the Pkg-perl-cvs-commits
mailing list