[libtext-bibtex-perl] 06/07: 0007-hardening-flags.patch: drop upstream's -D_FORTIFY_SOURCE=1
gregor herrmann
gregoa at debian.org
Fri Jun 20 16:36:21 UTC 2014
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libtext-bibtex-perl.
commit 4f3d43a2b63666d6439424410bcdc098039f2c02
Author: gregor herrmann <gregoa at debian.org>
Date: Fri Jun 20 18:19:57 2014 +0200
0007-hardening-flags.patch: drop upstream's -D_FORTIFY_SOURCE=1
which conflicts with Debian's -D_FORTIFY_SOURCE=2, and probably is a debug
attempt (cf. CPAN RT#80458).
---
debian/patches/0007-hardening-flags.patch | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/debian/patches/0007-hardening-flags.patch b/debian/patches/0007-hardening-flags.patch
index fad44ea..934df80 100644
--- a/debian/patches/0007-hardening-flags.patch
+++ b/debian/patches/0007-hardening-flags.patch
@@ -6,6 +6,15 @@ Last-Update: 2012-12-12
--- a/inc/MyBuilder.pm
+++ b/inc/MyBuilder.pm
+@@ -169,7 +169,7 @@ sub ACTION_create_objects {
+ $object =~ s/\.c/.o/;
+ next if $self->up_to_date($file, $object);
+ $cbuilder->compile(object_file => $object,
+- extra_compiler_flags=>["-D_FORTIFY_SOURCE=1"],
++# extra_compiler_flags=>["-D_FORTIFY_SOURCE=1"],
+ source => $file,
+ include_dirs => ["btparse/src"]);
+ }
@@ -328,7 +328,7 @@ sub ACTION_create_library {
if ($^O =~ /darwin/) {
$extra_linker_flags = "-install_name $libpath";
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libtext-bibtex-perl.git
More information about the Pkg-perl-cvs-commits
mailing list