This is an automated email from the git hooks/post-receive script. gregoa pushed a commit to branch master in repository libnet-ssleay-perl.
commit d7af70d9ac817e46376975e537f955c7dc350be9 Author: gregor herrmann <gre...@debian.org> Date: Sat May 10 20:43:28 2014 +0200 Add patch to fix build failure on most architectures. Adds format argument to croak() call, otherwise the build fails with -Werror=format-security. --- debian/patches/error-format-security.patch | 26 ++++++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 27 insertions(+) diff --git a/debian/patches/error-format-security.patch b/debian/patches/error-format-security.patch new file mode 100644 index 0000000..88ad1ad --- /dev/null +++ b/debian/patches/error-format-security.patch @@ -0,0 +1,26 @@ +Description: fix build-failure on most Debian architectures: + SSLeay.xs: In function 'XS_Net__SSLeay_OCSP_response_results': + SSLeay.xs:5602:3: error: format not a string literal and no format arguments + [-Werror=format-security] + croak(error); + ^ + cc1: some warnings being treated as errors + . + Cf. https://buildd.debian.org/status/logs.php?pkg=libnet-ssleay-perl&ver=1.59-1 +Origin: vendor +Bug: https://rt.cpan.org/Ticket/Display.html?id=95527 +Forwarded: https://rt.cpan.org/Ticket/Display.html?id=95527 +Author: gregor herrmann <gre...@debian.org> +Last-Update: 2014-05-10 + +--- a/SSLeay.xs ++++ b/SSLeay.xs +@@ -5599,7 +5599,7 @@ + if (certid) OCSP_CERTID_free(certid); + if (error && !want_array) { + OCSP_BASICRESP_free(bsr); +- croak(error); ++ croak("%s", error); + } + } + if (!want_array) diff --git a/debian/patches/series b/debian/patches/series index e5b32f8..d21ceb6 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ 20no-stray-libz-link.patch spelling.patch +error-format-security.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libnet-ssleay-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits