[SCM] Debian packaging of libyaml-libyaml-perl branch, master, updated. debian/0.38-1-4-g0b14c18

Julián Moreno Patiñ?==?UTF-8?Q?o darkjunix at gmail.com
Tue Feb 28 08:20:41 UTC 2012


The following commit has been merged in the master branch:
commit 0b14c1846d07c1a153a6793f12971a06d1df4fcf
Author: Julián Moreno Patiño <darkjunix at gmail.com>
Date:   Tue Feb 28 03:20:11 2012 -0500

    Add fix_ftbfs_hardening_flags.diff patch

diff --git a/debian/patches/fix_ftbfs_hardening_flags.diff b/debian/patches/fix_ftbfs_hardening_flags.diff
new file mode 100644
index 0000000..cf7a787
--- /dev/null
+++ b/debian/patches/fix_ftbfs_hardening_flags.diff
@@ -0,0 +1,42 @@
+Description: Fix ftbfs with hardening flags
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=75365
+Author: Julián Moreno Patiño <darkjunix at gmail.com>
+Last-Update: 2012-02-28
+--- a/LibYAML/perl_libyaml.c
++++ b/LibYAML/perl_libyaml.c
+@@ -188,7 +188,7 @@
+     return;
+ 
+ load_error:
+-    croak(loader_error_msg(&loader, NULL));
++    croak("%s", loader_error_msg(&loader, NULL));
+ }
+ 
+ /*
+@@ -271,7 +271,7 @@
+     return return_sv;
+ 
+     load_error:
+-        croak(loader_error_msg(loader, NULL));
++        croak("%s", loader_error_msg(loader, NULL));
+ }
+ 
+ /*
+@@ -313,7 +313,7 @@
+         }
+         else if (strlen(tag) <= strlen(prefix) ||
+             ! strnEQ(tag, prefix, strlen(prefix))
+-        ) croak(
++        ) croak("%s",
+             loader_error_msg(loader, form("bad tag found for hash: '%s'", tag))
+         );
+         class = tag + strlen(prefix);
+@@ -346,7 +346,7 @@
+             prefix = "!";
+         else if (strlen(tag) <= strlen(prefix) ||
+             ! strnEQ(tag, prefix, strlen(prefix))
+-        ) croak(
++        ) croak("%s",
+             loader_error_msg(loader, form("bad tag found for array: '%s'", tag))
+         );
+         class = tag + strlen(prefix);
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..929f2b9
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix_ftbfs_hardening_flags.diff

-- 
Debian packaging of libyaml-libyaml-perl



More information about the Pkg-perl-cvs-commits mailing list